Skip to main content
Glama

clearly_canvas_read

Read-onlyIdempotent

Read a canvas. The default "layers" view returns saved editable fields and canvasNodesRev, with optional layer scoping or an outline. "inspect" returns one layer's geometry, typography, paint and CSS. "measure" returns boxes, gaps, overlaps, alignment deltas or a frame's grid and crowded layers. "text" returns text fit and line counts using saved fonts. "fonts" shows available families and weights and can check a specific face. "vectors" returns a path's vertices, segments and handles. "prototype" returns frame links and the starting frame. "variables" returns brand and workspace variables and text styles. "live" returns viewport and pixels when the canvas is open in an editor. "table" filters or aggregates a spreadsheet card. "preflight" returns press checks, affected layer ids, trim dimensions and output pixels. "grid" returns a frame's layout grid.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>"
    },
    "name": "clearly_canvas_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoinspect, vectors, table, grid: the layer id or unique name; preflight: the print page.
idsNolayers: scope to these layers and their descendants. measure: the boxes to compare.
sortNotable only. Layers are not paged; scope them with ids or outline.
viewNo
frameNomeasure only: a container to audit.
limitNotable only: maximum rows. Layers are not paged; scope them with ids or outline.
textsNotext only: the lines to measure.
whereNotable only. Layers are not paged; scope them with ids or outline.
familyNofonts only.
selectNotable only. Layers are not paged; scope them with ids or outline.
targetYesCanvas id, key or exact title.
outlineNolayers only: names and boxes, not every field.
aggregateNotable only. Layers are not paged; scope them with ids or outline.
fontWeightNofonts only.
checkLoadedNofonts only.
requireLiveNolive only.
includePixelsNolive only.

Output Schema

NameRequiredDescriptionDefault
okYes
codeNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / target / description
      Previous value: -"Canvas id, key or exact title. Use the id returned by creation."New value: +"Canvas id, key or exact title."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

The read-only and idempotent annotations already establish the safety profile. The description adds useful behavioral conditions such as "live" content being available only when the canvas is open in an editor, text measurement using saved fonts, and the default layer output including canvasNodesRev.

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?

The description is front-loaded with the core action and uses compact view-by-view statements without filler. It is somewhat dense as a single paragraph, but the length is justified by the need to distinguish twelve view modes.

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

Completeness5/5

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

For a 17-parameter tool with many modes, the description covers every view and its output focus, including edge conditions like live editor availability. With a rich schema and an output schema present, no essential invocation guidance is missing.

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 94%, so most parameter semantics are already documented. The description still adds meaningful interpretation of the view parameter by mapping each enum value to the content it returns, though it does not explain every parameter interaction in detail.

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 description opens with a specific verb and resource, "Read a canvas," then clearly differentiates twelve named views by what each returns. An agent can tell this is the read operation for canvas content and distinguish its modes without consulting 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 Guidelines4/5

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

It establishes the default "layers" view and explains what each view provides, giving clear context for selecting a view based on the data needed. It does not explicitly exclude views or name alternative sibling tools, so it stops short of full when/when-not guidance.

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.