Skip to main content
Glama

Update a contact

update_contact
Destructive

Edit a saved contact's name and/or E.164 phone number atomically.

Confirm the existing contact and proposed change with the user first. A name conflict refuses instead of overwriting another person. Return values mask the number; do not repeat a full number in chat.

Input Schema

NameRequiredDescriptionDefault
new_nameYesNew contact name.
old_nameYesExact current contact name.
phone_numberYesNew phone number in E.164 format.
user_confirmedYesTrue only after the user explicitly confirms the recipient and action.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is covered; the description earns credit for going further with refusal semantics on name conflict (refuses rather than overwriting) and the privacy rule that return values mask the number and must not be repeated in chat. It does not cover failure modes beyond name conflicts or any permission requirements.

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, front-loaded with the action and scope, then the confirmation prerequisite, then the failure and privacy rules. Every sentence carries a distinct and useful constraint with no filler.

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?

For a destructive 4-parameter mutation with full schema coverage, full annotations, and an output schema, the description supplies exactly the missing pieces: confirmation gating, atomicity, conflict refusal, and output masking. Nothing an agent needs in order to call it correctly is absent.

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 every property carries its own description, so the baseline is 3. The description reinforces the E.164 format and atomicity but adds no syntax, constraint, or interaction detail beyond what the schema already documents.

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?

States a specific verb and resource ('Edit a saved contact's name and/or E.164 phone number') with the atomic scope qualifier, which is more precise than the title. It does not name or differentiate against the obvious siblings save_contact and delete_contact, so the agent must infer the boundary itself.

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

Usage Guidelines4/5

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

Gives a clear prerequisite sequence: confirm the existing contact and the proposed change with the user before invoking. It stops short of stating when to prefer this over save_contact (create) or delete_contact (remove), so alternatives are left implicit.

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