Skip to main content
Glama

Canvas Inspect Layout

aimixer_canvas_inspect_layout
Read-onlyIdempotent

Use when you need positions and collisions of frames/scenes. Computed from saved graph coordinates (no rendering): per selected frame returns the frame rectangle, the cards whose center lies inside it with approximate bounds, overlapping pairs, cards sticking out of the frame and minimum gaps. Sizes are the editor defaults, not measured pixels. To see the real UI use the widget app tools or aimixer_canvas_view_session. Legacy renderer-only arguments are accepted for cached clients and return renderer_retired instead of fake DOM/screenshot data. Read-only: never changes the saved project.

Input Schema

NameRequiredDescriptionDefault
min_zoomNo
frame_idsYes
project_idYes
expected_revNo
viewport_widthNo
viewport_heightNo
screenshot_frame_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, non-destructive), and the description reinforces this with 'Read-only: never changes the saved project.' It adds genuinely useful context beyond annotations — no rendering occurs, bounds are approximate, and legacy renderer arguments return 'renderer_retired' rather than fake DOM/screenshot data — but it does not describe return shape details or export limits/costs. With annotations carrying the safety profile, a 3 is appropriate for the incremental value added.

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 trigger and the scope constraint are front-loaded in the first two sentences, and the alternative-tool guidance follows. The result is fairly dense and slightly run-on but no sentence is pure filler.

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 does the work of explaining returns (frame rectangle, contained cards with approximate bounds, overlapping pairs, overflow cards, minimum gaps). What remains thin is parameter-level guidance for expected_rev, min_zoom, and the exact identity of the legacy arguments.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% with 7 parameters and no per-parameter descriptions in the schema, so the description bears full responsibility. It only hints that frame_ids selects frames and vaguely gestures at 'legacy renderer-only arguments' (likely viewport_width/height, min_zoom, screenshot_frame_id) without naming which parameters those are, and says nothing about expected_rev or min_zoom semantics. Substantial compensation is missing.

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 ('positions and collisions of frames/scenes') plus the computation basis ('from saved graph coordinates, no rendering'). The return payload is enumerated (frame rectangle, cards inside, overlapping pairs, sticking-out cards, minimum gaps), which lets an agent tell it apart from rendering/view tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Opens with an explicit trigger ('Use when you need positions and collisions of frames/scenes') and names the alternative for the real UI case ('aimixer_canvas_view_session' or widget app tools). It also declares a negative condition — sizes are editor defaults, not measured pixels — which keeps the agent from misusing it for pixel-accurate checks.

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