Skip to main content
Glama

New canvas

new_canvas

Start a fresh drawing while preserving the current one as a saved project. Create initial layers and open the live browser UI when no viewer is connected.

Instructions

Start a NEW drawing (discards the current one from the view; it stays saved as a project). Creates layers bottom→top from layers. Opens the live UI in the browser if no viewer is connected.

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

Input Schema

NameRequiredDescriptionDefault
nameNoTitle (also the project folder name)
widthNopx (default 1600)
heightNopx (default 1200)
layersNoInitial layer names bottom→top, e.g. ["Sky","Background","Sketch","Ink","Color"] (default ["Layer 1"])
openUiNoOpen the browser UI if no viewer is connected (default true)
backgroundNoPaper color, or "transparent" (default #ffffff)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a solid job: it discloses the destructive-from-view behavior, reassures that the prior drawing remains saved, specifies layer creation order (bottom→top), and explains the conditional browser UI launch when no viewer is connected. It does not cover what happens to unsaved state or whether the call is reversible, but the key side effects are surfaced.

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

Conciseness5/5

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

Two tightly packed sentences with the destructive caveat front-loaded in the parenthetical and the secondary behaviors (layer order, UI launch) trailing. No filler or redundancy.

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?

All six parameters are optional and documented, and the description explains the invocation-side effects an agent needs. With no output schema, it could say a bit more about what is returned (e.g., canvas or project identifier), which is the main remaining gap.

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 100%, so every parameter is already documented with defaults and even an example for layers. The description only reinforces the layer ordering and openUi conditional, which are largely restatements of schema text, so baseline 3 applies.

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 ('Start a NEW drawing') and immediately scopes it against the project model by noting the current drawing is discarded from the view but stays saved as a project. This lets an agent distinguish it from load_project or save_project without opening 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 Guidelines4/5

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

The 'NEW' emphasis and the note that the prior drawing is only discarded from the view give clear context for when this is appropriate versus resuming existing work. It never names an explicit alternative tool (e.g., load_project) as a when-to-use fork, so no exclusion is stated.

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