Get saved diagram
get_diagramFetch one of your saved diagrams by id, returning its title, visibility, short link and full source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The diagram id. |
get_diagramFetch one of your saved diagrams by id, returning its title, visibility, short link and full source.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The diagram id. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the read-only, local nature of the call is covered. The description adds useful context by naming the payload (title, visibility, short link, full source), but says nothing about authorization, error behavior for a bad id, or size/limits of the source.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence, front-loaded with the action and resource, with the return payload enumerated efficiently and no filler text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter read tool with no output schema, the description compensates by listing the returned fields, which is the key missing structured information. Minor gap: no indication of failure mode for an unknown id.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There is a single parameter with 100% schema description coverage, so the schema already documents the id. The description only restates that lookup is by id, adding no syntax, format, or sourcing detail beyond the schema. Baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ("Fetch ... saved diagrams by id") and enumerates the returned fields, so the agent knows it retrieves the full stored diagram. It does not explicitly contrast with siblings like describe_diagram or check_diagram, leaving that differentiation to inference.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase "by id" implies the tool is for looking up a known diagram id, but there is no explicit when-to-use guidance and no mention of the sibling tools (describe_diagram, check_diagram, render_svg) that an agent might confuse it with.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.