Skip to main content
Glama

Manage contacts

contacts_manage
Destructive

Change contacts. create (firstName required; tags by name), update (omitted fields unchanged), delete (soft; confirm first), merge (keepId + mergeIds: duplicates folded in, then deleted; confirm), restore (ids from contacts_list deleted), bulk_update (ids + set {city, source, position, companyId, status} and/or customField).

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": {
      "action": "<action>"
    },
    "name": "contacts_manage"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoRequired for: update, delete.
idsNoRequired for: bulk_update; optional for: restore. restore: deleted ids.
setNobulk_update: { city?, source?, position?, companyId?, status? }.
cityNoUsed by: create, update.
tagsNoTag names; missing ones are created.
emailNoUsed by: create, update.
notesNoUsed by: create, update.
phoneNoUsed by: create, update. Normalised to E.164.
actionYes
keepIdNomerge: the contact that stays.
sourceNoUsed by: create, update. Where they came from (referral, website...).
statusNoUsed by: create, update. Status name; default if omitted.
lastNameNoUsed by: create, update.
mergeIdsNomerge: the duplicates folded into it.
positionNoUsed by: create, update. Job title.
companyIdNoUsed by: create, update.
deletedAtNorestore: a deleted_at (undoes that whole delete).
firstNameNoRequired for: create; optional for: update.
customFieldNobulk_update: { key (field id or key), value }.
phoneSecondaryNoUsed by: create, update. A second number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / city
      Added value: +{
      +  "description": "Used by: create, update.",
      +  "type": "string"
      +}
    • addedInput schema / properties / phoneSecondary
      Added value: +{
      +  "description": "Used by: create, update. A second number.",
      +  "type": "string"
      +}
    • addedInput schema / properties / source
      Added value: +{
      +  "description": "Used by: create, update. Where they came from (referral, website...).",
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / deletedAt / description
      Previous value: -"restore: a deleted_at from the deleted list (undoes that whole delete)."New value: +"restore: a deleted_at (undoes that whole delete)."
    • changedInput schema / properties / set / description
      Previous value: -"bulk_update: { city?, source?, position?, companyId? }."New value: +"bulk_update: { city?, source?, position?, companyId?, status? }."
    • addedInput schema / properties / set / properties / status
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Used by: create, update. Status name; default if omitted.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / deletedAt / description
      Previous value: -"restore: undo one delete, everything it removed (its deleted_at from the deleted list)."New value: +"restore: a deleted_at from the deleted list (undoes that whole delete)."
    • changedInput schema / properties / ids / description
      Previous value: -"Required for: bulk_update; optional for: restore. restore: the deleted records to bring back."New value: +"Required for: bulk_update; optional for: restore. restore: deleted ids."
  4. Changed9 schema fields changed
    • addedInput schema / properties / companyId / description
      Added value: +"Used by: create, update."
    • addedInput schema / properties / email / description
      Added value: +"Used by: create, update."
    • addedInput schema / properties / firstName / description
      Added value: +"Required for: create; optional for: update."
    • addedInput schema / properties / id / description
      Added value: +"Required for: update, delete."
    • changedInput schema / properties / ids / description
      Previous value: -"restore: the deleted records to bring back."New value: +"Required for: bulk_update; optional for: restore. restore: the deleted records to bring back."
    • addedInput schema / properties / lastName / description
      Added value: +"Used by: create, update."
    • addedInput schema / properties / notes / description
      Added value: +"Used by: create, update."
    • changedInput schema / properties / phone / description
      Previous value: -"Normalised to E.164."New value: +"Used by: create, update. Normalised to E.164."
    • changedInput schema / properties / position / description
      Previous value: -"Job title."New value: +"Used by: create, update. Job title."
  5. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false; the description adds genuine context beyond them by revealing that delete is a SOFT delete, that restore undoes an entire delete, that merge folds duplicates in and then deletes them, and that update leaves omitted fields untouched. These are exactly the mutation consequences an agent needs before calling. It stops short of covering permissions or failure behavior.

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?

Front-loaded with the resource and then a dense per-action list; every clause carries information and there is no filler. The heavy parenthetical shorthand is efficient but slightly telegraphic, which is the only thing keeping it from a 5.

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 20-parameter, enum-multiplexed mutation tool with no output schema, the description covers every action and its decisive parameters plus the soft-delete/restore relationship. Gaps remain around error semantics and merge preconditions, but nothing essential for correct invocation is missing.

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 already 95%, so the baseline is 3; the description earns more by mapping parameters to actions (keepId+mergeIds for merge, ids+set/customField for bulk_update, tags matched by name with missing ones created). This disambiguates a 20-parameter schema multiplexed across six actions in a way the flat schema cannot.

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?

"Change contacts" is a generic verb, but the sentence immediately enumerates all six operations with per-action semantics (create, update, delete, merge, restore, bulk_update), so an agent knows exactly what the tool covers. It partially distinguishes itself from siblings by pointing restore at contacts_list for deleted ids, though no other sibling differentiation is offered.

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

Usage Guidelines3/5

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

Per-action hints are embedded (firstName required for create; confirm before delete and merge; restore takes deleted ids from contacts_list), which gives real procedural guidance. However, there is no explicit statement of when to choose this tool over adjacent tools such as tags_manage or custom_fields_manage, leaving alternate routes to inference.

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