Skip to main content
Glama

Add a contact detail

add_contact_detail
Idempotent

Add an email, phone or link to a contact. Adding a value they already have changes nothing; one another contact holds is a 409 naming 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": {
      "id": "<id>",
      "kind": "<kind>",
      "value": "<value>"
    },
    "name": "add_contact_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesContact id.
kindYesWhat the value is: EMAIL, PHONE, WHATSAPP, LINKEDIN, BOOKING_LINK or OTHER.
labelNoA short comment on the value, e.g. "work" or "ask for Sara".
valueYesThe email, phone, link or handle. Stored normalised (lower-case email, phone digits).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the duplicate-value behavior ('changes nothing') largely restates them. The genuinely new information is the 409 conflict raised by a value held on another contact and that the error names the holder — useful, but it is one clause on top of fully covered annotations, with nothing on auth needs or what is returned.

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, no filler, and the core action is front-loaded ahead of the edge-case behavior. The telegraphic second sentence ('one another contact holds is a 409 naming them') is dense but still parses 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 small, fully-documented create operation with annotations covering safety and idempotency, the description covers purpose and the one non-obvious failure mode. The only gap is that with no output schema an agent cannot learn what the newly added detail object looks like.

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 100%, with id, kind, label and value all documented including normalisation rules, so the schema does the heavy lifting. The description only loosely maps 'email, phone or link' onto the kind parameter, adding nothing about label or id semantics.

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?

States a specific verb and resource ('Add an email, phone or link to a contact') and enumerates the value kinds handled, which sets it apart from add_note or add_profile_item without naming them. It falls short of explicit sibling differentiation, which is what a 5 would require.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description never says when to reach for this tool instead of update_contact, add_profile_item or add_note, and states no prerequisites (e.g. that the contact must exist). The duplicate-handling sentences describe outcomes, not when-to-use guidance.

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.

Resources