naftiko: 1.0.0-alpha2 info: label: Phrase Strings API Reference — Accounts description: 'Phrase Strings API Reference — Accounts. 2 operations. Lead operation: List accounts. Self-contained Naftiko capability covering one Phrase business surface.' tags: - Phrase - Accounts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PHRASE_API_KEY: PHRASE_API_KEY capability: consumes: - type: http namespace: strings-accounts baseUri: https://api.phrase.com/v2 description: Phrase Strings API Reference — Accounts business capability. Self-contained, no shared references. resources: - name: accounts path: /accounts operations: - name: accountslist method: GET description: List accounts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accounts-id path: /accounts/{id} operations: - name: accountshow method: GET description: Get a single account outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.PHRASE_API_KEY}}' placement: header exposes: - type: rest namespace: strings-accounts-rest port: 8080 description: REST adapter for Phrase Strings API Reference — Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts name: accounts description: REST surface for accounts. operations: - method: GET name: accountslist description: List accounts call: strings-accounts.accountslist outputParameters: - type: object mapping: $. - path: /v1/accounts/{id} name: accounts-id description: REST surface for accounts-id. operations: - method: GET name: accountshow description: Get a single account call: strings-accounts.accountshow outputParameters: - type: object mapping: $. - type: mcp namespace: strings-accounts-mcp port: 9090 transport: http description: MCP adapter for Phrase Strings API Reference — Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-accounts description: List accounts hints: readOnly: true destructive: false idempotent: true call: strings-accounts.accountslist outputParameters: - type: object mapping: $. - name: get-single-account description: Get a single account hints: readOnly: true destructive: false idempotent: true call: strings-accounts.accountshow outputParameters: - type: object mapping: $.