Skip to main content
Glama

read_canvas

Lists all canvas widgets (id, kind, title, live status, selection, position/size) and human annotations with targets and replies; flags unanswered questions for reply_annotation.

Instructions

List every widget on the canvas with its id, kind, title, live status, selection and position/size in pixels, plus every annotation the human drew (kind arrow|circle|highlight|note, text, replies, and target: the widget and data points it points at). pendingQuestions lists marks with a question you have not answered yet: answer each with reply_annotation. Check this when the human says "look at this" or "see my note".

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

Input Schema

NameRequiredDescriptionDefault
canvasNoNamed canvas (project). Default: the git root of the agent's cwd, or MCP_SCREEN_CANVAS.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / canvas
      Added value: +{
      +  "description": "Named canvas (project). Default: the git root of the agent's cwd, or MCP_SCREEN_CANVAS.",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the behavioral burden, and it does well: it discloses the return structure, that annotations include replies and a target (widget plus data points), and that pendingQuestions surfaces unanswered marks requiring reply_annotation. It does not spell out read-only safety or any auth/rate-limit constraints, but the 'List/read' framing makes read-only nature clear.

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 definition is front-loaded: the returned data is described first, then the pendingQuestions behavior, then the trigger phrase. It is dense but each clause (field lists, target semantics, reply_annotation routing) contributes information, with only mild parenthetical overload.

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?

With no output schema, the description must explain return values itself, and it does so thoroughly, down to nested annotation fields and target data points. For a one-optional-parameter read tool, an agent has everything needed to call and interpret it.

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% and the single optional 'canvas' parameter is fully documented there, including its default. The description adds nothing about parameter syntax or selection beyond what the schema already provides, so the baseline 3 applies.

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 gives a specific verb-and-resource pair ('List every widget on the canvas') and enumerates the returned fields (id, kind, title, live status, selection, position/size) plus annotations with their attributes. Its whole-canvas scope implicitly distinguishes it from the sibling read_widget, but it never names that sibling, so differentiation relies on inference.

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 states a concrete trigger ('when the human says "look at this" or "see my note"') and routes pending questions to reply_annotation, which is real when-to-use guidance plus an alternative. It stops short of stating when not to use it, e.g. reading a single widget with read_widget.

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