Skip to main content
Glama

Get the registry-wide reference diagram

get_reference_diagram_all

Render a deterministic PlantUML component diagram of the whole reference registry, showing document nodes, unique references, cycle edges, and unresolved targets; optionally exclude FEAT nodes.

Instructions

Render and return the deterministic PlantUML component diagram of the whole reference registry (the frozen rulebook specmgr://reference-graph §2–§5, the registry-wide construction of §3.3): one node per parseable document across all 14 domains (broken documents are skipped -- the render never fails for content), one label-free edge per unique reference ({src} --> {dst}, the referenced item carries the incoming arrow), every edge lying on a cycle (SCC-based) drawn with the red label-free -[#red]-> arrow, and every reference whose target cannot be resolved on disk drawn as a top-level <<UNRESOLVED>> node. Node labels are truncated to SPECMGR_DIAGRAM_MAX_TITLE (default 40). include_feat=False drops every FEAT node (then every edge touching a dropped node); title overrides the diagram title (default: Reference Graph; sanitized but never truncated). Returns PlantUML source (not a specmgr document) -- run it through specmgr plantuml-check (CLI) or the validate_plantuml tool for a validation verdict.

Input Schema

NameRequiredDescriptionDefault
titleNo
include_featNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.36.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so richly: it discloses that broken documents are skipped, rendering never fails for content, cycle edges are red, unresolved references become top-level nodes, labels are truncated by environment default, include_feat drops FEAT nodes and touching edges, and title is sanitized but not truncated. It also clarifies that the return value is PlantUML source, not a specmgr document.

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 is front-loaded and every part carries relevant information, but it is dense and packs many clauses into long sentences. The spec references and parenthetical details are useful for determinism but add reading burden.

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

Completeness5/5

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

For a complex rendering tool with an output schema, no annotations, and 0% schema description coverage, the description is complete enough to call correctly. It covers scope, node and edge construction, special cases, both parameters, return type, and validation path.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it does for both parameters. It explains that include_feat=False drops every FEAT node and every edge touching a dropped node, and that title overrides the default Reference Graph title while being sanitized but never truncated.

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?

The description states a specific verb and resource: render and return a deterministic PlantUML component diagram of the whole reference registry. It clearly differentiates the registry-wide scope from the sibling get_reference_diagram by describing one node per parseable document across all 14 domains and every unique reference edge.

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?

The description gives clear usage context by saying it covers the whole registry and returns PlantUML source rather than a specmgr document, with guidance to validate via specmgr plantuml-check or validate_plantuml. It does not explicitly name get_reference_diagram as the alternative or state exclusions, so it falls short of full when-to-use routing.

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

Deploy Server

Other Tools