Skip to main content
Glama

render_architecture_graph

Render a saved validated graph to a compact C4 image, Mermaid source, and optional Markdown/SVG/PNG/interactive HTML, labeling inferred boundaries.

Instructions

Render a saved validated graph directly to a compact C4 image, Mermaid source, and optional Markdown/SVG/PNG/interactive HTML files. Inferred boundaries are labeled.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "graphPath": "<graphPath>"
    },
    "name": "render_architecture_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
graphPathYes
outputPathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0-alpha.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose useful behavior: it emits multiple artifact types and labels inferred boundaries. It does not state that rendering writes files to disk, whether existing files at a target path are overwritten, or what permissions/paths are required, which are the risk-bearing details for a file-producing tool.

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?

Two tight sentences with the primary action and output set front-loaded and no filler. The dense format enumeration slightly hurts scanability but every element is informative.

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?

There is no output schema and no annotations, so the description must cover both behavior and parameters; it handles the output artifacts well but leaves all three parameters unexplained and omits file-write side effects. Adequate for understanding what the tool produces, insufficient for calling it correctly without opening the schema.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, and the description never names graphPath, outputPath, or title. The mention of 'optional ... files' loosely gestures at output selection, but the distinction between the input graph path and the output destination, plus the role of title, is left entirely undocumented.

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 ('Render') and resource ('a saved validated graph'), and enumerates the concrete artifacts produced (C4 image, Mermaid source, optional Markdown/SVG/PNG/HTML). It does not explicitly differentiate itself from the sibling render_c4_mermaid, so an agent must infer which renderer to pick, but the purpose itself is unambiguous.

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 only implied: the phrase 'saved validated graph' hints that the input must already exist and be validated, which is a useful prerequisite. However, there is no explicit when-to-use versus the sibling render_c4_mermaid, no when-not guidance, and no mention of what to do if the graph is unvalidated.

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