naftiko: 1.0.0-alpha2 info: label: PagerDuty API — Standards description: 'PagerDuty API — Standards. 4 operations. Lead operation: PagerDuty List Standards. Self-contained Naftiko capability covering one Pagerduty business surface.' tags: - Pagerduty - Standards created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PAGERDUTY_API_KEY: PAGERDUTY_API_KEY capability: consumes: - type: http namespace: pagerduty-standards baseUri: https://api.pagerduty.com description: PagerDuty API — Standards business capability. Self-contained, no shared references. resources: - name: standards path: /standards operations: - name: liststandards method: GET description: PagerDuty List Standards outputRawFormat: json outputParameters: - name: result type: object value: $. - name: standards-scores-resource_type path: /standards/scores/{resource_type} operations: - name: listresourcestandardsmanyservices method: GET description: PagerDuty List resources' standards scores outputRawFormat: json outputParameters: - name: result type: object value: $. - name: standards-scores-resource_type-id path: /standards/scores/{resource_type}/{id} operations: - name: listresourcestandards method: GET description: PagerDuty List a resource's standards scores outputRawFormat: json outputParameters: - name: result type: object value: $. - name: standards-id path: /standards/{id} operations: - name: updatestandard method: PUT description: PagerDuty Update a standard outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: Authorization value: '{{env.PAGERDUTY_API_KEY}}' placement: header exposes: - type: rest namespace: pagerduty-standards-rest port: 8080 description: REST adapter for PagerDuty API — Standards. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/standards name: standards description: REST surface for standards. operations: - method: GET name: liststandards description: PagerDuty List Standards call: pagerduty-standards.liststandards outputParameters: - type: object mapping: $. - path: /v1/standards/scores/{resource-type} name: standards-scores-resource-type description: REST surface for standards-scores-resource_type. operations: - method: GET name: listresourcestandardsmanyservices description: PagerDuty List resources' standards scores call: pagerduty-standards.listresourcestandardsmanyservices outputParameters: - type: object mapping: $. - path: /v1/standards/scores/{resource-type}/{id} name: standards-scores-resource-type-id description: REST surface for standards-scores-resource_type-id. operations: - method: GET name: listresourcestandards description: PagerDuty List a resource's standards scores call: pagerduty-standards.listresourcestandards outputParameters: - type: object mapping: $. - path: /v1/standards/{id} name: standards-id description: REST surface for standards-id. operations: - method: PUT name: updatestandard description: PagerDuty Update a standard call: pagerduty-standards.updatestandard with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: pagerduty-standards-mcp port: 9090 transport: http description: MCP adapter for PagerDuty API — Standards. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pagerduty-list-standards description: PagerDuty List Standards hints: readOnly: true destructive: false idempotent: true call: pagerduty-standards.liststandards outputParameters: - type: object mapping: $. - name: pagerduty-list-resources-standards-scores description: PagerDuty List resources' standards scores hints: readOnly: true destructive: false idempotent: true call: pagerduty-standards.listresourcestandardsmanyservices outputParameters: - type: object mapping: $. - name: pagerduty-list-resource-s-standards-scores description: PagerDuty List a resource's standards scores hints: readOnly: true destructive: false idempotent: true call: pagerduty-standards.listresourcestandards outputParameters: - type: object mapping: $. - name: pagerduty-update-standard description: PagerDuty Update a standard hints: readOnly: false destructive: false idempotent: true call: pagerduty-standards.updatestandard with: body: tools.body outputParameters: - type: object mapping: $.