Skip to main content
Glama
mailbox-org-mcp
by getrdone

Create or update a contact

mailbox_save_contact

Create a new contact or update an existing one; on update, only the fields you provide change while all other contact details remain intact.

Instructions

Create a contact (omit href) or update one (give href from mailbox_search_contacts). On update only the fields you pass change; everything else in the card is kept.

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": "mailbox_save_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
hrefNo
noteNo
titleNo
emailsNoReplaces all email addresses
phonesNoReplaces all phone numbers
addressNoPostal address as one line (street, city, region, postcode, country)
birthdayNoYYYY-MM-DD
full_nameNo
last_nameNo
categoriesNo
first_nameNo
address_bookNoFor new contacts; default the first address book
organizationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (not read-only, not destructive, open-world), so the bar is lower, and the description still adds the crucial patch semantic that only passed fields change while the rest of the card is kept. It does not disclose what happens on create when a matching contact already exists, or permission/auth requirements.

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?

Two sentences, zero filler, with the create/update fork and the href source front-loaded before the partial-update caveat. Every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter, dual-mode mutation with no output schema and low schema coverage, the definition covers the mode switch and update semantics but leaves field-level meaning and create-collision behavior unexplained. Adequate to call correctly in the simple case, thin for an agent composing a full contact card.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 38% across 13 parameters, so the description must compensate. It clarifies href's dual role and implies fields are selectively mutable on update, but adds nothing about full_name versus first_name/last_name, categories, note, organization, or the address_book default beyond what the schema already says.

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 (create/update a contact) and immediately disambiguates the tool's two modes via the href parameter. An agent can tell this apart from mailbox_delete_contact and mailbox_search_contacts without opening the schema.

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?

It gives a clear decision rule: omit href to create, pass an href obtained from mailbox_search_contacts to update. That names both the condition and the prerequisite sibling tool, but there is no explicit when-not guidance (e.g., that removal belongs to mailbox_delete_contact).

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