Skip to main content
Glama

Drawing operation schema

canvas_schema
Read-only

The JSON Schema for canvas_draw ops, and its longer guides. op: one kind's own fields and a worked example (cheaper); without it, every kind, with the fields all ops share in $defs.common and shapes in $defs.shape. topic: a guide instead: "style" (the interface start for screens and pages, then style, palette, composition and order for artwork; read it before a new piece), "paint" (colors, gradients, brushes), "motion" (animation in full), "layout" (stacks: parts placed like a web page) or "brand" (brand kit, reference picture, frames). canvas_draw mode validate checks references, limits and path syntax.

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

Input Schema

NameRequiredDescriptionDefault
opNoan operation kind as canvas_draw lists them, or a list of up to 8: each one's fields, a tip and an example
topicNoa guide: style, paint, motion, layout, shots (long-form: storyboard, dry runs, cheap looks), brand, new (what changed in these tools lately), or a style name (interface, etching…) for the guide canvas_new style gives

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish this as a safe, local read (readOnlyHint=true, openWorldHint=false, destructiveHint=false), so the description only needs to add context, and it does: it discloses the cost trade-off of querying one op ('cheaper') versus all ops, where shared fields and shapes live ($defs.common, $defs.shape), and what validate mode actually checks. It stops short of describing response size or format, but that is a minor gap against otherwise strong disclosure.

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?

Purpose is front-loaded in the first clause, and nearly every phrase carries information — the '(cheaper)' aside and the $defs locations are high-value. The prose is dense and clause-heavy, with the op and topic explanations packed into long run-on sentences, but there is little outright waste.

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?

For a two-optional-parameter reference tool with no output schema, the description does the necessary work: it explains the shape of both possible responses (per-op vs. all-ops with shared definitions) and the alternate guide mode. The incomplete topic list relative to the schema is the one thing an agent could be misled by.

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 genuinely adds meaning: it explains that `op` yields one kind's fields plus a tip and worked example at lower cost, that omitting it returns every kind, and it summarizes the content of each guide named in `topic`. The only weakness is that its topic enumeration ('style, paint, motion, layout, brand') is shorter than the schema's list, which also includes shots, new, and arbitrary style names.

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 opening sentence names the resource precisely — the JSON Schema for canvas_draw operations plus longer guides — so an agent knows this is a lookup/reference tool rather than a drawing tool. It implicitly separates itself from canvas_draw by being the schema *for* its ops, but never explicitly contrasts itself with nearby reference-style siblings such as canvas_recipe or canvas_get.

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?

There is real guidance embedded in the topic list — 'read it before a new piece' for style, and the note that canvas_draw's validate mode checks references, limits and path syntax — which implies when to consult this tool. However, there is no explicit statement of when to call canvas_schema versus canvas_draw directly, or when to prefer a guide over the op schema; the agent must infer the workflow.

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.