naftiko: 1.0.0-alpha2 info: label: MessageBird Lookup API — HLR description: 'MessageBird Lookup API — HLR. 2 operations. Lead operation: Request an HLR lookup. Self-contained Naftiko capability covering one Messagebird business surface.' tags: - Messagebird - HLR created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MESSAGEBIRD_API_KEY: MESSAGEBIRD_API_KEY capability: consumes: - type: http namespace: lookup-hlr baseUri: https://rest.messagebird.com description: MessageBird Lookup API — HLR business capability. Self-contained, no shared references. resources: - name: lookup-phoneNumber-hlr path: /lookup/{phoneNumber}/hlr operations: - name: createhlrlookup method: POST description: Request an HLR lookup outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: viewhlrlookup method: GET description: View an HLR lookup outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.MESSAGEBIRD_API_KEY}}' placement: header exposes: - type: rest namespace: lookup-hlr-rest port: 8080 description: REST adapter for MessageBird Lookup API — HLR. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/lookup/{phonenumber}/hlr name: lookup-phonenumber-hlr description: REST surface for lookup-phoneNumber-hlr. operations: - method: POST name: createhlrlookup description: Request an HLR lookup call: lookup-hlr.createhlrlookup with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: viewhlrlookup description: View an HLR lookup call: lookup-hlr.viewhlrlookup outputParameters: - type: object mapping: $. - type: mcp namespace: lookup-hlr-mcp port: 9090 transport: http description: MCP adapter for MessageBird Lookup API — HLR. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: request-hlr-lookup description: Request an HLR lookup hints: readOnly: true destructive: false idempotent: false call: lookup-hlr.createhlrlookup with: body: tools.body outputParameters: - type: object mapping: $. - name: view-hlr-lookup description: View an HLR lookup hints: readOnly: true destructive: false idempotent: true call: lookup-hlr.viewhlrlookup outputParameters: - type: object mapping: $.