Skip to main content
Glama
Geoffrey-Fang

Draw.io MCP Server

get_statistics

Retrieve detailed statistics from Draw.io diagrams, including element counts, connections, layer and style usage, with filters, grouping, and analysis options for deeper insights.

Instructions

获取图表统计信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtersNo统计过滤
metricsNo要统计的指标
groupingNo分组统计
diagram_idNo图表ID(不指定则统计所有图表)
output_formatNo输出格式
statistics_typeNo统计类型basic
analysis_optionsNo分析选项
Behavior2/5

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

With no annotations provided, the description must carry the full burden of behavioral disclosure. '获取' implies a read operation, but the description does not explain return format, aggregation behavior, performance implications, or how statistics are computed.

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?

The description is a single short phrase, which is concise. However, it is underspecified for a tool with 7 parameters and nested options, making it more under-specification than appropriately structured.

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?

The tool has a complex schema, no annotations, and no output schema. The minimal description fails to convey the tool's broader capabilities, use cases, or limitations, leaving the agent with insufficient context to invoke it effectively.

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?

The schema description coverage is 100%, providing descriptions for all parameters and nested properties. The tool description adds no additional parameter meaning, so the baseline score of 3 is appropriate.

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 '获取图表统计信息' clearly states the tool's action (get) and resource (chart statistics), providing a specific verb and resource. However, it does not differentiate from sibling tools like get_diagram_info, so it stops short of a 5.

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?

The description gives no guidance on when to use this tool versus alternatives such as get_diagram_info, list_diagrams, or export_diagram. No usage context, prerequisites, or exclusions are mentioned.

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