Skip to main content
Glama

bulk_create_documents

Create multiple ERPNext documents at once by specifying a DocType and an array of document objects.

Instructions

Bulk create 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>",
      "docs": "<docs>"
    },
    "name": "bulk_create_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
docsYesArray of documents
doctypeYesDocType name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/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 behavioral burden and discloses nothing. For a bulk mutation it does not say whether creation is atomic or partial-on-failure, what happens when a document fails validation, whether existing records are overwritten, or what permissions are required.

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

Conciseness2/5

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

It is short, but that brevity comes from omission rather than economy — the single fragment duplicates the title and contains no front-loaded detail an agent can act on.

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?

Two required parameters are fully documented in the schema and there is no output schema, so the schema side is covered. But for a bulk write tool with zero annotations, the description should explain failure semantics and result shape, and it says nothing.

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%: doctype and docs are both documented in the schema, so the baseline of 3 applies. The description contributes no additional meaning, such as whether docs entries must match the doctype schema or how large the array may be.

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?

"Bulk create documents" only restates the tool name; it adds no scope, no target system, and no distinction from siblings such as bulk_smart_create_documents or create_document. An agent learns the verb and resource but nothing about what 'bulk' means here (size limits, batching, mixed doc types).

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 prerequisite or permission note, and no mention of the obvious alternative bulk_smart_create_documents or the single-record create_document. The agent must guess which bulk variant applies.

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