Skip to main content
Glama

updateContact

Idempotent

updateContact: Update an existing contact's information. Requires authentication. Only the fields you provide are changed; omitted fields keep their current values. Get the contactId from listContacts. Returns the updated contact.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoNew city name.
emailNoNew email address.
phoneNoNew phone number in '+CC.number' format, e.g. '+1.5551234567'.
stateNoNew state, province, or region.
countryNoNew country as a 2-letter ISO 3166-1 alpha-2 code, e.g. 'US'.
street1NoNew first street address line.
street2NoNew second street address line.
lastNameNoNew last name.
contactIdYesIdentifier of the contact to update, as returned by listContacts.
firstNameNoNew first name.
postalCodeNoNew postal or ZIP code.
sessionKeyNoSession key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth.
organizationNoNew organization or company name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / city / description
      Added value: +"New city name."
    • addedInput schema / properties / contactId / description
      Added value: +"Identifier of the contact to update, as returned by listContacts."
    • addedInput schema / properties / country / description
      Added value: +"New country as a 2-letter ISO 3166-1 alpha-2 code, e.g. 'US'."
    • addedInput schema / properties / email / description
      Added value: +"New email address."
    • addedInput schema / properties / firstName / description
      Added value: +"New first name."
    • addedInput schema / properties / lastName / description
      Added value: +"New last name."
    • addedInput schema / properties / organization / description
      Added value: +"New organization or company name."
    • addedInput schema / properties / phone / description
      Added value: +"New phone number in '+CC.number' format, e.g. '+1.5551234567'."
    • addedInput schema / properties / postalCode / description
      Added value: +"New postal or ZIP code."
    • addedInput schema / properties / state / description
      Added value: +"New state, province, or region."
    • addedInput schema / properties / street1 / description
      Added value: +"New first street address line."
    • addedInput schema / properties / street2 / description
      Added value: +"New second street address line."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=true), the description discloses important behavioral traits: authentication is required, only provided fields change while omitted fields retain values, and the updated contact is returned. This partial-update semantics adds value beyond what annotations alone convey. No contradiction with annotations.

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?

The description is four concise sentences with no redundancy. The action is front-loaded ('Update an existing contact's information'), followed by essential context: authentication, partial-update semantics, how to get the ID, and the return value. Every sentence earns its place.

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?

Given 13 parameters but full schema coverage, the description does not need to enumerate parameters. It provides critical workflow context (authentication, ID source, partial-update behavior, return value) and is nearly complete. Slightly lacking is explicit guidance on error scenarios or exact return format, but the absence of an output schema is mitigated by stating 'Returns the updated contact'.

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 description coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by clarifying the update behavior: 'Only the fields you provide are changed; omitted fields keep their current values.' This explains that all fields except contactId are effectively optional and that omission means no change. It also reinforces the source of contactId.

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?

The description states a specific verb and resource: 'Update an existing contact's information.' It clearly distinguishes this tool from siblings like createContact, deleteContact, and listContacts by emphasizing 'existing' and referencing the source of contactId. The purpose is unambiguous and not a tautology.

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?

The description gives clear context for when to use the tool: it updates an existing contact, requires authentication, and instructs the agent to obtain contactId from listContacts. It does not explicitly name alternatives or say when not to use it, but the 'existing' framing and workflow implicitly separate it from create/delete operations.

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.