Skip to main content
Glama

design_read

Reads a design document outline with node IDs, types, text, locked flags, and frame so you can reference valid IDs in design_patch instead of inventing them.

Instructions

Read the design document outline: node ids, types, text, locked flags and the design frame. Use ids from here for design_patch; never invent ids.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "design_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootIdNoOnly this subtree
maxDepthNoLimit depth (default 6)
projectIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden. 'Read' plus the enumerated return fields establishes this as a non-mutating inspection call and tells the agent what the payload looks like, but it says nothing about size limits, truncation, cost, or required project state.

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?

Two short sentences, return shape first, workflow constraint second. Every clause carries information; nothing is padded or restated from the title or schema.

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 only three optional parameters, no annotations, and no output schema, the definition covers the essentials: what the outline contains and the id-hygiene rule that governs follow-up calls. The main residual gap is the undocumentated projectId and default-scope behavior when no rootId is passed.

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 coverage is 67%: rootId and maxDepth (with its default of 6) are documented inline, while projectId is bare. The description adds nothing about scoping semantics — notably what happens when rootId or projectId is omitted — so it neither compensates for the gap nor adds meaning over 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?

States a specific verb (Read) and resource (design document outline), then enumerates exactly what comes back: node ids, types, text, locked flags, and the design frame. It also names the consumer tool (design_patch), so an agent can tell it apart from the mutation siblings without opening any schema.

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 explicit workflow guidance: pull ids here before calling design_patch, and never fabricate ids. That is a clear when-to-use rule tied to a named sibling. It stops short of a full 5 because it offers no exclusions (e.g. when design_open or design_variants is the better entry point) and no prerequisite/scope conditions.

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