Skip to main content
Glama

Add tags to a contact

add_tag
Idempotent

Merge one or more tags onto a contact, existing tags are kept. Locate the contact by contact_id or email.

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": {
      "tags": "<tags>"
    },
    "name": "add_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYesTag names to merge (max 50).
emailNoThe contact email address. Use to locate a contact when you do not have its id, or to set a new email on update_contact.
contact_idNoThe contact id (uuid) from find_contact / list_contacts / search_leads.

Output Schema

NameRequiredDescriptionDefault
okNo
tagsNo
addedNo
errorNoPresent only when ok is false.
contact_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnly=false, destructive=false, idempotent=true, and openWorld=false, so the safety profile is covered. The description adds real context beyond them: the merge is additive and "existing tags are kept," which tells the agent that this tool will not replace tags the way some update operations might. It does not describe what happens when the contact is not found or when too many tags are supplied.

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?

There are two short sentences with zero filler. The additive merge semantics are stated first and the lookup mechanism second, which is the correct front-loading.

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?

An output schema exists, the parameters are fully documented, and the annotations carry the safety profile. The one gap is that the description and schema do not jointly address behavior when no matching contact exists (possible creation versus error), which matters because upsert_contact appears as a sibling.

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 coverage is 100%, so the schema already documents all three parameters, including the maximum of 50 tags and the UUID source for contact_id. The description only restates the contact_id/email choice without adding syntax or format detail, so baseline 3 is appropriate.

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: "Merge one or more tags onto a contact." That clearly differs from add_note and update_contact, but the description does not explicitly say how it differs from those siblings, so the agent has to infer that distinction.

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?

The sentence "Locate the contact by contact_id or email" gives the two lookup options and therefore hints at how to use the tool with minimal setup. It does not say when to choose this tool instead of update_contact (which can also set email) or upsert_contact, and it gives no guidance on failure or when the contact does not exist.

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