Skip to main content
Glama
Geoffrey-Fang

Draw.io MCP Server

batch_operations

Perform batch operations on diagram elements: create, update, delete, move, copy, or style multiple elements and connections in one call.

Instructions

批量操作图表元素

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionsNo批量操作选项
elementsNo操作的元素列表
operationYes批量操作类型
diagram_idYes图表ID
connectionsNo批量连接定义
Behavior1/5

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

No annotations are present, so the description carries the full burden; it discloses no behavioral traits such as mutation, deletion risk, connection preservation, or required prerequisites. The description is completely opaque about side effects.

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?

The description is a single short phrase, which is concise, but it is under-specified rather than efficiently informative. It omits essential operational details.

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

Completeness1/5

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

With 5 parameters, nested objects, no output schema, and no annotations, the description fails to explain the operation types, options, or side effects, making the tool's behavior largely obscure and incomplete.

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% for top-level parameters, so the baseline is 3. The description adds no extra parameter context, and nested properties like size/position lack descriptions, but the schema already provides meaningful top-level descriptions.

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

Purpose3/5

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

The description '批量操作图表元素' (batch operations on diagram elements) identifies a resource and a broad action, but 'batch operations' is not a specific verb and the tool's actual operations (create, update, delete, etc.) are left to the schema. It does not distinguish this tool from siblings like batch_import or copy_paste.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus individual element operations or batch_import. The description is only a noun phrase and provides no context or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Geoffrey-Fang/drawio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server