Skip to main content
Glama

Kalpana Designer

Read a design

get_design
Read-onlyIdempotent

Read a design's layers after layout: id, type, name, box [x, y, w, h] in design px, text, colours, layout flow and each layer's etag, plus the fonts used. Read-only. Use it before changing a design, for the layer ids update_layers and edit_structure take; to see the design use render_design, and to find problems check_layout. compact shortens the reply, node_id with depth reads one branch, time gives positions at a moment of the motion, with_preview adds a small picture, and timeline: true adds what moves on each layer and when (with node_id, its keyframes).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page_id": "<page_id>"
    },
    "name": "get_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNo
depthNoLevels of children to include (all when omitted).
intentNoOptional: a few words on why.
compactNoA shorter reply, to look rather than edit.
node_idNoDescribe only this layer and what is inside it.
page_idYesThe page to work on, as returned by create_design.
timelineNoAlso return the timeline: length, still time, choreography and what moves on each layer and when; with node_id, that layer's keyframes [time, value].
with_previewNoAlso return a small picture of the scene (at `time`, default 0).
timeline_detailNoLike timeline, with keyframes as {t, value, easing, hold} to tune with edit_keyframes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured fields. The description contributes additional behavioral context beyond that: `compact` yields a shorter look-only reply, `with_preview` adds a picture, and `timeline: true` adds motion/keyframe data. It doesn't discuss response size or performance limits for large designs, which keeps it just below a 5.

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?

It front-loads what the tool returns before usage guidance and parameter notes, so the most important information comes first. The final sentence packing five parameters is dense but each clause carries distinct information; slight length is the only deduction.

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

Completeness5/5

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

There is no output schema, so the description bears the burden of describing return values, and it does so thoroughly (field list plus preview/timeline variants). For a 9-parameter read tool, an agent has everything needed to call and interpret it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already high at 89%, so the baseline is 3. The description goes further by explaining combinations the schema states only per-parameter: `node_id` with `depth` reads one branch, `time` gives positions at a moment of the motion, and timeline with node_id returns that layer's keyframes. That relational semantics is genuine added value.

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 ('Read a design's layers after layout') and then enumerates the returned fields (id, type, name, box, text, colours, etag, fonts), which tells an agent exactly what this tool produces. It is clearly distinguishable from render_design (visual output), check_layout (problem finding), and update_layers/edit_structure (mutations).

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance ('Use it before changing a design, for the layer ids update_layers and edit_structure take') and names three alternatives with the conditions that select them: render_design to see the design, check_layout to find problems. This is exactly the routing information an agent needs.

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.

Resources