Skip to main content
Glama

draw_architecture

Destructive

Generate an Excalidraw architecture diagram from a comma- or newline-separated list of shapes and labels, arranged horizontally with automatic connectors.

Instructions

Replace the scene with a diagram from comma/newline-separated components.

Supports "shape: label" syntax where shape can be rectangle/box, circle/ellipse, or diamond. Components are arranged horizontally with automatic connectors.

All style parameters are optional and apply globally to every element.

Input Schema

NameRequiredDescriptionDefault
promptYes
opacityNo
fillStyleNo
font_sizeNo
roughnessNo
font_familyNo
strokeColorNo
strokeStyleNo
strokeWidthNo
backgroundColorNo

Output Schema

NameRequiredDescriptionDefault
urlYes
edgesYes
nodesYes
statusYes
edge_mapYes
node_mapYes
revisionYes
next_stepYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.6/5.0
Behavior4/5

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

The destructiveHint=true annotation is consistent with the description's explicit 'Replace the scene', and the description goes beyond the annotation by explaining the layout algorithm (components arranged horizontally with automatic connectors) and that styling applies globally to every element. It stops short of saying whether the prior scene is recoverable via undo or whether a save is needed first.

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 core action is front-loaded in the first sentence, and each following sentence adds distinct information (input syntax, layout behavior, styling scope). Size is appropriate for a tool with this much surface; only the heavy code-quoting makes it marginally longer than necessary.

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?

An output schema exists, so return values needn't be described, and the description covers the essential input grammar and layout rule. For a destructive full-scene replacement with ten parameters, though, it omits recovery/prerequisite context (undo availability, guidance on selecting draw_mermaid vs this tool) that an agent would want before wiping a scene.

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 0% across 10 parameters, so the description must carry the load. It does well on the required 'prompt' parameter, documenting the shape-prefix syntax and accepted shape aliases, but it compresses the nine style parameters into one sentence about being optional and global—useful for scoping but not explaining any individual parameter's meaning or interaction.

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 gives a specific verb and effect ('Replace the scene with a diagram') plus the exact input grammar ('shape: label' with rectangle/box, circle/ellipse, diamond) and layout behavior. It is clear what the tool builds, though it never names a sibling such as draw_mermaid to disambiguate between the two diagram-generation paths.

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?

Usage is implied by the input format (a comma/newline-separated component list), which tells the agent this is the bulk-diagram path rather than incremental add_rectangle/add_circle calls. However, there is no explicit 'use this when X, use draw_mermaid instead when Y' guidance or precondition statement.

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