Skip to main content
Glama

update_lead_assignment

Destructive

Assign or clear a lead's setter and closer roles.

This CRM write is limited to Creator and Manager roles. It emits the same assignment events and todos as the in-app and REST paths, and it never returns member contact data.

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

Input Schema

NameRequiredDescriptionDefault
lead_idYes
closer_idNo
setter_idNo
clear_closerNo
clear_setterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint=false/destructiveHint=true annotations, it discloses the authorization boundary (Creator/Manager only), the side effects (emits the same assignment events and todos as the in-app and REST paths), and a privacy guarantee (never returns member contact data). That is exactly the extra context annotations cannot carry for a destructive write.

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?

Three short sentences, front-loaded with the operation before the caveats. The information is dense and relevant with no filler, though the mid-sentence line breaks slightly interrupt reading flow.

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 five-parameter destructive mutation with an existing output schema, the key concerns are authorization, side effects, and return privacy, all of which are covered. The remaining gap is the unaddressed interaction between id parameters and clear flags.

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 0%, so the description carries the burden. 'Assign or clear' explains the intent of the closer_id/setter_id versus clear_closer/clear_setter pairs, but it never states precedence when an id and a clear flag are both provided, nor what lead_id identifies beyond the name.

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 opens with a specific verb and resource: 'Assign or clear a lead's setter and closer roles.' That is materially distinct from the neighboring update_lead_contact and update_lead_lifecycle tools. It stops short of explicitly naming those siblings, so it does not fully earn a 5.

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?

It gives an important access precondition ('limited to Creator and Manager roles') that tells an agent when this call will fail. It does not, however, say when to prefer this over adjacent lead-mutation tools or what to do if both an id and its clear flag are supplied.

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