Skip to main content
Glama
Thunderbird MCP by Commonpost

Thunderbird MCP by Commonpost

Create Contact

createContact

Adds a new contact to a Thunderbird address book with at least one field set. Search existing contacts first to avoid duplicates, then update an existing contact for changes.

Instructions

Add a contact to an address book (addressBookId from listAddressBooks or searchContacts, else the first writable one); set at least one field. No duplicate check: search first with searchContacts, and change an existing contact with updateContact.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "createContact"
  }
}

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
firstNameNoFirst name
displayNameNoDisplay name
organizationNoOrganization or company name
addressBookIdNoAddress book ID (from listAddressBooks or searchContacts rows)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.20.3
    • changedInput schema / properties / addressBookId / description
      Previous value: -"Address book ID (addressBookId of searchContacts rows)"New value: +"Address book ID (from listAddressBooks or searchContacts rows)"
  2. Changed2 schema fields changedv0.19.2
    • changedInput schema / properties / addressBookId / description
      Previous value: -"Address book directory ID (from searchContacts results). Defaults to the first writable address book."New value: +"Address book ID (addressBookId of searchContacts rows)"
    • removedInput schema / required
      Removed value: -[]
  3. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already state this is a non-readonly, non-idempotent, non-destructive write with no open-world access. The description adds important behavior beyond that: no duplicate detection, fallback address book selection, and the requirement to set at least one field.

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 compact and front-loaded: the main action is stated first, followed by the address-book resolution rule and duplicate-handling alternatives. Every clause carries useful information for invoking the tool correctly.

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 tool with no output schema, the description covers the key invocation constraints: address book selection, minimum field requirement, and duplicate handling. It does not describe what the tool returns, but otherwise it is complete enough for correct usage.

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 schema already documents all 12 parameters thoroughly. The description still adds meaning by explaining where addressBookId comes from and what happens when it is omitted, plus the cross-parameter constraint that at least one field must be set.

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: 'Add a contact to an address book.' It also explicitly distinguishes this tool from searchContacts and updateContact, so an agent can tell its role apart from siblings without opening schemas.

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?

It gives clear when-to-use guidance: resolve addressBookId via listAddressBooks or searchContacts, otherwise the first writable address book is used. It explicitly says to search first because there is no duplicate check, and to use updateContact for existing contacts.

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