naftiko: 1.0.0-alpha2 info: label: Telefono Number Formatting API — Format description: 'Telefono Number Formatting API — Format. 1 operations. Lead operation: Format Phone Number. Self-contained Naftiko capability covering one Telefono business surface.' tags: - Telefono - Format created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELEFONO_API_KEY: TELEFONO_API_KEY capability: consumes: - type: http namespace: format-format baseUri: https://api.telefono.com/v1 description: Telefono Number Formatting API — Format business capability. Self-contained, no shared references. resources: - name: format path: /format operations: - name: formatphonenumber method: GET description: Format Phone Number outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: number in: query type: string description: Phone number to format (any format) required: true - name: country_code in: query type: string description: ISO 3166-1 alpha-2 country code hint for local numbers - name: output_format in: query type: string description: Desired output format authentication: type: apikey key: X-API-Key value: '{{env.TELEFONO_API_KEY}}' placement: header exposes: - type: rest namespace: format-format-rest port: 8080 description: REST adapter for Telefono Number Formatting API — Format. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/format name: format description: REST surface for format. operations: - method: GET name: formatphonenumber description: Format Phone Number call: format-format.formatphonenumber with: number: rest.number country_code: rest.country_code output_format: rest.output_format outputParameters: - type: object mapping: $. - type: mcp namespace: format-format-mcp port: 9090 transport: http description: MCP adapter for Telefono Number Formatting API — Format. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: format-phone-number description: Format Phone Number hints: readOnly: true destructive: false idempotent: true call: format-format.formatphonenumber with: number: tools.number country_code: tools.country_code output_format: tools.output_format outputParameters: - type: object mapping: $.