Skip to main content
Glama

Change the customer's phone

update_phone
DestructiveIdempotent

Saves the customer's US phone number, which First uses for texts about the service. An empty phone removes it. Confirm the number with the customer before you call this tool, and tell the customer: "By providing your phone number you consent to receiving transactional texts." At the welcome steps, send the phone with finish_welcome_steps instead.

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": "<phone>"
    },
    "name": "update_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYesA US phone number with 10 digits, or "" to remove it.

Output Schema

NameRequiredDescriptionDefault
phoneNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description explains the actual destructive mechanism — passing an empty string removes the stored number — which the annotations only imply. It also discloses a consent-script obligation the agent must surface before calling, a behavioral requirement not encoded anywhere in structured fields.

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?

Four short sentences ordered by importance: what it does, the empty-value edge case, the required confirmation/consent step, then the sibling alternative. The quoted consent line is mandatory boilerplate rather than filler, so every sentence earns its place.

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

Completeness5/5

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

Complete for a single-parameter mutation tool: the output schema covers return values, annotations cover idempotency and safety, and the description supplies the one thing structured data cannot — the consent wording and the confirmation prerequisite. Nothing an agent needs to call this correctly is missing.

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?

Schema coverage is 100%, and the schema already documents the 10-digit US format and the "" removal convention. The description reinforces the US scope and the meaning of an empty value but adds no new syntax, validation, or formatting detail beyond the schema, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb and resource ("Saves the customer's US phone number") plus the purpose (texts about the service) and the removal edge case ("An empty phone removes it"). It also names the sibling that supersedes it during welcome steps, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit precondition ("Confirm the number with the customer before you call this tool"), required customer-facing language, and an explicit alternative with the condition that selects it ("At the welcome steps, send the phone with finish_welcome_steps instead"). Nothing about when to use or avoid this tool is left to inference.

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