Skip to main content
Glama

Get canvas frame

get_canvas_frame
Read-onlyIdempotent

Get a frame's bounds and the IDs of the items inside it, as used to export the frame. hasMore and overflowReason report a frame too large or crowded to list in full.

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": {
      "canvasId": "<canvasId>",
      "frameId": "<frameId>"
    },
    "name": "get_canvas_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameIdYesItem ID of a frame.
canvasIdYesCanvas ID, from list_canvases.
itemLimitNoItem IDs to return, 1 to 500.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuine value beyond that by disclosing truncation semantics: hasMore and overflowReason signal a frame too large or crowded to list in full, which the annotations do not convey.

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?

Two tightly written sentences with the primary capability front-loaded and the overflow caveat placed after it. No redundant or filler phrasing; only 'as used to export the frame' is slightly oblique.

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?

With no output schema, the description carries the burden of describing returns and does so: bounds, item IDs, hasMore, and overflowReason. For a small three-parameter read tool this is close to sufficient, with only the relationship between itemLimit and truncation left implicit.

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 canvasId, frameId, and itemLimit (1-500) are already fully documented in the schema. The description adds no meaning beyond that, though it does mention the overflow signals that relate to itemLimit behavior; 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?

States a specific verb and resource ('Get a frame's bounds and the IDs of the items inside it') and names the payload contents, so the agent knows exactly what comes back. It does not explicitly distinguish itself from near-siblings such as get_annotation_frame or list_canvas_items, which keeps it shy of a 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?

The phrase 'as used to export the frame' hints at the intended use case, but there is no explicit when-to-use rule and no named alternative for retrieving frame contents or item lists. Usage must be inferred from the purpose statement.

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.

Resources