PagerDuty · Capability

PagerDuty API — On-Calls

PagerDuty API — On-Calls. 1 operations. Lead operation: PagerDuty List all of the on-calls. Self-contained Naftiko capability covering one Pagerduty business surface.

Run with Naftiko PagerdutyOn-Calls

What You Can Do

GET
Listoncalls — PagerDuty List all of the on-calls
/v1/oncalls

MCP Tools

pagerduty-list-all-calls

PagerDuty List all of the on-calls

read-only idempotent

Capability Spec

pagerduty-on-calls.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PagerDuty API — On-Calls
  description: 'PagerDuty API — On-Calls. 1 operations. Lead operation: PagerDuty List all of the on-calls. Self-contained
    Naftiko capability covering one Pagerduty business surface.'
  tags:
  - Pagerduty
  - On-Calls
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PAGERDUTY_API_KEY: PAGERDUTY_API_KEY
capability:
  consumes:
  - type: http
    namespace: pagerduty-on-calls
    baseUri: https://api.pagerduty.com
    description: PagerDuty API — On-Calls business capability. Self-contained, no shared references.
    resources:
    - name: oncalls
      path: /oncalls
      operations:
      - name: listoncalls
        method: GET
        description: PagerDuty List all of the on-calls
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.PAGERDUTY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: pagerduty-on-calls-rest
    port: 8080
    description: REST adapter for PagerDuty API — On-Calls. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/oncalls
      name: oncalls
      description: REST surface for oncalls.
      operations:
      - method: GET
        name: listoncalls
        description: PagerDuty List all of the on-calls
        call: pagerduty-on-calls.listoncalls
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pagerduty-on-calls-mcp
    port: 9090
    transport: http
    description: MCP adapter for PagerDuty API — On-Calls. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: pagerduty-list-all-calls
      description: PagerDuty List all of the on-calls
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pagerduty-on-calls.listoncalls
      outputParameters:
      - type: object
        mapping: $.