Skip to main content
Glama
Thunderbird MCP by Commonpost

Thunderbird MCP by Commonpost

Update Contact

updateContact
Destructive

Modify an existing Thunderbird contact by ID, changing only the fields you pass; email, phone, and address lists are replaced when supplied, and unknown IDs return an error without changes.

Instructions

Change an existing contact by id (from searchContacts): only passed fields change; emails, phones and addresses replace the whole list. Someone new: createContact. An unknown id returns an error and changes nothing.

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": {
      "contactId": "<contactId>"
    },
    "name": "updateContact"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoContact note; may contain multiple lines
emailNoPrimary email address
titleNoJob title
emailsNoAll addresses, replacing the list; primary: the flagged one or the first
phonesNoPhone numbers; replaces the list, [] clears it
birthdayNoBirthday as YYYY-MM-DD or --MM-DD when the year is unknown
lastNameNoLast name
addressesNoPostal addresses; replaces the list, [] clears it
contactIdYesContact UID (from searchContacts results)
firstNameNoFirst name
displayNameNoDisplay name
organizationNoOrganization or company name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false), the description discloses the crucial patch semantics: only passed fields change, but emails/phones/addresses replace the entire list. That distinction is exactly the kind of behavior an agent could get wrong without the text, and the error behavior for unknown ids adds further useful context.

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?

Three short sentences, each doing distinct work: core action and identifier source, update semantics, and the createContact alternative plus error behavior. The most consequential fact (list replacement) is placed early and nothing is 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?

For a 12-parameter mutation with no output schema, the description covers the patch model, the destructive list-replacement risk, and the id source, which is nearly everything needed to call it correctly. It does not say what the call returns (e.g., the updated contact) or whether address-book scoping or permissions affect which contact can be updated.

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 schema already carries per-field documentation, including that phones and addresses replace the list. The description reinforces the partial-update rule for the remaining scalar fields, which the schema only implies by making contactId the sole required property, but adds no new syntax or format detail.

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?

"Change an existing contact by id" gives an exact verb and resource, and the parenthetical "(from searchContacts)" tells the agent where the identifier comes from. It is immediately distinguishable from createContact and deleteContact among the siblings.

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?

The description routes explicitly: use this with an id from searchContacts for existing contacts, and "Someone new: createContact" for the alternative. It also states the failure path (unknown id returns an error and changes nothing), so the agent knows what happens when the precondition is wrong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.