Microsoft Azure · Capability

Microsoft Azure PhoneNumbersClient — Find and Purchase Available Phone Numbers

Microsoft Azure PhoneNumbersClient — Find and Purchase Available Phone Numbers. 3 operations. Lead operation: Microsoft Azure Purchases Phone Numbers. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureFind and Purchase Available Phone Numbers

What You Can Do

POST
Microsoftazurephonenumberspurchasephonenumbers — Microsoft Azure Purchases Phone Numbers
/v1/availablephonenumbers/purchase
POST
Microsoftazurephonenumberssearchavailablephonenumbers — Microsoft Azure Search For Available Phone Numbers To Purchase
/v1/availablephonenumbers/countries/{countrycode}/search
GET
Microsoftazurephonenumbersgetsearchresult — Microsoft Azure Gets A Phone Number Search Result By Search Id
/v1/availablephonenumbers/searchresults/{searchid}

MCP Tools

microsoft-azure-purchases-phone-numbers

Microsoft Azure Purchases Phone Numbers

microsoft-azure-search-available-phone

Microsoft Azure Search For Available Phone Numbers To Purchase

read-only
microsoft-azure-gets-phone-number

Microsoft Azure Gets A Phone Number Search Result By Search Id

read-only idempotent

Capability Spec

phonenumbersclient-find-and-purchase-available-phone-numbers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure PhoneNumbersClient — Find and Purchase Available Phone Numbers
  description: 'Microsoft Azure PhoneNumbersClient — Find and Purchase Available Phone Numbers. 3 operations. Lead operation:
    Microsoft Azure Purchases Phone Numbers. Self-contained Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - Find and Purchase Available Phone Numbers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: phonenumbersclient-find-and-purchase-available-phone-numbers
    baseUri: ''
    description: Microsoft Azure PhoneNumbersClient — Find and Purchase Available Phone Numbers business capability. Self-contained,
      no shared references.
    resources:
    - name: availablePhoneNumbers-:purchase
      path: /availablePhoneNumbers/:purchase
      operations:
      - name: microsoftazurephonenumberspurchasephonenumbers
        method: POST
        description: Microsoft Azure Purchases Phone Numbers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          description: The phone number purchase request
          required: true
    - name: availablePhoneNumbers-countries-countryCode-:search
      path: /availablePhoneNumbers/countries/{countryCode}/:search
      operations:
      - name: microsoftazurephonenumberssearchavailablephonenumbers
        method: POST
        description: Microsoft Azure Search For Available Phone Numbers To Purchase
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: countryCode
          in: path
          type: string
          description: The ISO 3166-2 country code, e.g. US.
          required: true
        - name: body
          in: body
          type: string
          description: The phone number search request.
          required: true
    - name: availablePhoneNumbers-searchResults-searchId
      path: /availablePhoneNumbers/searchResults/{searchId}
      operations:
      - name: microsoftazurephonenumbersgetsearchresult
        method: GET
        description: Microsoft Azure Gets A Phone Number Search Result By Search Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: searchId
          in: path
          type: string
          description: The search Id.
          required: true
  exposes:
  - type: rest
    namespace: phonenumbersclient-find-and-purchase-available-phone-numbers-rest
    port: 8080
    description: REST adapter for Microsoft Azure PhoneNumbersClient — Find and Purchase Available Phone Numbers. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/availablephonenumbers/purchase
      name: availablephonenumbers-purchase
      description: REST surface for availablePhoneNumbers-:purchase.
      operations:
      - method: POST
        name: microsoftazurephonenumberspurchasephonenumbers
        description: Microsoft Azure Purchases Phone Numbers
        call: phonenumbersclient-find-and-purchase-available-phone-numbers.microsoftazurephonenumberspurchasephonenumbers
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/availablephonenumbers/countries/{countrycode}/search
      name: availablephonenumbers-countries-countrycode-search
      description: REST surface for availablePhoneNumbers-countries-countryCode-:search.
      operations:
      - method: POST
        name: microsoftazurephonenumberssearchavailablephonenumbers
        description: Microsoft Azure Search For Available Phone Numbers To Purchase
        call: phonenumbersclient-find-and-purchase-available-phone-numbers.microsoftazurephonenumberssearchavailablephonenumbers
        with:
          countryCode: rest.countryCode
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/availablephonenumbers/searchresults/{searchid}
      name: availablephonenumbers-searchresults-searchid
      description: REST surface for availablePhoneNumbers-searchResults-searchId.
      operations:
      - method: GET
        name: microsoftazurephonenumbersgetsearchresult
        description: Microsoft Azure Gets A Phone Number Search Result By Search Id
        call: phonenumbersclient-find-and-purchase-available-phone-numbers.microsoftazurephonenumbersgetsearchresult
        with:
          searchId: rest.searchId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: phonenumbersclient-find-and-purchase-available-phone-numbers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure PhoneNumbersClient — Find and Purchase Available Phone Numbers. One tool
      per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-purchases-phone-numbers
      description: Microsoft Azure Purchases Phone Numbers
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: phonenumbersclient-find-and-purchase-available-phone-numbers.microsoftazurephonenumberspurchasephonenumbers
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-search-available-phone
      description: Microsoft Azure Search For Available Phone Numbers To Purchase
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: phonenumbersclient-find-and-purchase-available-phone-numbers.microsoftazurephonenumberssearchavailablephonenumbers
      with:
        countryCode: tools.countryCode
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-gets-phone-number
      description: Microsoft Azure Gets A Phone Number Search Result By Search Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: phonenumbersclient-find-and-purchase-available-phone-numbers.microsoftazurephonenumbersgetsearchresult
      with:
        searchId: tools.searchId
      outputParameters:
      - type: object
        mapping: $.