Skip to main content
Glama

Get drawing guide

get_drawing_guide
Read-only

Retrieve the XML drawing guide for diagram creation, covering format, layout, edge routing, style, and editing rules. Optionally get a focused reference for tables, layers, or groups.

Instructions

Return the drawing guide: XML format, layout, edge routing, style and editing rules. start_session already returns it; call this only if the guide is no longer in your context. With topic, returns a short XML reference for tables, layers or groups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicNoReturn only the XML reference for this topic instead of the whole guide.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the guide is normally supplied by start_session, and the output is scoped when a topic is given. It stops short of describing response size or format details, keeping it at a 4 rather than a 5.

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?

Three tightly written sentences with no filler. The core purpose and the redirect to start_session come first, with the optional topic behavior last, which matches its lower priority.

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

Completeness4/5

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

For a read-only, zero-required-parameter tool with no output schema, the description covers what the guide contains and when the cached copy obviates the call. The only minor gap is that it does not characterize the size or structure of the returned XML, though the topic enumeration partially covers this.

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% and the single enum parameter is fully documented in the schema, so the baseline is 3. The description restates that topic yields a short XML reference for tables, layers or groups, which mirrors the enum values without adding syntax or format detail beyond it.

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

Purpose5/5

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

States a specific verb and resource ('Return the drawing guide') and enumerates the guide's contents (XML format, layout, edge routing, style and editing rules). The optional topic variant is also distinguished, so the agent can tell it apart from sibling tools like start_session or get_shape_library.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use condition ('call this only if the guide is no longer in your context') and names the alternative path (start_session already returns it). The conditional topic usage is also explained, so no inference is required.

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