Skip to main content
Glama

Apply a planned lead change

apply_crm_lead_change
Destructive

Save exactly what plan_crm_lead_change showed. Single-use token. Returns the lead_id.

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": {
      "change_token": "<change_token>"
    },
    "name": "apply_crm_lead_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
change_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the mutation profile is covered structurally; the description adds two things not in annotations: the token is single-use and the call returns the lead_id. It does not spell out which lead fields are overwritten or what happens on a token replay, but the highest-risk constraint (single use, so no retry with the same token) is disclosed.

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?

Three short sentences, each carrying distinct information (source of truth, token lifecycle, return value), with the commit instruction front-loaded. Nothing is redundant with the schema or annotations.

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 single-parameter commit tool with no output schema, the description covers the pairing requirement, the token's single-use nature, and the return value. Missing only failure behavior (expired or already-used token), which is a minor gap given the tool's simplicity.

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 0%, so the description must carry the meaning of change_token, and it does: the token is single-use and must correspond exactly to what plan_crm_lead_change returned. It does not mention token expiry or format, but the essential semantics of the one parameter are supplied.

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 uses the verb 'Save' tied to 'exactly what plan_crm_lead_change showed', making clear this commits a previously computed lead change, and it names the sibling that produces the input. It stops short of saying plainly that it mutates CRM lead records, leaving the resource implicit in the paired tool name and title.

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?

'Save exactly what plan_crm_lead_change showed' establishes the required precondition: call plan_crm_lead_change first and pass its output. There is no explicit statement of when not to call it or what to do if the token is stale, but the prerequisite ordering is unambiguous.

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