Skip to main content
Glama

Add Contact

add_contact

Add a contact (name/email/phone) to a client.

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>"
    },
    "name": "add_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record's numeric id, from the matching list/get/search tool.
nameNoA name (person or company, depending on the tool).
emailNoAn email address, e.g. name@example.com.
phoneNoA phone number, e.g. +1 734 555 0142.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / email / description
      Added value: +"An email address, e.g. name@example.com."
    • addedInput schema / properties / id / description
      Added value: +"The record's numeric id, from the matching list/get/search tool."
    • addedInput schema / properties / name / description
      Added value: +"A name (person or company, depending on the tool)."
    • addedInput schema / properties / phone / description
      Added value: +"A phone number, e.g. +1 734 555 0142."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already state that this is not read-only, not idempotent, and not destructive, so the description does not need to re-explain those traits. The description adds that the contact is attached to a client, but it does not warn about duplicate creation from repeated calls, nor does it describe permissions, side effects, or the response.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no filler. The parenthetical field list is somewhat redundant with the schema, but the sentence remains clear and efficient.

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?

The tool is a simple four-parameter mutation with full schema coverage and annotations covering safety traits. However, the description does not resolve whether the required id is the client id or another record id, and it omits duplicate-handling and return-value context.

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%, so the baseline is 3. The parenthetical '(name/email/phone)' repeats what the schema already documents and does not clarify the required id's role beyond the schema's 'record's numeric id' description.

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?

The description uses a specific verb and resource: 'Add a contact.' It also lists the contact fields and says the contact is added 'to a client,' which distinguishes creation from sibling operations such as update_contact and delete_contact. The only ambiguity is whether the required id identifies the client or another record.

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 gives no explicit when-to-use or when-not-to-use guidance, no alternatives, and no prerequisites. The verb 'Add' implies creation, but there is no guidance on duplicate contacts, required client existence, or how this relates to update_contact.

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