Skip to main content
Glama

create_diagram

Create flowchart, sequence, network, ERD, or custom diagrams and save them as .drawio files. Define nodes, steps, shapes, entities, connectors, and relationships to build your diagram.

Instructions

Create various types of diagrams (flowchart, sequence, network, erd, custom) and save to a file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesData for the diagram, structure depends on type
typeYesType of diagram to generate
filenameYesName for the output .drawio file (extension added automatically)
Behavior2/5

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

No annotations are provided, so the description must fully convey behavioral traits. It only states 'create' and 'save to a file', but fails to disclose side effects (e.g., file overwrite behavior), required permissions, error handling, or success/failure indicators. This is insufficient for a write operation.

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?

The description is a single sentence that efficiently conveys the tool's purpose and key differentiator (various diagram types). No superfluous words; every part contributes to understanding.

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

Completeness3/5

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

Given the tool's complexity (3 params, nested objects, no output schema), the description is somewhat lacking. It does not explain return values, error conditions, or whether the file is created/overwritten. However, the missing details are partially compensated by the schema descriptions. Overall adequate but not fully complete.

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 the schema already describes each parameter adequately. The description adds little beyond grouping the concept, stating that data structure depends on type. This meets the baseline but does not significantly enhance understanding 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?

The description clearly states the tool creates various types of diagrams (flowchart, sequence, etc.) and saves to a file. It uses specific verb ('Create') and resource ('diagrams'), and includes examples of types. While it adequately conveys the purpose, it could be more explicit about the output file format, which is partially covered in the parameter schema.

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?

No explicit guidance on when to use this tool versus alternatives (no siblings). The description implies usage for diagram creation, but lacks context such as when it is appropriate (e.g., generating visual documentation) and does not mention prerequisites or constraints.

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/thechandanbhagat/diagram-master'

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