Skip to main content
Glama

WatchFor

Update contact

update_contact
Idempotent

Updates a contact (write scope); only the fields sent change. group_ids replaces all memberships ([] removes them from every group, omitted keeps them).

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": {
      "contact_id": "<contact_id>"
    },
    "name": "update_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoContact name
emailNoEmail address alerts go to
phoneNoPhone number; null removes it
group_idsNoEvery contact group the contact is in (replaces them)
contact_idYesContact id (UUID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the description's job is the finer behavior, and it delivers: partial-update semantics and the exact replace/omit rule for group_ids, including that an empty array strips all memberships. That membership-stripping detail sits in mild tension with destructiveHint=false, but it describes a field overwrite rather than resource deletion, so it does not rise to a contradiction. The write scope is restated explicitly, adding a little beyond the hints.

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?

A single front-loaded sentence with a parenthetical that carries the most consequential detail (the [] vs omitted distinction). No filler, no restatement of the title, and the highest-risk rule is placed where it will be read first.

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 a 4-field partial-update tool with annotations present and no output schema, the description covers update semantics, replacement behavior, and the write scope. Minor gaps remain, such as whether an empty payload is an error and what the response contains, but nothing essential to invoking it correctly is missing.

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 a 3 is the baseline, but the description earns more by explaining the tri-state behavior of group_ids (array replaces, [] clears, omitted preserves) and the aliasing rule that unsent fields are untouched. It adds no detail on name/email/phone beyond the schema, which already documents null removal for phone.

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 uses a precise verb-plus-resource pairing ('Updates a contact') and flags the write scope, which cleanly separates it from the create_/delete_/get_ siblings. Sibling differentiation comes from the verb rather than an explicit named alternative, so it stops just short of a 5.

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?

Usage is implied rather than stated: the description makes clear this is the tool for modifying an existing contact's fields, and 'only the fields sent change' signals partial-update intent. There is no explicit when-not guidance, no prerequisites (e.g. permissions), and no pointer to an alternative for full replacement.

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.