Skip to main content
Glama

create_architecture_diagram

Generate layered architecture diagrams by defining layers, components, and connections, producing an editable Excalidraw file for system design.

Instructions

Create a layered architecture diagram.

Args: layers: List of layers, each with 'name' and 'components' list. Example: [{"name": "Frontend", "color": "blue", "components": [{"label": "React App"}, {"label": "Next.js"}]}] connections: List of connections between components. Example: [{"from": "React App", "to": "API Server"}] output_path: Optional output file path

Returns: Path to the generated .excalidraw file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
themeNolight
layersYes
connectionsNo
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It does disclose a useful side-effect: the tool generates an .excalidraw file and returns its path. However, it is silent about important behaviors such as overwriting an existing output_path, the default file location when output_path is omitted, and any constraints around layer/component matching.

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

Conciseness4/5

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

The description uses a clean Args/Returns structure and includes compact JSON examples that earn their place. It is front-loaded with the purpose and stays reasonably short, though the omissions around theme and output behavior keep it from being fully polished.

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?

The definition is adequate for a simple file-generating tool: it explains the main inputs, gives examples, and states the return value. But it leaves out the theme parameter, lacks guidance on default output behavior, and provides no differentiation from sibling tools, so an agent may still need to make assumptions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description compensates well with concrete examples for layers (name, color, components) and connections (from, to), and it marks output_path as optional. The main gap is the theme parameter, which appears in the schema but is not described, making the compensation strong but incomplete.

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 opens with a specific verb and resource: 'Create a layered architecture diagram.' The examples also clarify the intended artifact. However, it does not distinguish this tool from sibling diagram creation tools like create_diagram, create_flowchart, or create_network_diagram.

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 guidance about when to use this tool versus alternatives, when not to use it, or what makes it preferable to create_flowchart or import_mermaid. The only signal is the tool name and the phrase 'layered architecture diagram,' which requires the agent to infer applicability.

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

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/maaker-ai/excalidraw-mcp'

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