naftiko: 1.0.0-alpha2 info: label: Postmark Server API — Inbound Rules API description: 'Postmark Server API — Inbound Rules API. 3 operations. Lead operation: Postmark Create an inbound rule trigger. Self-contained Naftiko capability covering one Postmark business surface.' tags: - Postmark - Inbound Rules API created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTMARK_API_KEY: POSTMARK_API_KEY capability: consumes: - type: http namespace: server-inbound-rules-api baseUri: https://api.postmarkapp.com description: Postmark Server API — Inbound Rules API business capability. Self-contained, no shared references. resources: - name: triggers-inboundrules path: /triggers/inboundrules operations: - name: createinboundrule method: POST description: Postmark Create an inbound rule trigger outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Postmark-Server-Token in: header type: string description: The token associated with the Server on which this request will operate. required: true - name: body in: body type: string - name: listinboundrules method: GET description: Postmark List inbound rule triggers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Postmark-Server-Token in: header type: string description: The token associated with the Server on which this request will operate. required: true - name: count in: query type: integer description: Number of records to return per request. required: true - name: offset in: query type: integer description: Number of records to skip. required: true - name: triggers-inboundrules-triggerid path: /triggers/inboundrules/{triggerid} operations: - name: deleteinboundrule method: DELETE description: Postmark Delete a single trigger outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-Postmark-Server-Token in: header type: string description: The token associated with the Server on which this request will operate. required: true - name: triggerid in: path type: integer description: The ID of the Inbound Rule that should be deleted. required: true exposes: - type: rest namespace: server-inbound-rules-api-rest port: 8080 description: REST adapter for Postmark Server API — Inbound Rules API. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/triggers/inboundrules name: triggers-inboundrules description: REST surface for triggers-inboundrules. operations: - method: POST name: createinboundrule description: Postmark Create an inbound rule trigger call: server-inbound-rules-api.createinboundrule with: X-Postmark-Server-Token: rest.X-Postmark-Server-Token body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listinboundrules description: Postmark List inbound rule triggers call: server-inbound-rules-api.listinboundrules with: X-Postmark-Server-Token: rest.X-Postmark-Server-Token count: rest.count offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/triggers/inboundrules/{triggerid} name: triggers-inboundrules-triggerid description: REST surface for triggers-inboundrules-triggerid. operations: - method: DELETE name: deleteinboundrule description: Postmark Delete a single trigger call: server-inbound-rules-api.deleteinboundrule with: X-Postmark-Server-Token: rest.X-Postmark-Server-Token triggerid: rest.triggerid outputParameters: - type: object mapping: $. - type: mcp namespace: server-inbound-rules-api-mcp port: 9090 transport: http description: MCP adapter for Postmark Server API — Inbound Rules API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: postmark-create-inbound-rule-trigger description: Postmark Create an inbound rule trigger hints: readOnly: false destructive: false idempotent: false call: server-inbound-rules-api.createinboundrule with: X-Postmark-Server-Token: tools.X-Postmark-Server-Token body: tools.body outputParameters: - type: object mapping: $. - name: postmark-list-inbound-rule-triggers description: Postmark List inbound rule triggers hints: readOnly: true destructive: false idempotent: true call: server-inbound-rules-api.listinboundrules with: X-Postmark-Server-Token: tools.X-Postmark-Server-Token count: tools.count offset: tools.offset outputParameters: - type: object mapping: $. - name: postmark-delete-single-trigger description: Postmark Delete a single trigger hints: readOnly: false destructive: true idempotent: true call: server-inbound-rules-api.deleteinboundrule with: X-Postmark-Server-Token: tools.X-Postmark-Server-Token triggerid: tools.triggerid outputParameters: - type: object mapping: $.