Skip to main content
Glama

Plan adding or updating a lead

plan_crm_lead_change
Read-only

Use this when the owner asks to add a lead or contact, change their details, note that they agreed to calls, or put them on do-not-call. Add a person to the website CRM, or change one (give lead_id from find_crm_leads): name, email, phone, notes, stage, tags, whether they agreed to be phoned (call_consent, with HOW they agreed, in their words or yours), do-not-call, and optionally start them on the follow-up sequence (emails, and texts/AI calls on the phone track). A new lead whose email or phone is already on the board is not added twice: you get the existing lead_id instead. Saves NOTHING: returns what will change and a change_token for apply_crm_lead_change.

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

Input Schema

NameRequiredDescriptionDefault
nameNoRequired for a new lead.
tagsNoReplaces the tags.
emailNoEmpty string clears it.
notesNoReplaces the notes. Up to 2000 characters.
phoneNoWith area code, e.g. +1 571 555 0100. Empty string clears it.
stageNo
clientNoClient website slug (or id). Required for platform-scoped keys.
lead_idNoTo change an existing lead. Leave out to add a new one.
do_not_callNotrue: never phone them again (AI or sequence). false: lift it.
call_consentNoWhether they agreed to be phoned, including by the AI caller. Only record a yes they actually gave.
start_followupsNoStart them on the follow-up sequence from today: "email" track, "phone" track (texts and AI calls), or both. A track they are already on is left alone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces rather than contradicts them by explaining the preview-and-token model. It adds genuinely non-obvious behavior: duplicate detection on email/phone returns the existing lead_id, existing follow-up tracks are left alone, and consent is kept as a record. Minor gap: it doesn't say whether the preview expires or how long the token stays valid.

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 when-to-use clause is correctly front-loaded and the critical 'Saves NOTHING' constraint is placed at the end for emphasis. The middle sentence is a long run-on enumeration with a nested parenthetical ('emails, and texts/AI calls on the phone track') that is slightly harder to scan than necessary, but no sentence is filler.

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

Completeness5/5

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

With 11 parameters, a nested consent object, and no output schema, the description carries the return-value burden itself and does so ('returns what will change and a change_token'). Duplicate handling, consent-recording rules, and the apply step are all covered, leaving nothing material an agent needs before calling.

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 91%, so the baseline is 3, but the description adds real meaning: call_consent should capture HOW consent was given 'in their words or yours' with a caveat to only record a yes actually given, and start_followups begins 'from today' while skipping tracks already active. It also explains the dedupe semantics that govern email/phone handling, which the schema alone does not convey.

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?

States a specific verb and resource ('Add a person to the website CRM, or change one') and immediately names the identifier needed ('give lead_id from find_crm_leads'). It is clearly distinguishable from apply_crm_lead_change, which it names as the follow-up step.

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

Usage Guidelines5/5

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

Opens with explicit trigger conditions (add a lead, change details, note call agreement, set do-not-call) and pins down the planning-vs-applying boundary by stating it 'Saves NOTHING' and returns a change_token for apply_crm_lead_change. An agent knows both when to call it and what to call next.

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