> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Phone Numbers MCP Tools

> Use DialNexa phone numbers MCP tools through the remote MCP server.

DialNexa phone numbers MCP tools let an MCP-compatible AI client inspect workspace phone numbers and assign them to agents. Numbers are bought in the dashboard. Each tool page includes its exact server description, input schema, safety level, request shape, and retry guidance.

## Available Phone Numbers MCP Tools

| Tool | Safety | What it does |
| - | - | - |
| [`list_organization_phone_numbers`](https://dialnexa.com/docs/mcp-tools/phone-numbers/list-organization-phone-numbers) | Read only | Returns phone numbers owned by the organization, including which agent (if any) is assigned inbound/outbound on each. |
| [`get_organization_phone_number`](https://dialnexa.com/docs/mcp-tools/phone-numbers/get-organization-phone-number) | Read only | Returns details for one of the organization's phone numbers by ID (e.g. phn\_abc123). |
| [`get_phone_number_active_workflows`](https://dialnexa.com/docs/mcp-tools/phone-numbers/get-phone-number-active-workflows) | Read only | Returns the ACTIVE workflows that dial through this phone number. |
| [`delete_phone_number`](https://dialnexa.com/docs/mcp-tools/phone-numbers/delete-phone-number) | Destructive | Releases/deletes one of the organization's phone numbers. |
| [`list_countries`](https://dialnexa.com/docs/mcp-tools/phone-numbers/list-countries) | Read only | Returns the global list of countries phone numbers/calls can be configured for, with their country codes. |
| [`list_org_phone_country_rules`](https://dialnexa.com/docs/mcp-tools/phone-numbers/list-org-phone-country-rules) | Read only | Returns the organization's configured rules per country (e.g. allowed prefixes, dialing mode) for outbound calling. |
| [`list_enabled_network_groups`](https://dialnexa.com/docs/mcp-tools/phone-numbers/list-enabled-network-groups) | Read only | Returns the telephony network groups currently enabled for the organization's outbound calling. |
| [`list_agent_phone_numbers`](https://dialnexa.com/docs/mcp-tools/phone-numbers/list-agent-phone-numbers) | Read only | Returns the phone numbers linked to an agent, split into inbound and outbound (up to 3 each). |
| [`get_agent_phone_number_history`](https://dialnexa.com/docs/mcp-tools/phone-numbers/get-agent-phone-number-history) | Read only | Every number an agent has been linked to, with when it was linked and unlinked and why (manual, agent\_deleted, number\_deleted, number\_released). |
| [`add_agent_phone_number`](https://dialnexa.com/docs/mcp-tools/phone-numbers/add-agent-phone-number) | Destructive | Links an organization phone number to an agent for inbound or outbound calls. |
| [`remove_agent_phone_number`](https://dialnexa.com/docs/mcp-tools/phone-numbers/remove-agent-phone-number) | Changes state - verify before retry | Unlinks a phone number from an agent for one direction. |

## Before you call a tool

Connect with OAuth or a workspace API key and complete MCP initialization first. Use IDs exactly as another DialNexa tool returned them, including prefixes such as `agent_`, `call_`, and `workflow_`.

For operations that change data, verify the target and current state before the call. Billable and destructive tools require extra care because retrying an uncertain result can spend money or repeat an irreversible action.

## Related guides

* [MCP quickstart](https://dialnexa.com/docs/mcp-tools/quickstart.md)
* [MCP responses and errors](https://dialnexa.com/docs/mcp-tools/errors.md)
* [MCP connection and authentication](https://dialnexa.com/docs/mcp-tools/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.