Skip to main content
Glama

Update a phone line

update_phone_number
Idempotent

Change a phone line's settings: its name, the caller-ID name people see (up to 15 characters, takes 1 to 3 days to reach carriers), call recording, transcription, or which AI agent answers it. Send only what should change.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "phone_number_id": "<phone_number_id>"
    },
    "name": "update_phone_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoFriendly name shown in RevDesk
agent_idNoAI agent that answers this line, from list_agents
cnam_enabledNoTurn the caller-ID name on or off
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.
phone_number_idYesThe line's id from list_phone_numbers (a small number like 42, not the phone number itself)
cnam_display_nameNoCaller-ID name shown on outbound calls, up to 15 characters
recording_enabledNoRecord calls on this line
transcription_enabledNoTranscribe calls on this line

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly=false, destructive=false, idempotent=true, so the safety profile is covered structurally. The description adds non-obvious behavior the annotations cannot carry: caller-ID changes take 1 to 3 days to propagate to carriers, which sets expectations about eventual consistency and repeated calls, and the partial-update instruction clarifies that unspecified fields are left untouched. It still omits permission requirements and what the response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both dense with information; the mutable field list is front-loaded and the operational caveats (15-character limit, propagation delay, partial update) follow. No filler or restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation tool with full schema coverage and meaningful annotations, the description covers what can be changed, the notable side effect (carrier propagation), and the partial-update convention. The remaining gap is the absence of any statement about the return value or error conditions, though no output schema exists to lean on.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: the carrier propagation delay for cnam_display_name is absent from the schema text, and "send only what should change" clarifies the semantics of omitting optional fields. It does not elaborate on the workspace_id scoping or agent_id sourcing, which the schema already explains well.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ("Change a phone line's settings") and then enumerates the mutable surface: name, caller-ID name, recording, transcription, and assigned AI agent. This makes it clearly the write counterpart to the sibling read tools (get_phone_number, list_phone_numbers) without naming them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Send only what should change" is a real, useful instruction for PATCH-style invocation and is the closest thing to when-to-use guidance. However, it gives no exclusions, no prerequisites (e.g., needing a valid agent_id from list_agents before switching agents), and does not name any alternative tool for related operations such as release or registration.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources