New Relic · Capability

New Relic — Put

New Relic — Put. 9 operations. Lead operation: New Relic Put Alerts Conditions. Self-contained Naftiko capability covering one New Relic business surface.

Run with Naftiko New RelicPut

What You Can Do

PUT
Putalertsconditionsconditionid — New Relic Put Alerts Conditions
/v1/alerts-conditions/condition-id-json
PUT
Putalertsentityconditionsentityid — New Relic Put Alerts Entity Conditions Entity
/v1/alerts-entity-conditions/entity-id-json
PUT
Putalertsexternalserviceconditionsconditionid — New Relic Put Alerts External Service Conditions
/v1/alerts-external-service-conditions/condition-id-json
PUT
Putalertslocationfailureconditionsconditionid — New Relic Put Alerts Location Failure Conditions
/v1/alerts-location-failure-conditions/condition-id-json
PUT
Putalertsnrqlconditionsconditionid — New Relic Put Alerts Nrql Conditions
/v1/alerts-nrql-conditions/condition-id-json
PUT
Putalertspoliciespolicyid — New Relic Put Alerts Policies
/v1/alerts-policies/policy-id-json
PUT
Putalertspolicychannels — New Relic Put Alerts Policy Channels
/v1/alerts-policy-channels-json
PUT
Putalertssyntheticsconditionsconditionid — New Relic Put Alerts Synthetics Conditions
/v1/alerts-synthetics-conditions/condition-id-json
PUT
Putapplicationsid — New Relic Put Applications
/v1/applications/id-json

MCP Tools

new-relic-put-alerts-conditions

New Relic Put Alerts Conditions

idempotent
new-relic-put-alerts-entity

New Relic Put Alerts Entity Conditions Entity

idempotent
new-relic-put-alerts-external

New Relic Put Alerts External Service Conditions

idempotent
new-relic-put-alerts-location

New Relic Put Alerts Location Failure Conditions

idempotent
new-relic-put-alerts-nrql

New Relic Put Alerts Nrql Conditions

idempotent
new-relic-put-alerts-policies

New Relic Put Alerts Policies

idempotent
new-relic-put-alerts-policy

New Relic Put Alerts Policy Channels

idempotent
new-relic-put-alerts-synthetics

New Relic Put Alerts Synthetics Conditions

idempotent
new-relic-put-applications

New Relic Put Applications

idempotent

Capability Spec

new-relic-put.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: New Relic — Put
  description: 'New Relic — Put. 9 operations. Lead operation: New Relic Put Alerts Conditions. Self-contained Naftiko capability
    covering one New Relic business surface.'
  tags:
  - New Relic
  - Put
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NEW_RELIC_API_KEY: NEW_RELIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: new-relic-put
    baseUri: https://api.newrelic.com/v2
    description: New Relic — Put business capability. Self-contained, no shared references.
    resources:
    - name: alerts_conditions-condition_id}.json
      path: /alerts_conditions/{condition_id}.json
      operations:
      - name: putalertsconditionsconditionid
        method: PUT
        description: New Relic Put Alerts Conditions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: condition_id
          in: path
          type: integer
          description: Alerts condition to update
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: alerts_entity_conditions-entity_id}.json
      path: /alerts_entity_conditions/{entity_id}.json
      operations:
      - name: putalertsentityconditionsentityid
        method: PUT
        description: New Relic Put Alerts Entity Conditions Entity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: entity_id
          in: path
          type: integer
          description: Entity to add
          required: true
        - name: entity_type
          in: query
          type: string
          description: Entity Type
          required: true
        - name: condition_id
          in: query
          type: integer
          description: Alerts condition ID
          required: true
    - name: alerts_external_service_conditions-condition_id}.json
      path: /alerts_external_service_conditions/{condition_id}.json
      operations:
      - name: putalertsexternalserviceconditionsconditionid
        method: PUT
        description: New Relic Put Alerts External Service Conditions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: condition_id
          in: path
          type: integer
          description: Alerts condition to update
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: alerts_location_failure_conditions-condition_id}.json
      path: /alerts_location_failure_conditions/{condition_id}.json
      operations:
      - name: putalertslocationfailureconditionsconditionid
        method: PUT
        description: New Relic Put Alerts Location Failure Conditions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: condition_id
          in: path
          type: integer
          description: Alerts condition to update
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: alerts_nrql_conditions-condition_id}.json
      path: /alerts_nrql_conditions/{condition_id}.json
      operations:
      - name: putalertsnrqlconditionsconditionid
        method: PUT
        description: New Relic Put Alerts Nrql Conditions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: condition_id
          in: path
          type: integer
          description: Alerts condition to update
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: alerts_policies-policy_id}.json
      path: /alerts_policies/{policy_id}.json
      operations:
      - name: putalertspoliciespolicyid
        method: PUT
        description: New Relic Put Alerts Policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policy_id
          in: path
          type: integer
          description: Policy ID
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: alerts_policy_channels.json
      path: /alerts_policy_channels.json
      operations:
      - name: putalertspolicychannels
        method: PUT
        description: New Relic Put Alerts Policy Channels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policy_id
          in: query
          type: integer
          description: Policy ID
          required: true
        - name: channel_ids
          in: query
          type: array
          description: Channel IDs
          required: true
    - name: alerts_synthetics_conditions-condition_id}.json
      path: /alerts_synthetics_conditions/{condition_id}.json
      operations:
      - name: putalertssyntheticsconditionsconditionid
        method: PUT
        description: New Relic Put Alerts Synthetics Conditions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: condition_id
          in: path
          type: integer
          description: Alerts condition to update
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: applications-id}.json
      path: /applications/{id}.json
      operations:
      - name: putapplicationsid
        method: PUT
        description: New Relic Put Applications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Application ID
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Api-Key
      value: '{{env.NEW_RELIC_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: new-relic-put-rest
    port: 8080
    description: REST adapter for New Relic — Put. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/alerts-conditions/condition-id-json
      name: alerts-conditions-condition-id-json
      description: REST surface for alerts_conditions-condition_id}.json.
      operations:
      - method: PUT
        name: putalertsconditionsconditionid
        description: New Relic Put Alerts Conditions
        call: new-relic-put.putalertsconditionsconditionid
        with:
          condition_id: rest.condition_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-entity-conditions/entity-id-json
      name: alerts-entity-conditions-entity-id-json
      description: REST surface for alerts_entity_conditions-entity_id}.json.
      operations:
      - method: PUT
        name: putalertsentityconditionsentityid
        description: New Relic Put Alerts Entity Conditions Entity
        call: new-relic-put.putalertsentityconditionsentityid
        with:
          entity_id: rest.entity_id
          entity_type: rest.entity_type
          condition_id: rest.condition_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-external-service-conditions/condition-id-json
      name: alerts-external-service-conditions-condition-id-json
      description: REST surface for alerts_external_service_conditions-condition_id}.json.
      operations:
      - method: PUT
        name: putalertsexternalserviceconditionsconditionid
        description: New Relic Put Alerts External Service Conditions
        call: new-relic-put.putalertsexternalserviceconditionsconditionid
        with:
          condition_id: rest.condition_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-location-failure-conditions/condition-id-json
      name: alerts-location-failure-conditions-condition-id-json
      description: REST surface for alerts_location_failure_conditions-condition_id}.json.
      operations:
      - method: PUT
        name: putalertslocationfailureconditionsconditionid
        description: New Relic Put Alerts Location Failure Conditions
        call: new-relic-put.putalertslocationfailureconditionsconditionid
        with:
          condition_id: rest.condition_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-nrql-conditions/condition-id-json
      name: alerts-nrql-conditions-condition-id-json
      description: REST surface for alerts_nrql_conditions-condition_id}.json.
      operations:
      - method: PUT
        name: putalertsnrqlconditionsconditionid
        description: New Relic Put Alerts Nrql Conditions
        call: new-relic-put.putalertsnrqlconditionsconditionid
        with:
          condition_id: rest.condition_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-policies/policy-id-json
      name: alerts-policies-policy-id-json
      description: REST surface for alerts_policies-policy_id}.json.
      operations:
      - method: PUT
        name: putalertspoliciespolicyid
        description: New Relic Put Alerts Policies
        call: new-relic-put.putalertspoliciespolicyid
        with:
          policy_id: rest.policy_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-policy-channels-json
      name: alerts-policy-channels-json
      description: REST surface for alerts_policy_channels.json.
      operations:
      - method: PUT
        name: putalertspolicychannels
        description: New Relic Put Alerts Policy Channels
        call: new-relic-put.putalertspolicychannels
        with:
          policy_id: rest.policy_id
          channel_ids: rest.channel_ids
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/alerts-synthetics-conditions/condition-id-json
      name: alerts-synthetics-conditions-condition-id-json
      description: REST surface for alerts_synthetics_conditions-condition_id}.json.
      operations:
      - method: PUT
        name: putalertssyntheticsconditionsconditionid
        description: New Relic Put Alerts Synthetics Conditions
        call: new-relic-put.putalertssyntheticsconditionsconditionid
        with:
          condition_id: rest.condition_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/id-json
      name: applications-id-json
      description: REST surface for applications-id}.json.
      operations:
      - method: PUT
        name: putapplicationsid
        description: New Relic Put Applications
        call: new-relic-put.putapplicationsid
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: new-relic-put-mcp
    port: 9090
    transport: http
    description: MCP adapter for New Relic — Put. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: new-relic-put-alerts-conditions
      description: New Relic Put Alerts Conditions
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: new-relic-put.putalertsconditionsconditionid
      with:
        condition_id: tools.condition_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: new-relic-put-alerts-entity
      description: New Relic Put Alerts Entity Conditions Entity
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: new-relic-put.putalertsentityconditionsentityid
      with:
        entity_id: tools.entity_id
        entity_type: tools.entity_type
        condition_id: tools.condition_id
      outputParameters:
      - type: object
        mapping: $.
    - name: new-relic-put-alerts-external
      description: New Relic Put Alerts External Service Conditions
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: new-relic-put.putalertsexternalserviceconditionsconditionid
      with:
        condition_id: tools.condition_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: new-relic-put-alerts-location
      description: New Relic Put Alerts Location Failure Conditions
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: new-relic-put.putalertslocationfailureconditionsconditionid
      with:
        condition_id: tools.condition_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: new-relic-put-alerts-nrql
      description: New Relic Put Alerts Nrql Conditions
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: new-relic-put.putalertsnrqlconditionsconditionid
      with:
        condition_id: tools.condition_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: new-relic-put-alerts-policies
      description: New Relic Put Alerts Policies
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: new-relic-put.putalertspoliciespolicyid
      with:
        policy_id: tools.policy_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: new-relic-put-alerts-policy
      description: New Relic Put Alerts Policy Channels
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: new-relic-put.putalertspolicychannels
      with:
        policy_id: tools.policy_id
        channel_ids: tools.channel_ids
      outputParameters:
      - type: object
        mapping: $.
    - name: new-relic-put-alerts-synthetics
      description: New Relic Put Alerts Synthetics Conditions
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: new-relic-put.putalertssyntheticsconditionsconditionid
      with:
        condition_id: tools.condition_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: new-relic-put-applications
      description: New Relic Put Applications
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: new-relic-put.putapplicationsid
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.