Skip to main content
Glama

Create a Napkin diagram

napkin_diagrams_create

Create a Napkin diagram — an interactive FLOWCHART (process, decision tree, system map), not a doc (napkin_docs_create) or drawing canvas (napkin_boards_create). Pass the mermaid source. Use for process maps the user asked you to draw. After creating, cite it as [[diagram:ID]] alone on its own line — it renders as a clickable card. NEVER cite it as [[board:ID]].

Input Schema

NameRequiredDescriptionDefault
titleNo
sourceNoMermaid flowchart source. Start with `flowchart TD` (top-down) or `flowchart LR` (left-right). Declare shaped nodes — `A["Rect"]`, `B("Rounded")`, `C{"Decision"}`, `D(["Stadium"])`, `E(("Circle"))`, `F{{"Hexagon"}}` — and link them with `A -->|label| B`, `A -.-> B` (dotted), or `A ==> B` (thick). Group steps with `subgraph Name["Title"] ... end`. Color a node with a trailing `style A fill:#fee2e2` line. Only the flowchart subset is supported. Each label is a short name on one line, written plainly: no `\n`, no backslashes before quotes. A step's label is its name everywhere in Compass.
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / source / description
      Previous value: -"Mermaid flowchart source. Start with `flowchart TD` (top-down) or `flowchart LR` (left-right). Declare shaped nodes — `A[\"Rect\"]`, `B(\"Rounded\")`, `C{\"Decision\"}`, `D([\"Stadium\"])`, `E((\"Circle\"))`, `F{{\"Hexagon\"}}` — and link them with `A -->|label| B`, `A -.-> B` (dotted), or `A ==> B` (thick). Group steps with `subgraph Name[\"Title\"] ... end`. Color a node with a trailing `style A fill:#fee2e2` line. Only the flowchart subset is supported."New value: +"Mermaid flowchart source. Start with `flowchart TD` (top-down) or `flowchart LR` (left-right). Declare shaped nodes — `A[\"Rect\"]`, `B(\"Rounded\")`, `C{\"Decision\"}`, `D([\"Stadium\"])`, `E((\"Circle\"))`, `F{{\"Hexagon\"}}` — and link them with `A -->|label| B`, `A -.-> B` (dotted), or `A ==> B` (thick). Group steps with `subgraph Name[\"Title\"] ... end`. Color a node with a trailing `style A fill:#fee2e2` line. Only the flowchart subset is supported. Each label is a short name on one line, written plainly: no `\\n`, no backslashes before quotes. A step's label is its name everywhere in Compass."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write/non-destructive profile is covered. The description adds genuinely non-obvious behavioral context: the mermaid-only input expectation and the post-creation citation protocol (cite as [[diagram:ID]] on its own line, never as [[board:ID]]). It stops short of stating auth/workspace requirements beyond what the schema already notes.

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?

Roughly four tight sentences, front-loaded with the identity/exclusion before the input format and the post-create citation rule. No filler or repeated annotation data.

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?

No output schema, but the description reveals the artifact's identity (the returned ID) via the citation format, so the agent knows what comes back. With 0 required parameters the tool is tolerant, and schema handles the input format; only a note on auth/workspace defaults is missing.

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 coverage is 67%; the 'source' parameter carries a rich schema description covering node shapes, link syntax, subgraphs and styling, and 'workspace' documents token behavior. The description only says 'Pass the mermaid source', adding a pointer rather than new semantics, and 'title' stays undocumented in both places. Baseline 3 for a schema doing most of the work.

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, then pins down the artifact type ('interactive FLOWCHART — process, decision tree, system map') and explicitly names the two siblings it is not (napkin_docs_create, napkin_boards_create). An agent can distinguish it from every other napkin_* create tool without opening a schema.

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 a positive trigger ('Use for process maps the user asked you to draw') and explicit exclusions routed to alternatives by name. Nothing about when to pick this over the doc/board create tools is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources