Skip to main content
Glama

Measure a design's sections

iter0_design_layout
Read-onlyIdempotent

Used by the iter0 card. Returns a light copy of an owned design's page (images and scripts removed) in widget-only metadata, so the card can outline a section when the person points at the preview. Read-only.

Input Schema

NameRequiredDescriptionDefault
designIdYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already carry readOnly/idempotent/non-destructive/closed-world, and 'Read-only' merely restates them. However, the description adds real context beyond annotations: images and scripts are stripped, the payload is widget-only metadata, and the design must be owned by the caller.

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?

One dense sentence, no filler, with the producing context front-loaded. The 'so the card can outline a section' clause is slightly inside-baseball for an agent but earns its place by explaining the return shape's purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be spelled out, and the ownership plus stripped-content facts are covered. Still missing is any disambiguation from iter0_get_design, which returns presumably related data and is the most likely wrong pick for this task.

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 0% for the single designId parameter, so the description must compensate. It adds the meaningful constraint that designId must refer to an owned design, but gives no format, source, or validation hints.

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?

The description states concretely what is returned: a light copy of an owned design's page in widget-only metadata. This differentiates it in substance from iter0_get_design and iter0_read_canvas_page, though it never names those siblings, and the 'measure/layout' framing in the name does not obviously map to 'return a page copy'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Used by the iter0 card' and 'when the person points at the preview' imply a trigger context, but there is no explicit when-to-use versus iter0_get_design or iter0_read_canvas_page, and no when-not guidance. Usage is inferable rather than stated.

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.