Skip to main content
Glama

Patch MCP

update_phone_number

Destructive

Change a label, inbound/outbound availability, retention preference or voice system using the number revision. voice_system is cascade (default: speech-to-text, a language model, then a voice from the full catalog) or full_duplex (GPT Live, which listens while it speaks, with Patch's custom voices; see list_voices); it applies to the number's inbound and outbound calls and tests from the next one, without republishing. Enabling an unpublished direction activates its initial defaults; saved drafts and existing live settings are preserved.

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": {
      "number_id": "<number_id>",
      "revision": "<revision>"
    },
    "name": "update_phone_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
inboundNo
outboundNo
retainedNo
revisionYes
number_idYes
voice_systemNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / voice_system
      Added value: +{
      +  "enum": [
      +    "cascade",
      +    "full_duplex"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses meaningful runtime behavior: the voice_system change takes effect on the next call without republishing the number, enabling an unpublished direction activates its initial defaults, and saved drafts plus existing live settings are preserved. This is exactly the kind of context annotations cannot convey. It stops short of stating permission requirements or whether the update is partial or full-replacement, and the 'preserved' claim sits in mild tension with destructiveHint=true (though it is not a direct contradiction).

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

Conciseness3/5

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

The first sentence is well front-loaded and scannable. The second sentence is a dense run-on with nested parentheses ('cascade (default: ..., then ...) or full_duplex (GPT Live, which ...)') that forces re-reading, plus a third sentence whose preservation detail is useful but buried at the end.

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?

An output schema exists, so return values need no explanation, and the description covers the non-obvious behavior of a mutated phone-number configuration. The residual gap is the required revision parameter, whose provenance and expected value are never clarified for a tool with destructiveHint=true and zero schema documentation.

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

Parameters3/5

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

With 0% schema description coverage, the description carries the full documentation burden, and it only partly does: voice_system's two enum values, their defaults, and their call-scope semantics are explained well beyond the bare enum. But label, inbound, outbound, and retained are merely named with no format or effect detail, and the required 'revision' parameter is only alluded to as 'the number revision' — ambiguous between an optimistic-concurrency token and a prior-operation handle, when revision is a required argument. number_id is unexplained entirely.

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 concrete verb ('Change') and enumerates the exact mutable fields (label, inbound/outbound availability, retention preference, voice system), which is more specific than the tool name alone. It does not, however, distinguish itself from adjacent phone-number tools such as set_default_phone_number or claim_phone_number, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

There is no statement of when to reach for this tool versus set_default_phone_number, get_phone_number, or claim_phone_number. The only routing signal is an embedded '(see list_voices)' referral inside the voice_system explanation, which is a sub-field hint rather than tool-selection guidance.

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