Skip to main content
Glama

Stride — AI software delivery platform

Get diagram

stride.get_diagram
Read-onlyIdempotent

Read one architecture diagram (ERD, BPMN, system context, container, component, deployment, sequence, data flow, or state machine) as its semantic graph: components with type / technology / description, and connections with resolved endpoint names. Canvas geometry is omitted. Use list_diagrams to discover ids, or the diagrams section of get_story_context for the diagrams linked to a story.

Input Schema

NameRequiredDescriptionDefault
diagramIdYesUUID of the architecture diagram.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world behaviour, so the description doesn't need to repeat them; it adds real value by describing the return shape (components with type/technology/description, connections with resolved endpoint names) and the deliberate exclusion of canvas geometry. Missing only error behaviour for unknown or deleted diagram ids.

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?

Front-loaded with the action and the returned payload, then the geometry caveat, then the sibling pointers. Every clause earns its place; nothing repeated or padded.

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 carries the return-shape burden and does so competently, plus it names the diagram taxonomy and id source. It would be complete at 5 with a note on what happens for a stale id or an unauthorized diagram.

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?

Only one parameter and schema coverage is 100%, so the schema already documents `diagramId` as a UUID. The description contributes only the hint to obtain ids from list_diagrams, which is a baseline-level addition rather than new format or constraint detail.

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 (read one architecture diagram), enumerates the diagram kinds covered, and describes exactly what is returned: a semantic graph of typed components and named connections, with canvas geometry omitted. That distinguishes it immediately from list_diagrams and from the broader context tools.

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?

Explicitly points to list_diagrams for id discovery and to the `diagrams` section of get_story_context for story-linked diagrams, which is clear routing guidance. It stops short of saying when not to use it, e.g. when a design or process document would be the better source.

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.