Skip to main content
Glama

Save a contact

save_contact
Destructive

Add or update one contact after confirming name and number with the user.

phone_number must be E.164, e.g. +85291234567. This updates the same address book used by the web app. The result masks the number; do not echo the full number in a chat reply. Set user_confirmed only after agreement.

Input Schema

NameRequiredDescriptionDefault
nameYesName to save for this contact.
phone_numberYesContact 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/5.0
Behavior5/5

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

Annotations only declare this is a non-read-only, destructive, closed-world write. The description goes well beyond that: it discloses that the write lands in the same address book used by the web app (cross-surface side effect), that the result masks the phone number, and that the agent must not echo the full number in chat (a privacy constraint on downstream behavior). That is exactly the kind of context annotations cannot carry.

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

Conciseness4/5

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

Four short sentences, purpose front-loaded, then format constraint, cross-surface note, and output privacy rule. No filler, though the phone-format sentence and the schema's own E.164 description are somewhat redundant.

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-value explanation is not required, and the confirmation workflow plus privacy behavior are covered. It leaves one gap for a destructive write: what happens when the contact already exists (overwrite vs duplicate), which matters given destructiveHint=true.

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. The description adds a concrete E.164 example (+85291234567) and reinforces the ordering semantics of `user_confirmed` ('Set user_confirmed only after agreement'), which is slightly richer than the schema's own wording, though it partly restates it.

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?

Clear specific verb+resource: 'Add or update one contact.' An agent immediately knows this writes to an address book. However it never distinguishes itself from the sibling `update_contact` (or `delete_contact`), which is a real ambiguity for a save/update tool.

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?

It gives one strong usage rule — confirm name and number with the user first, and set `user_confirmed` only after agreement — which is genuine when-to-use guidance. But there is no routing guidance against the overlapping `update_contact` sibling, so the agent is left to infer which of the two to call.

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