naftiko: 1.0.0-alpha2 info: label: PagerDuty API — Licenses description: 'PagerDuty API — Licenses. 2 operations. Lead operation: PagerDuty List License Allocations. Self-contained Naftiko capability covering one Pagerduty business surface.' tags: - Pagerduty - Licenses created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PAGERDUTY_API_KEY: PAGERDUTY_API_KEY capability: consumes: - type: http namespace: pagerduty-licenses baseUri: https://api.pagerduty.com description: PagerDuty API — Licenses business capability. Self-contained, no shared references. resources: - name: license_allocations path: /license_allocations operations: - name: listlicenseallocations method: GET description: PagerDuty List License Allocations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: licenses path: /licenses operations: - name: listlicenses method: GET description: PagerDuty List Licenses 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-licenses-rest port: 8080 description: REST adapter for PagerDuty API — Licenses. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/license-allocations name: license-allocations description: REST surface for license_allocations. operations: - method: GET name: listlicenseallocations description: PagerDuty List License Allocations call: pagerduty-licenses.listlicenseallocations outputParameters: - type: object mapping: $. - path: /v1/licenses name: licenses description: REST surface for licenses. operations: - method: GET name: listlicenses description: PagerDuty List Licenses call: pagerduty-licenses.listlicenses outputParameters: - type: object mapping: $. - type: mcp namespace: pagerduty-licenses-mcp port: 9090 transport: http description: MCP adapter for PagerDuty API — Licenses. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pagerduty-list-license-allocations description: PagerDuty List License Allocations hints: readOnly: true destructive: false idempotent: true call: pagerduty-licenses.listlicenseallocations outputParameters: - type: object mapping: $. - name: pagerduty-list-licenses description: PagerDuty List Licenses hints: readOnly: true destructive: false idempotent: true call: pagerduty-licenses.listlicenses outputParameters: - type: object mapping: $.