Microsoft Azure · Capability

Microsoft Azure PhoneNumbersClient — Manage Purchased Phone Numbers

Microsoft Azure PhoneNumbersClient — Manage Purchased Phone Numbers. 4 operations. Lead operation: Microsoft Azure Gets The List Of All Purchased Phone Numbers. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureManage Purchased Phone Numbers

What You Can Do

GET
Microsoftazurephonenumberslistphonenumbers — Microsoft Azure Gets The List Of All Purchased Phone Numbers
/v1/phonenumbers
GET
Microsoftazurephonenumbersgetbynumber — Microsoft Azure Gets The Details Of The Given Purchased Phone Number
/v1/phonenumbers/{phonenumber}
DELETE
Microsoftazurephonenumbersreleasephonenumber — Microsoft Azure Releases A Purchased Phone Number
/v1/phonenumbers/{phonenumber}
PATCH
Microsoftazurephonenumbersupdatecapabilities — Microsoft Azure Updates The Capabilities Of A Phone Number
/v1/phonenumbers/{phonenumber}/capabilities

MCP Tools

microsoft-azure-gets-list-all

Microsoft Azure Gets The List Of All Purchased Phone Numbers

read-only idempotent
microsoft-azure-gets-details-given

Microsoft Azure Gets The Details Of The Given Purchased Phone Number

read-only idempotent
microsoft-azure-releases-purchased-phone

Microsoft Azure Releases A Purchased Phone Number

idempotent
microsoft-azure-updates-capabilities-phone

Microsoft Azure Updates The Capabilities Of A Phone Number

idempotent

Capability Spec

phonenumbersclient-manage-purchased-phone-numbers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure PhoneNumbersClient — Manage Purchased Phone Numbers
  description: 'Microsoft Azure PhoneNumbersClient — Manage Purchased Phone Numbers. 4 operations. Lead operation: Microsoft
    Azure Gets The List Of All Purchased Phone Numbers. Self-contained Naftiko capability covering one Microsoft Azure business
    surface.'
  tags:
  - Microsoft Azure
  - Manage Purchased 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-manage-purchased-phone-numbers
    baseUri: ''
    description: Microsoft Azure PhoneNumbersClient — Manage Purchased Phone Numbers business capability. Self-contained,
      no shared references.
    resources:
    - name: phoneNumbers
      path: /phoneNumbers
      operations:
      - name: microsoftazurephonenumberslistphonenumbers
        method: GET
        description: Microsoft Azure Gets The List Of All Purchased Phone Numbers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: skip
          in: query
          type: integer
          description: An optional parameter for how many entries to skip, for pagination purposes. The default value is 0.
        - name: top
          in: query
          type: integer
          description: An optional parameter for how many entries to return, for pagination purposes. The default value is
            100.
    - name: phoneNumbers-phoneNumber
      path: /phoneNumbers/{phoneNumber}
      operations:
      - name: microsoftazurephonenumbersgetbynumber
        method: GET
        description: Microsoft Azure Gets The Details Of The Given Purchased Phone Number
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: phoneNumber
          in: path
          type: string
          description: The purchased phone number whose details are to be fetched in E.164 format, e.g. +11234567890.
          required: true
      - name: microsoftazurephonenumbersreleasephonenumber
        method: DELETE
        description: Microsoft Azure Releases A Purchased Phone Number
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: phoneNumber
          in: path
          type: string
          description: Phone number to be released, e.g. +11234567890.
          required: true
    - name: phoneNumbers-phoneNumber-capabilities
      path: /phoneNumbers/{phoneNumber}/capabilities
      operations:
      - name: microsoftazurephonenumbersupdatecapabilities
        method: PATCH
        description: Microsoft Azure Updates The Capabilities Of A Phone Number
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: phoneNumber
          in: path
          type: string
          description: The phone number id in E.164 format. The leading plus can be either + or encoded as %2B, e.g. +11234567890.
          required: true
        - name: body
          in: body
          type: string
          description: Defines the update capabilities request.
  exposes:
  - type: rest
    namespace: phonenumbersclient-manage-purchased-phone-numbers-rest
    port: 8080
    description: REST adapter for Microsoft Azure PhoneNumbersClient — Manage Purchased Phone Numbers. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/phonenumbers
      name: phonenumbers
      description: REST surface for phoneNumbers.
      operations:
      - method: GET
        name: microsoftazurephonenumberslistphonenumbers
        description: Microsoft Azure Gets The List Of All Purchased Phone Numbers
        call: phonenumbersclient-manage-purchased-phone-numbers.microsoftazurephonenumberslistphonenumbers
        with:
          skip: rest.skip
          top: rest.top
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/phonenumbers/{phonenumber}
      name: phonenumbers-phonenumber
      description: REST surface for phoneNumbers-phoneNumber.
      operations:
      - method: GET
        name: microsoftazurephonenumbersgetbynumber
        description: Microsoft Azure Gets The Details Of The Given Purchased Phone Number
        call: phonenumbersclient-manage-purchased-phone-numbers.microsoftazurephonenumbersgetbynumber
        with:
          phoneNumber: rest.phoneNumber
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazurephonenumbersreleasephonenumber
        description: Microsoft Azure Releases A Purchased Phone Number
        call: phonenumbersclient-manage-purchased-phone-numbers.microsoftazurephonenumbersreleasephonenumber
        with:
          phoneNumber: rest.phoneNumber
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/phonenumbers/{phonenumber}/capabilities
      name: phonenumbers-phonenumber-capabilities
      description: REST surface for phoneNumbers-phoneNumber-capabilities.
      operations:
      - method: PATCH
        name: microsoftazurephonenumbersupdatecapabilities
        description: Microsoft Azure Updates The Capabilities Of A Phone Number
        call: phonenumbersclient-manage-purchased-phone-numbers.microsoftazurephonenumbersupdatecapabilities
        with:
          phoneNumber: rest.phoneNumber
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: phonenumbersclient-manage-purchased-phone-numbers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure PhoneNumbersClient — Manage Purchased Phone Numbers. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-gets-list-all
      description: Microsoft Azure Gets The List Of All Purchased Phone Numbers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: phonenumbersclient-manage-purchased-phone-numbers.microsoftazurephonenumberslistphonenumbers
      with:
        skip: tools.skip
        top: tools.top
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-gets-details-given
      description: Microsoft Azure Gets The Details Of The Given Purchased Phone Number
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: phonenumbersclient-manage-purchased-phone-numbers.microsoftazurephonenumbersgetbynumber
      with:
        phoneNumber: tools.phoneNumber
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-releases-purchased-phone
      description: Microsoft Azure Releases A Purchased Phone Number
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: phonenumbersclient-manage-purchased-phone-numbers.microsoftazurephonenumbersreleasephonenumber
      with:
        phoneNumber: tools.phoneNumber
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-updates-capabilities-phone
      description: Microsoft Azure Updates The Capabilities Of A Phone Number
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: phonenumbersclient-manage-purchased-phone-numbers.microsoftazurephonenumbersupdatecapabilities
      with:
        phoneNumber: tools.phoneNumber
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.