naftiko: 1.0.0-alpha2 info: label: Phrase Strings API Reference — Teams description: 'Phrase Strings API Reference — Teams. 11 operations. Lead operation: List Teams. Self-contained Naftiko capability covering one Phrase business surface.' tags: - Phrase - Teams created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PHRASE_API_KEY: PHRASE_API_KEY capability: consumes: - type: http namespace: strings-teams baseUri: https://api.phrase.com/v2 description: Phrase Strings API Reference — Teams business capability. Self-contained, no shared references. resources: - name: accounts-account_id-teams path: /accounts/{account_id}/teams operations: - name: teamslist method: GET description: List Teams outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teamcreate method: POST description: Create a Team 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-teams-id path: /accounts/{account_id}/teams/{id} operations: - name: teamshow method: GET description: Get Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teamupdate method: PATCH description: Update Team outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teamdelete method: DELETE description: Delete Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accounts-account_id-teams-team_id-projects path: /accounts/{account_id}/teams/{team_id}/projects operations: - name: teamsprojectscreate method: POST description: Add Project to Team 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-teams-team_id-projects-id path: /accounts/{account_id}/teams/{team_id}/projects/{id} operations: - name: teamsprojectsdelete method: DELETE description: Remove Project from Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accounts-account_id-teams-team_id-spaces path: /accounts/{account_id}/teams/{team_id}/spaces operations: - name: teamsspacescreate method: POST description: Add Space 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-teams-team_id-spaces-id path: /accounts/{account_id}/teams/{team_id}/spaces/{id} operations: - name: teamsspacesdelete method: DELETE description: Remove Space outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accounts-account_id-teams-team_id-users path: /accounts/{account_id}/teams/{team_id}/users operations: - name: teamsuserscreate method: POST description: Add User 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-teams-team_id-users-id path: /accounts/{account_id}/teams/{team_id}/users/{id} operations: - name: teamsusersdelete method: DELETE description: Remove User 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-teams-rest port: 8080 description: REST adapter for Phrase Strings API Reference — Teams. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/{account-id}/teams name: accounts-account-id-teams description: REST surface for accounts-account_id-teams. operations: - method: GET name: teamslist description: List Teams call: strings-teams.teamslist outputParameters: - type: object mapping: $. - method: POST name: teamcreate description: Create a Team call: strings-teams.teamcreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/teams/{id} name: accounts-account-id-teams-id description: REST surface for accounts-account_id-teams-id. operations: - method: GET name: teamshow description: Get Team call: strings-teams.teamshow outputParameters: - type: object mapping: $. - method: PATCH name: teamupdate description: Update Team call: strings-teams.teamupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: teamdelete description: Delete Team call: strings-teams.teamdelete outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/teams/{team-id}/projects name: accounts-account-id-teams-team-id-projects description: REST surface for accounts-account_id-teams-team_id-projects. operations: - method: POST name: teamsprojectscreate description: Add Project to Team call: strings-teams.teamsprojectscreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/teams/{team-id}/projects/{id} name: accounts-account-id-teams-team-id-projects-id description: REST surface for accounts-account_id-teams-team_id-projects-id. operations: - method: DELETE name: teamsprojectsdelete description: Remove Project from Team call: strings-teams.teamsprojectsdelete outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/teams/{team-id}/spaces name: accounts-account-id-teams-team-id-spaces description: REST surface for accounts-account_id-teams-team_id-spaces. operations: - method: POST name: teamsspacescreate description: Add Space call: strings-teams.teamsspacescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/teams/{team-id}/spaces/{id} name: accounts-account-id-teams-team-id-spaces-id description: REST surface for accounts-account_id-teams-team_id-spaces-id. operations: - method: DELETE name: teamsspacesdelete description: Remove Space call: strings-teams.teamsspacesdelete outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/teams/{team-id}/users name: accounts-account-id-teams-team-id-users description: REST surface for accounts-account_id-teams-team_id-users. operations: - method: POST name: teamsuserscreate description: Add User call: strings-teams.teamsuserscreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/{account-id}/teams/{team-id}/users/{id} name: accounts-account-id-teams-team-id-users-id description: REST surface for accounts-account_id-teams-team_id-users-id. operations: - method: DELETE name: teamsusersdelete description: Remove User call: strings-teams.teamsusersdelete outputParameters: - type: object mapping: $. - type: mcp namespace: strings-teams-mcp port: 9090 transport: http description: MCP adapter for Phrase Strings API Reference — Teams. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-teams description: List Teams hints: readOnly: true destructive: false idempotent: true call: strings-teams.teamslist outputParameters: - type: object mapping: $. - name: create-team description: Create a Team hints: readOnly: false destructive: false idempotent: false call: strings-teams.teamcreate with: body: tools.body outputParameters: - type: object mapping: $. - name: get-team description: Get Team hints: readOnly: true destructive: false idempotent: true call: strings-teams.teamshow outputParameters: - type: object mapping: $. - name: update-team description: Update Team hints: readOnly: false destructive: false idempotent: true call: strings-teams.teamupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-team description: Delete Team hints: readOnly: false destructive: true idempotent: true call: strings-teams.teamdelete outputParameters: - type: object mapping: $. - name: add-project-team description: Add Project to Team hints: readOnly: false destructive: false idempotent: false call: strings-teams.teamsprojectscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: remove-project-team description: Remove Project from Team hints: readOnly: false destructive: true idempotent: true call: strings-teams.teamsprojectsdelete outputParameters: - type: object mapping: $. - name: add-space description: Add Space hints: readOnly: false destructive: false idempotent: false call: strings-teams.teamsspacescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: remove-space description: Remove Space hints: readOnly: false destructive: true idempotent: true call: strings-teams.teamsspacesdelete outputParameters: - type: object mapping: $. - name: add-user description: Add User hints: readOnly: false destructive: false idempotent: false call: strings-teams.teamsuserscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: remove-user description: Remove User hints: readOnly: false destructive: true idempotent: true call: strings-teams.teamsusersdelete outputParameters: - type: object mapping: $.