naftiko: 1.0.0-alpha2 info: label: Phrase Strings API Reference — Glossaries description: 'Phrase Strings API Reference — Glossaries. 5 operations. Lead operation: List term bases. Self-contained Naftiko capability covering one Phrase business surface.' tags: - Phrase - Glossaries created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PHRASE_API_KEY: PHRASE_API_KEY capability: consumes: - type: http namespace: strings-glossaries baseUri: https://api.phrase.com/v2 description: Phrase Strings API Reference — Glossaries business capability. Self-contained, no shared references. resources: - name: accounts-account_id-glossaries path: /accounts/{account_id}/glossaries operations: - name: glossarieslist method: GET description: List term bases outputRawFormat: json outputParameters: - name: result type: object value: $. - name: glossarycreate method: POST description: Create a term base outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: accounts-account_id-glossaries-id path: /accounts/{account_id}/glossaries/{id} operations: - name: glossaryshow method: GET description: Get a single term base outputRawFormat: json outputParameters: - name: result type: object value: $. - name: glossaryupdate method: PATCH description: Update a term base outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: glossarydelete method: DELETE description: Delete a term base 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-glossaries-rest port: 8080 description: REST adapter for Phrase Strings API Reference — Glossaries. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/{account-id}/glossaries name: accounts-account-id-glossaries description: REST surface for accounts-account_id-glossaries. operations: - method: GET name: glossarieslist description: List term bases call: strings-glossaries.glossarieslist outputParameters: - type: object mapping: $. - method: POST name: glossarycreate description: Create a term base call: strings-glossaries.glossarycreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/glossaries/{id} name: accounts-account-id-glossaries-id description: REST surface for accounts-account_id-glossaries-id. operations: - method: GET name: glossaryshow description: Get a single term base call: strings-glossaries.glossaryshow outputParameters: - type: object mapping: $. - method: PATCH name: glossaryupdate description: Update a term base call: strings-glossaries.glossaryupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: glossarydelete description: Delete a term base call: strings-glossaries.glossarydelete outputParameters: - type: object mapping: $. - type: mcp namespace: strings-glossaries-mcp port: 9090 transport: http description: MCP adapter for Phrase Strings API Reference — Glossaries. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-term-bases description: List term bases hints: readOnly: true destructive: false idempotent: true call: strings-glossaries.glossarieslist outputParameters: - type: object mapping: $. - name: create-term-base description: Create a term base hints: readOnly: false destructive: false idempotent: false call: strings-glossaries.glossarycreate with: body: tools.body outputParameters: - type: object mapping: $. - name: get-single-term-base description: Get a single term base hints: readOnly: true destructive: false idempotent: true call: strings-glossaries.glossaryshow outputParameters: - type: object mapping: $. - name: update-term-base description: Update a term base hints: readOnly: false destructive: false idempotent: true call: strings-glossaries.glossaryupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-term-base description: Delete a term base hints: readOnly: false destructive: true idempotent: true call: strings-glossaries.glossarydelete outputParameters: - type: object mapping: $.