Skip to main content
Glama

Autotouch AI

Update a lead

leads_update
Destructive

Update an existing lead's standard fields and contact details. Custom fields are set separately. Can reach people outside the workspace (a message, call or connection request, directly or through a sequence). Writes to a connected third-party system. Runs as the signed-in user with their Autotouch permissions.

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": {
      "path_params": "<path_params>",
      "body": "<body>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "leads_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
path_paramsYes
idempotency_keyYesStable key for this exact action; reuse the same key on every retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructive, open-world and non-idempotent behavior, so the bar is lower, but the description adds real context: it writes to a connected third-party system, executes under the signed-in user's Autotouch permissions, and can reach people outside the workspace via a message, call or connection request, directly or through a sequence. What it omits is how omitted body fields are treated (partial merge vs. overwrite) — significant for a tool flagged destructive and non-idempotent, especially given a required idempotency_key.

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?

Four short sentences, front-loaded with the core action and scope exclusion before the environmental caveats about external reach and permissions. The parenthetical '(a message, call or connection request, directly or through a sequence)' is slightly sprawling but conveys genuine fan-out semantics.

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

Completeness3/5

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

For a destructive, non-idempotent mutation with an opaque nested body and no output schema, the description covers side effects, permissions and external visibility well but leaves the payload contract entirely to an undocumented object. An agent knows the risk profile and the scope, yet still does not know what to put in 'body' or how partial updates behave.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, and the largest gap is the 'body' parameter — an unconstrained nested object with no documented properties. The description says the body covers 'standard fields and contact details' but never enumerates or characterizes those fields, so an agent cannot construct a valid payload from the definition. Only idempotency_key and lead_id are self-explanatory from the schema.

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 gives a specific verb and resource ('Update an existing lead') and bounds the scope to 'standard fields and contact details', explicitly noting that custom fields are handled elsewhere. That scope boundary is what a sibling-update tool (e.g. deals_update, tasks_update) most needs, though it stops short of naming the tool that handles custom fields.

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?

There is one useful exclusion ('Custom fields are set separately'), which tells the agent this is not the tool for custom-field changes. However, there is no guidance on when to update versus create a new lead, no prerequisites (e.g. the lead must already exist), and no named alternative for any part of the operation.

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