Metronome · Capability

Metronome — Alerts

Metronome — Alerts. 5 operations. Lead operation: Archive a threshold notification. Self-contained Naftiko capability covering one Metronome business surface.

Run with Naftiko MetronomeAlerts

What You Can Do

POST
Archivealertv1 — Archive a threshold notification
/v1/v1/alerts/archive
POST
Createalertv1 — Create a threshold notification
/v1/v1/alerts/create
POST
Getcustomeralertv1 — Get a threshold notification
/v1/v1/customer-alerts/get
POST
Listcustomeralertsv1 — Get all threshold notifications
/v1/v1/customer-alerts/list
POST
Resetcustomeralertsv1 — Reset a threshold notification
/v1/v1/customer-alerts/reset

MCP Tools

archive-threshold-notification

Archive a threshold notification

create-threshold-notification

Create a threshold notification

get-threshold-notification

Get a threshold notification

read-only
get-all-threshold-notifications

Get all threshold notifications

read-only
reset-threshold-notification

Reset a threshold notification

Capability Spec

metronome-alerts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Metronome — Alerts
  description: 'Metronome — Alerts. 5 operations. Lead operation: Archive a threshold notification. Self-contained Naftiko
    capability covering one Metronome business surface.'
  tags:
  - Metronome
  - Alerts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    METRONOME_API_KEY: METRONOME_API_KEY
capability:
  consumes:
  - type: http
    namespace: metronome-alerts
    baseUri: https://api.metronome.com
    description: Metronome — Alerts business capability. Self-contained, no shared references.
    resources:
    - name: v1-alerts-archive
      path: /v1/alerts/archive
      operations:
      - name: archivealertv1
        method: POST
        description: Archive a threshold notification
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-alerts-create
      path: /v1/alerts/create
      operations:
      - name: createalertv1
        method: POST
        description: Create a threshold notification
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-customer-alerts-get
      path: /v1/customer-alerts/get
      operations:
      - name: getcustomeralertv1
        method: POST
        description: Get a threshold notification
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-customer-alerts-list
      path: /v1/customer-alerts/list
      operations:
      - name: listcustomeralertsv1
        method: POST
        description: Get all threshold notifications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-customer-alerts-reset
      path: /v1/customer-alerts/reset
      operations:
      - name: resetcustomeralertsv1
        method: POST
        description: Reset a threshold notification
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.METRONOME_API_KEY}}'
  exposes:
  - type: rest
    namespace: metronome-alerts-rest
    port: 8080
    description: REST adapter for Metronome — Alerts. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/v1/alerts/archive
      name: v1-alerts-archive
      description: REST surface for v1-alerts-archive.
      operations:
      - method: POST
        name: archivealertv1
        description: Archive a threshold notification
        call: metronome-alerts.archivealertv1
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/alerts/create
      name: v1-alerts-create
      description: REST surface for v1-alerts-create.
      operations:
      - method: POST
        name: createalertv1
        description: Create a threshold notification
        call: metronome-alerts.createalertv1
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/customer-alerts/get
      name: v1-customer-alerts-get
      description: REST surface for v1-customer-alerts-get.
      operations:
      - method: POST
        name: getcustomeralertv1
        description: Get a threshold notification
        call: metronome-alerts.getcustomeralertv1
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/customer-alerts/list
      name: v1-customer-alerts-list
      description: REST surface for v1-customer-alerts-list.
      operations:
      - method: POST
        name: listcustomeralertsv1
        description: Get all threshold notifications
        call: metronome-alerts.listcustomeralertsv1
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/customer-alerts/reset
      name: v1-customer-alerts-reset
      description: REST surface for v1-customer-alerts-reset.
      operations:
      - method: POST
        name: resetcustomeralertsv1
        description: Reset a threshold notification
        call: metronome-alerts.resetcustomeralertsv1
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: metronome-alerts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Metronome — Alerts. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: archive-threshold-notification
      description: Archive a threshold notification
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: metronome-alerts.archivealertv1
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-threshold-notification
      description: Create a threshold notification
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: metronome-alerts.createalertv1
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-threshold-notification
      description: Get a threshold notification
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: metronome-alerts.getcustomeralertv1
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-all-threshold-notifications
      description: Get all threshold notifications
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: metronome-alerts.listcustomeralertsv1
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: reset-threshold-notification
      description: Reset a threshold notification
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: metronome-alerts.resetcustomeralertsv1
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.