Skip to main content
Glama

Get an ArcSync diagram

get_diagram
Read-onlyIdempotent

Fetch a parsed architecture diagram as Mermaid or JSON, including resource relationships and a link to the interactive canvas, to inspect infrastructure-as-code without inferring it from source.

Instructions

Fetch one architecture diagram ArcSync parsed from infrastructure-as-code. format: "mermaid" (default) returns a Mermaid flowchart to show or embed; format: "json" returns the resources and relationships as lists to reason over. Both include a link to the interactive canvas. Prefer this to inferring architecture from source files.

Input Schema

NameRequiredDescriptionDefault
formatNo
graphIdYesThe diagram's graphId, as list_diagrams or get_diagram returns it. The id start_parse returned also works.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and open-world, so the bar is low; the description still adds substantive behavior — what each format returns, that mermaid is the default, and that both responses include an interactive-canvas link. It does not describe error behavior for an unknown graphId.

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 tight sentences, front-loaded with the purpose, then format semantics, then the routing hint. Every clause carries information an agent would otherwise have to guess.

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 no output schema, the description correctly carries the return-value burden by describing both response shapes and the canvas link. Only minor gaps remain, such as failure behavior for a missing or stale graphId.

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

Parameters4/5

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

Schema coverage is 50%: graphId is documented in the schema, but the format enum has no description there. The description compensates by naming both enum values, declaring mermaid the default, and explaining what each yields — real meaning beyond the schema.

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?

States a specific verb and resource with scope: "Fetch one architecture diagram ArcSync parsed from infrastructure-as-code." An agent knows exactly what it gets. It stops short of differentiating from the closest sibling, get_diagram_source, which also sounds like a way to obtain a diagram's content.

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?

Gives clear usage context with "Prefer this to inferring architecture from source files" and prescribes which format to pick for display versus reasoning. It names no exclusions and never says when to use get_diagram_source or get_delta instead, leaving the main sibling ambiguity unresolved.

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