Skip to main content
Glama

Inspect or edit a click-through prototype

canvas_prototype

List a canvas prototype and broken links (no edits), or apply edits atomically. Artboard names and object names or paths resolve to stable IDs. Commands: {op:"start",board:"home"}; {op:"action",board:"home",object:"Continue",type:"go",target:"details"} (use area:{x,y,w,h} in canvas coordinates in place of object for a hotspot, and label for accessibility); trigger:"click"|"hover" (hover supports state, open, dismiss, and mode, with optional revert:true); transition:{kind:"none"|"fade"|"slide"|"morph",dur?:0..3000,ease?:string} ("morph" Smart Animates matching named objects across states or artboards); type:"mode" with target:"dark"|"light"|"toggle" switches kit color mode live; type:"canvas" opens the normal page of another canvas in the same design project (target is its canvas ID or link and the viewer needs access); type:"back" returns in the navigation stack. {op:"state",board,name,options:{notes:["Notes group"],transcript:["Transcript group"]},default:"notes"} switches top-level groups; overlay:true with one option makes a panel, closed by default. Action type:"state" takes target (state name or ID) and option; "open" and "dismiss" take an overlay target. {op:"audio",board,offset:0,duration:12,clips:[{id,name,from:0}]} attaches one or two uploaded clips over the same duration; clip from is a file-relative offset and offset is the displayed timeline origin. Optional display names a text object and playhead:{object,dx} moves a drawn playhead horizontally in canvas units. Action types "toggle", "seek" (seconds on the displayed timeline), "clip" (target clip ID). To change an action, reuse its id or source object and artboard; to remove, {op:"remove",kind:"actions"|"states"|"audio",id} or select by board plus object/name (board alone for audio). upload:true gives a short-lived WAV upload URL. Canvas_edit {frames:{rename:{from,to}}} renames a frame while keeping incoming links.

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_prototype"
  }
}

Input Schema

NameRequiredDescriptionDefault
editsNo
canvasNo
uploadNo
expected_revisionNo

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 declare non-readonly, non-destructive, closed-world, so the description's added facts matter: edits apply atomically, upload:true yields a short-lived WAV URL, and type:"canvas" cross-project links require viewer access. It omits how expected_revision conflicts behave on write, which is the one behavioral gap for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, and nearly every clause is real specification rather than filler. The cost is structure: a single dense run-on that mixes op grammars, action types, transitions, audio and removal semantics, making it hard to scan for the piece you need.

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

Completeness2/5

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

For a complex, highly parameterized mutation tool with 0% schema coverage and no output schema, key pieces are missing: the never-explained `canvas` and `expected_revision` parameters, and any indication of what the list/broken-link response contains even though no output schema supplies it. The command grammar is thorough, but completeness at the top level is not.

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%, so the description must carry the load. It documents the `edits` item grammar exhaustively and explains `upload:true`, but never mentions `canvas` or `expected_revision` — the latter a concurrency token that materially affects correct invocation. Roughly half the top-level surface is compensated.

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 opening sentence names both verbs and the resource precisely: list a canvas prototype plus broken links, or apply edits atomically. The read/write split is unambiguous, and an agent can tell this apart from a plain canvas reader 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 Guidelines3/5

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

The '(no edits)' parenthetical signals the inspection mode is non-mutating, and the closing sentence points to Canvas_edit for frame renames. However, it never states when to reach for this over canvas_get, canvas_edit or canvas_look generally, so routing is inferred rather than guided.

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.