Skip to main content
Glama

bulk_update_documents

Update multiple ERPNext records in one request by specifying a DocType and an array of document names with new data.

Instructions

Bulk update documents

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": {
      "doctype": "<doctype>",
      "updates": "<updates>"
    },
    "name": "bulk_update_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
doctypeYesDocType name
updatesYesArray of updates

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It implies a mutation via "update" and "bulk" but says nothing about atomicity, partial-failure handling across the update array, required permissions, or reversibility — all critical for a batch write tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded phrase with no wasted words, but it is terse to the point of under-specification rather than genuinely concise information design. There is nothing to structure and nothing to trim.

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

Completeness2/5

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

For a two-parameter batch mutation with no annotations and no output schema, an agent needs to know batching limits, failure semantics, and what is returned. The fully described schema covers the parameters, but the behavioral picture is essentially blank.

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 parameters (doctype and updates) are already documented in the schema, which sets the baseline at 3. The description contributes nothing further, but it is not required to given full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "Bulk update documents" only restates the tool name; it adds no verb nuance, scope, or result statement beyond the identifier itself. An agent cannot tell from this text how it differs from siblings like update_document or bulk_create_documents.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusion of alternatives, and no prerequisite information (e.g., whether the documents must already exist). The presence of update_document and bulk_create_documents as siblings makes this omission costly.

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