Skip to main content
Glama

Shots on a timeline

canvas_shot

A piece in shots, one after another on one timeline (read canvas_schema {topic: "shots"} first). plan lays out the storyboard. shot with ops writes that whole shot in one call, replacing what it had: all or nothing, every error listed; mode validate tries it and saves nothing. shot with len, in, cam, note or print changes its setting. shot alone reads it back as a document (patch it with canvas_edit by name). No arguments: the timeline.

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

Input Schema

NameRequiredDescriptionDefault
inNohow it arrives: cut|fade|push|wipe|slide|iris|brush|whip, or {cut, dur, dir: left|right|up|down}
camNoits camera: {keys: [{at: 0..1, x, y, zoom, rot}], dur?, delay?, ease?}; null for none
lenNoseconds
opsNoevery object in the shot, replacing what it had (its layer is set for you)
defsNoshapes said once, as canvas_draw takes them
lookNothe after preview as canvas_look would show it: {frame (an artboard), view {x, y, w, h}, focus [names], time, strip, span, shot} (alone, it asks for preview after). With no frame, view or focus, a call that painted inside one artboard previews that artboard. With mode validate: a dry run, nothing saved or shown to people
modeNoatomic (default): all or nothing; validate: a dry run, nothing saved or shown to people
nextNo
noteNowhat happens in it (the storyboard line)
planNothe storyboard, first shot first: [{shot: "s1", len: 1.6, in?: "cut", note?: "what happens"}]: makes or updates those shot layers in this order
shotNoone shot: its layer name
printNoits own print finish (canvas_edit {print} has the fields), false for none, null to follow the canvas
canvasNo
working_onNowhat you are about to change: object names, kit fields ("kit.colors.accent") or frames; people watching see them marked as being worked on, and canvas_open tells a second assistant, for a minute or until your next call. A soft claim, not a lock
model_labelNoOptional public model name for the painting cursor, labeled as reported. Use only if your client knows it.
preview_widthNoPixels across for the preview (default 480; alone, it asks for preview after)
expected_revisionNoApply only at this drawing revision

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With only generic annotations (readOnlyHint false, destructiveHint false), the description carries real weight and does: it discloses that shot+ops replaces everything the shot had, that the write is all-or-nothing with every error listed, and that mode validate is a dry run that saves and shows nothing. It also explains working_on as a soft, expiring claim and exposes expected_revision as a concurrency guard. The 'replacing what it had' language sits in mild tension with destructiveHint=false, but the replacement is scoped to one shot and explicitly atomic, so it is not a clear contradiction.

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 is short and front-loaded: the resource definition leads, then behavior branches by argument. Almost every clause carries operational information. The compressed telegraphic style ('shot alone reads it back as a document') costs some readability, and mode semantics are stated twice (in the prose and again in look's description), but there is little true filler.

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 17-parameter, zero-required, nested-object tool with no output schema, the description covers the important decisions: how to select a modality, atomicity and error reporting, the validate dry run, and the no-argument default. Return behavior is described only loosely ('reads it back as a document'), which is acceptable given there is no output schema, and a handful of secondary parameters are left undocumented in prose.

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 88%, so the baseline is 3, but the description adds grouping meaning the schema does not: which parameter combinations select which modality (plan vs ops vs scalar fields vs read). It also clarifies that shot names the layer, and that returning a document is the read path. A few parameters (next, canvas, preview_width, model_label) are left entirely to the schema.

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 description names the resource (a canvas's shots on one timeline) and enumerates the distinct operations the single tool performs: plan for storyboards, shot+ops for whole-shot writes, shot+len/in/cam/note/print for setting changes, shot alone to read. It also distinguishes one neighbor explicitly ('patch it with canvas_edit by name'). It stops short of a single crisp 'this tool does X' sentence because the verb shifts with the arguments.

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?

Selection guidance is argument-based and explicit: use plan for a storyboard, shot+ops to write a whole shot at once, individual fields to tweak one setting, shot alone to read, no arguments to get the timeline, and it points to canvas_edit for patching a returned document. It also gives the prerequisite 'read canvas_schema {topic: "shots"} first'. It does not state when to prefer canvas_draw or canvas_edit instead of writing a shot here, so the exclusion side is thinner than the inclusion side.

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.