Skip to main content
Glama

Check a Zpup scene

check_scene
Read-onlyIdempotent

Validates a JSON 3D scene without rendering it, returning errors with paths and fixes plus warnings for unintended settings. Use it before drawing to catch geometry and color issues early.

Instructions

Checks a scene without drawing it. Returns every error with its path and how to fix it, and warnings for things that are valid but probably not intended (angles in radians, shapes outside the image, shapes of different colors passing through each other). A scene is plain JSON: { width, height, rotate?, children: [...] } with shapes such as dot, path, ellipse, rect, polygon, box, pyramid, cylinder, cone and hemisphere placed with translate and rotate (degrees). x is right, y is down, z is toward the viewer. Call get_reference once before writing a first scene. The server remembers the last valid scene: a later call can leave scene out to draw it again, or pass changes to edit it.

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

Input Schema

NameRequiredDescriptionDefault
sceneNoThe scene: an object with width, height and children (JSON text of the same is accepted). Call get_reference for the full format. Leave it out to use the scene from the last valid call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed-world profile, so the safety story is covered. The description still adds real value beyond them: the error/warning taxonomy, that warnings flag valid-but-unintended constructs, and that the server retains the last valid scene so a later call may omit it. The phrase 'leave scene out to draw it again' sits oddly against 'without drawing it' and blurs whether a repeat call re-validates or renders.

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 distinction, then progressively adds format and state details; nearly every sentence carries information. The parenthetical example list of warnings is slightly long but illustrates the otherwise abstract notion of a warning.

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?

With no output schema, the description correctly takes on the burden of describing return values (errors with paths and fixes, plus warnings). It also covers the stateful reuse case and the format prerequisite, leaving nothing an agent needs before a correct call.

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 earns more by sketching the scene object (width, height, rotate?, children), naming the shape kinds, and fixing the coordinate convention (x right, y down, z toward viewer, rotate in degrees). That is genuine semantic content the schema does not carry.

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 and resource ('Checks a scene') and immediately scopes it with 'without drawing it', which cleanly separates it from the render_* siblings. An agent can tell this is a validator, not a renderer, without opening the 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 a concrete prerequisite ('Call get_reference once before writing a first scene') and explains the omit-scene reuse pattern. It never explicitly contrasts with render_scene or render_spin, so the when-not-to-use case is only implied by 'without drawing it'.

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