Telefono · Capability

Telefono Phone Validation API — Validation

Telefono Phone Validation API — Validation. 1 operations. Lead operation: Validate Phone Number. Self-contained Naftiko capability covering one Telefono business surface.

Run with Naftiko TelefonoValidation

What You Can Do

GET
Validatephonenumber — Validate Phone Number
/v1/validate

MCP Tools

validate-phone-number

Validate Phone Number

read-only idempotent

Capability Spec

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