Skip to main content
Glama
amoCRM MCP Server

amoCRM MCP Server

by AntonTera

Batch Update Leads

batch_update_leads

Update multiple leads in one API call (up to 50) and receive per-item success or failure results for reliable bulk changes.

Instructions

Update multiple leads in a single API call (max 50).

Each item must include an 'id' field plus fields to update: name, price, status_id, pipeline_id, responsible_user_id, custom_fields_values. Returns per-item results including both successes and failures.

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": {
      "input": "<input>"
    },
    "name": "batch_update_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesInput for batch_update_leads tool. Max 50 items per call (C-3).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does disclose the two behaviors that matter most for a batch mutation: the hard cap of 50 items and that results are per-item, mixing successes and failures (so a partial failure does not silently abort everything). It omits atomicity/rollback guarantees and any permission or rate-limit context.

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 short sentences, front-loaded with the operation and its limit, followed by item shape and return semantics. No redundant phrasing and nothing buried.

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 batch mutation with nested objects, the description covers the size limit, required id, updatable fields, and per-item result shape, and an output schema exists so return values need not be detailed further. The remaining gap is whether unspecified fields are preserved or cleared, which matters for a partial-update tool.

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 100%, but the schema leaves the item objects open with additionalProperties=true and no field list. The description compensates by enumerating the updatable fields (name, price, status_id, pipeline_id, responsible_user_id, custom_fields_values) and restating the required 'id', which is genuine meaning beyond 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?

States a specific verb and resource with scope: 'Update multiple leads in a single API call (max 50)'. The word 'multiple' and 'single API call' implicitly distinguishes it from the singular leads_update sibling, but no sibling is named explicitly.

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?

Usage is only implied: batching many lead updates into one call. The description never says when to prefer this over leads_update (single) or how it differs from batch_create_leads, and gives no prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.