Skip to main content
Glama

Stride — AI software delivery platform

Generate diagram

stride.generate_diagram

Generate an architecture diagram for a story from its title + description + acceptance criteria. Pick a type (System Context / Container / Component / Deployment / Sequence / Data Flow / ERD / State Machine / BPMN) or pass "AUTO" to let Stride choose. Persists a draft diagram in the Design module and links it to the story. Identify the story by ticket key (e.g. "ORB-526") or UUID. Can take up to ~4 minutes, longer than many MCP clients wait. If it is still running after about 52 seconds this tool answers "still running" with a toolCallId and finishes in the background, saving the result when done. Meanwhile a repeat call for the same story (for a refine, the same option) starts nothing and answers "still running" again; stride.get_tool_call_status follows the run: given that toolCallId and waitSeconds 40 it waits for the run (a 3-minute run takes about 5 calls) and returns the result once it is saved, or says it failed. Cancelling the call before it answers stops the run and saves nothing.

Input Schema

NameRequiredDescriptionDefault
storyIdYesStory ticket key like "ORB-526" (preferred) or a Stride UUID.
diagramTypeNoDiagram type, or "AUTO" (default) to let Stride classify the best fit.
instructionsNoOptional extra guidance (e.g. "focus on the payment flow").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: it persists a draft diagram in the Design module, links it to the story, can run for about four minutes, returns "still running" with a toolCallId after roughly 52 seconds, continues in the background, ignores duplicate calls while running, and saves nothing if cancelled. These details are critical for an agent invoking a long-running, non-read-only operation.

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 with the purpose, then covers the diagram type and story identifier, then the async behavior. It is somewhat long, but nearly every sentence carries operational value for a complex long-running tool; minor tightening is possible but not required.

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?

For a tool with no output schema and complex async behavior, the description is largely complete: it explains persistence, linking, polling, repeated calls, and cancellation outcomes. The main remaining gap is that it does not describe the exact shape of a successful saved result beyond saying it is returned by stride.get_tool_call_status.

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%, so the schema already documents storyId, diagramType, and instructions thoroughly, including the enum values and AUTO default. The description reinforces the ticket-key/UUID format and type selection but does not add meaningful parameter semantics beyond the schema.

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: it generates an architecture diagram for a story using the story's title, description, and acceptance criteria. The word "architecture" and the diagram-type list distinguish it from sibling generation tools such as stride.generate_process and stride.generate_ui_design.

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 clear usage context: identify the story by ticket key or UUID, choose a diagram type or AUTO, and optionally pass extra instructions. It also explains the async continuation path via stride.get_tool_call_status and repeat-call behavior, though it does not explicitly compare itself against the other generate_* siblings.

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.