Skip to main content
Glama

Kalpana Designer

Render a design

render_design
Read-onlyIdempotent

A PNG of the design, rendered as it will export. Check the work with it after each meaningful change. Zoom with region or node_id, read pixel colours with sample_points, or judge shapes with hide, only and mode; time shows one moment of an animation. For layout problems as data use check_layout; for many moments of an animation use render_contact_sheet. Previews are PNGs at most 800 px on the longest side, with a faint repeating "Kalpana preview" mark. The mark is only on previews; the design, its exports and batch renders do not have it, and sample_points read the design's own colours. Zoom with region or node_id to check small text or detail.

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": "render_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
hideNoHide these layers for this picture only (the design is unchanged).
modeNo"color" (default), "grey" for a value study, or "silhouette" to judge a shape's read (use with `only`).
onlyNoShow only these layers (with their children) for this picture.
timeNoSecond of the animation to show (default 0). See render_contact_sheet for many moments in one picture.
modesNo1 to 3 modes, pictures for each, instead of `mode`.
sizesNoSeveral pictures in one call, each with this longest side in px (1 to 4 values, each at most 800), in place of max_size.
intentNoOptional: a few words on why.
regionNoZoom into this part: [x, y, width, height] in design px.
node_idNoZoom into a layer: its laid-out box grown by `padding`.
paddingNoSpace around `node_id`'s box in design px (default 24).
page_idNoThe page to work on, as returned by create_design.
regionsNoSeveral close-ups in one call: each [x, y, width, height] in design px. Combines with `node_ids`; 4 pictures at most, each `max_size`.
max_sizeNoLongest side of the picture in px (default and at most 800). Zoom with region or node_id for detail.
node_idsNoSeveral layers to zoom into, one picture each (box grown by `padding`).
page_idsNoInstead of page_id: up to 5 pages to draw with the same settings, each labelled with its page. Each page is its own render.
sample_pointsNoPoints [x, y] in design px whose colour to read; returned as {x, y, hex, alpha}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / modes
      Added value: +{
      +  "description": "1 to 3 modes, pictures for each, instead of `mode`.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / page_ids
      Added value: +{
      +  "description": "Instead of page_id: up to 5 pages to draw with the same settings, each labelled with its page. Each page is its own render.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "page_id"
      -]New value: +[]
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds non-obvious behaviour: previews are capped at 800 px on the longest side and carry a faint 'Kalpana preview' watermark, while exports and batch renders do not, and sample_points read the design's own colours rather than the marked preview. That watermark caveat is exactly the kind of trap an agent would otherwise misread. It stops short of describing how multiple pictures are returned or ordered when combining regions with node_ids.

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?

Front-loaded with the core statement and efficiently packed, but the instruction 'Zoom with region or node_id' recurs three times (opening list, watermark caveat, closing sentence), which is redundant for a description this short. Every other sentence carries distinct information, so the waste is small rather than structural.

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?

For a 16-parameter, zero-required, read-only render tool with no output schema, the description covers the essentials an agent needs: what the output is (PNG at export fidelity), its limits (800 px, preview watermark), how to get detail (region/node_id), how to sample true colour, and when to pick a sibling instead. Nothing material to calling it correctly is missing.

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 100%, so the baseline is 3, but the description adds selection guidance the schema does not: use mode/only/hide to judge shapes, use region or node_id to inspect small text or detail, and use `time` for a single animation moment. It reinforces the max_size/zoom relationship ('Zoom with region or node_id for detail'). The 16 parameters are otherwise left to their own (detailed) schema entries.

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?

Opens with a specific verb+resource+output: 'A PNG of the design, rendered as it will export.' It also names the sibling tools it is not (check_layout for layout data, render_contact_sheet for many animation moments), so an agent can separate it from the other render tools without reading a schema.

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?

Gives an explicit usage rule ('Check the work with it after each meaningful change') plus explicit routing conditions to alternatives: check_layout for layout problems as data, render_contact_sheet for many moments of an animation. It also states which parameters select which sub-behaviour (region/node_id for zoom, time for a single animation moment).

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