Skip to main content
Glama

Canvas settings

canvas_settings

Rename a document, set its paper or background color, and resize the canvas by cropping or extending with an anchor or scaling all content to fit new dimensions.

Instructions

Rename the document, change the paper/background color, or resize the canvas (crop/extend with an anchor, or scale all content).

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

Input Schema

NameRequiredDescriptionDefault
nameNoNew document name
resizeNo
backgroundNoPaper color or "transparent"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'Change' and 'resize' imply mutation, but the description never states whether changes are undoable, whether crop permanently discards pixels, or whether parameters can be applied independently (0 required params suggests partial updates, which is unstated). For a document-mutating tool with zero annotation coverage, this is a substantial gap.

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?

A single sentence, front-loaded with the primary actions and using a parenthetical to hold the mode distinction. Every clause maps to a parameter group and nothing is redundant.

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?

Against a 3-parameter, zero-required, nested-schema tool with no output schema and no annotations, the description covers all three parameter families and the crop/scale semantics. The remaining omission is mutation safety and undo behavior, which matters but does not prevent correct invocation. Slightly richer than minimum viable.

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 coverage is 67%, and the schema itself already explains name, background, the crop/scale enum, and the anchor's applicability to crop mode. The description adds only the notion that crop can also extend, plus a summary framing of the three parameter groups. That is modest added meaning over what the schema already provides, so baseline 3 is appropriate.

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 three concrete operations on a specific resource: rename the document, change the paper/background color, and resize the canvas. It also breaks resize into its two modes (crop/extend vs. scale), which makes the tool distinguishable from layer-level tools like transform_layer. It stops short of naming a sibling explicitly, so it lands at 4 rather than 5.

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?

Usage is implied by the enumerated operations: an agent can infer this is the tool for document-level attributes rather than layer content. However, there is no explicit when-to-use versus alternatives (e.g., new_canvas, transform_layer) and no when-not guidance. The parenthetical about crop vs. scale helps choose a mode but not choose the tool.

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