messagebird · Capability

MessageBird Lookup API — Lookup

MessageBird Lookup API — Lookup. 1 operations. Lead operation: Look up a phone number. Self-contained Naftiko capability covering one Messagebird business surface.

Run with Naftiko MessagebirdLookup

What You Can Do

GET
Lookupphonenumber — Look up a phone number
/v1/lookup/{phonenumber}

MCP Tools

look-up-phone-number

Look up a phone number

read-only idempotent

Capability Spec

lookup-lookup.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: MessageBird Lookup API — Lookup
  description: 'MessageBird Lookup API — Lookup. 1 operations. Lead operation: Look up a phone number. Self-contained Naftiko
    capability covering one Messagebird business surface.'
  tags:
  - Messagebird
  - Lookup
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MESSAGEBIRD_API_KEY: MESSAGEBIRD_API_KEY
capability:
  consumes:
  - type: http
    namespace: lookup-lookup
    baseUri: https://rest.messagebird.com
    description: MessageBird Lookup API — Lookup business capability. Self-contained, no shared references.
    resources:
    - name: lookup-phoneNumber
      path: /lookup/{phoneNumber}
      operations:
      - name: lookupphonenumber
        method: GET
        description: Look up a phone number
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: countryCode
          in: query
          type: string
          description: The country code to use for parsing the phone number if it is provided in a local format.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.MESSAGEBIRD_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: lookup-lookup-rest
    port: 8080
    description: REST adapter for MessageBird Lookup API — Lookup. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/lookup/{phonenumber}
      name: lookup-phonenumber
      description: REST surface for lookup-phoneNumber.
      operations:
      - method: GET
        name: lookupphonenumber
        description: Look up a phone number
        call: lookup-lookup.lookupphonenumber
        with:
          countryCode: rest.countryCode
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lookup-lookup-mcp
    port: 9090
    transport: http
    description: MCP adapter for MessageBird Lookup API — Lookup. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: look-up-phone-number
      description: Look up a phone number
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lookup-lookup.lookupphonenumber
      with:
        countryCode: tools.countryCode
      outputParameters:
      - type: object
        mapping: $.