Skip to main content
Glama

Play a chapter's diagrams

explore_diagram
Read-onlyIdempotent

Interactive: a chapter's own diagrams, played step by step: each flowchart edge or sequence message in order, each node linking the section of the chapter it is about. Call it when the user says "show me the diagram for Lakebase branching" or "walk me through the medallion diagram". The text lists every diagram's nodes, its edges in order and its Mermaid source, so a terminal can draw it.

Input Schema

NameRequiredDescriptionDefault
chapterYesA chapter's slug (lakebase, medallion-architecture), path or URL; list_chapters has them
sectionNoOnly the diagrams in this section: its anchor or heading

Output Schema

NameRequiredDescriptionDefault
noteYes
buildYesThe commit of the deploy that answered
totalYes
ttlMsYesHow long this answer may be kept before asking again, in milliseconds
chapterYes
diagramsYes
index_builtYesWhen this deploy's index was built (ISO 8601)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / diagrams / items / properties / svg
      Added value: +{
      +  "description": "The diagram drawn as SVG in the kit's colours, or null when it could not be drawn",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered; the description adds what the payload actually contains (every diagram's nodes, its edges in order, and the Mermaid source) and that nodes cross-link to chapter sections. That is genuine value beyond structured fields. It leaves slightly unclear how the 'step by step' playback is driven (repeated calls vs. a single listing), which keeps it from 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.

Conciseness4/5

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

Three sentences, front-loaded with the core purpose before examples and payload details. The colon-chained clauses are dense but every sentence contributes (purpose, trigger, output content). Minor redundancy between "played step by step" and "each ... in order".

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?

With an output schema present, the description need not enumerate return values, and both parameters are fully documented in the schema. What it provides — intent matching, traversal semantics, and a note that the text is terminal-renderable — is enough to call the tool correctly. Only the interaction model for 'step by step' remains underspecified.

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%, including the slug/path/URL forms for `chapter` and the anchor-or-heading meaning of `section`, so the schema carries the burden. The description adds only indirect framing ("a chapter's own diagrams") and says nothing extra about how `section` narrows the result set. Baseline 3 is appropriate.

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 states a specific verb and resource — plays a chapter's diagrams step by step, walking edges/messages in order and linking nodes to chapter sections. This is clearly distinct from a generic visualization tool because it is scoped to a single chapter's own diagrams and describes the traversal semantics. It never names a sibling (e.g. `visualize` or `explore_concept`) to sharpen the boundary, so it stops short of a 5.

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

Usage Guidelines4/5

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

It gives explicit trigger utterances ("show me the diagram for Lakebase branching", "walk me through the medallion diagram"), which is strong positive guidance for an agent matching user intent. There is no when-not-to-use clause and no named alternative for cases where the user wants a diagram outside the chapter or an interactive drawing rather than a step listing.

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.