Skip to main content
Glama

Update a lead name

update_lead_name
Idempotent

Correct the name of one of the authenticated user's leads. Takes a campaign lead id from list_leads and changes only that campaign's copy of the contact, so the same person in another campaign is not changed. Does not alter the email address, draft, status or sending state, and does not send anything.

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": {
      "lead_id": "<lead_id>",
      "name": "<name>"
    },
    "name": "update_lead_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe corrected contact name.
lead_idYesThe campaign lead to rename. Get its id from list_leads.
idempotency_keyNoOptional. Send the SAME value when retrying a call you are unsure completed, so the edit runs once.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that only one campaign's copy is renamed while the same person in another campaign is untouched, and enumerates the fields that will not change. Combined with destructiveHint=false and idempotentHint=true, the risk profile is clear. The description doesn't restate the idempotency-key retry behavior, which lives in the schema.

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, front-loaded with the action and immediately followed by the scope constraint and the list of unaffected fields. No filler or redundant restatement of the title.

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 three-parameter mutation with full schema coverage and annotations, the description supplies the scope and non-effects an agent needs to act safely. The only omission is any indication of the response shape, which is minor for a narrow rename operation with no output schema.

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 both lead_id and name are already documented, including the list_leads sourcing hint. The description reinforces the lead_id provenance but adds nothing about the optional idempotency_key. Baseline 3 applies when the schema carries the parameter detail.

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 ('Correct the name of one of the authenticated user's leads') plus the exact scope: a single campaign's copy of the contact. An agent can distinguish this from draft, status, or sending-state edits without opening the schema.

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

Usage Guidelines4/5

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

Points at the sibling that supplies the required id ('Takes a campaign lead id from list_leads') and states exclusions (email, draft, status, sending state unchanged). It stops short of naming an alternative tool for correcting other fields, but the boundary of this tool is explicit.

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