Skip to main content
Glama

Capture canvas region image

easyeda_canvas_capture_region
Read-only

Zoom to a rectangular region on the EasyEDA canvas and capture it as a PNG image to visually verify a specific area of your design.

Instructions

Zoom the EasyEDA canvas to a rectangular region (document/canvas coordinates) and capture it as a PNG, so the caller can visually verify a specific area. This moves the user's visible viewport — EasyEDA Pro has no offscreen rendering API. The image is delivered once, as its own content block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topYesFirst vertical edge in document/canvas coordinates.
leftYesFirst horizontal edge in document/canvas coordinates.
rightYesSecond horizontal edge; either edge order is accepted.
tabIdNo
bottomYesSecond vertical edge; either edge order is accepted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
capturedYes
file_nameNo
mime_typeNo
byte_lengthNo
image_base64No
not_availableNo
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses that the viewport moves and that the image is delivered once as its own block. This adds significant behavioral context not captured by annotations alone.

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?

Two sentences, front-loaded with purpose and key limitations. Every word adds value; no redundancy.

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 an output schema present, the description does not need to cover return values. It covers input behavior, side effects, and delivery mechanism completely for a focused tool.

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 80%, and the description adds no meaningful extra semantic detail beyond what the schema already provides (e.g., coordinate ordering acceptance is already in schema). Baseline is appropriate.

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 clearly states the action ('Zoom...and capture as a PNG') and the resource ('rectangular region on canvas'), with the purpose of visual verification. It distinguishes from siblings like easyeda_canvas_capture by specifying region vs full canvas.

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?

The description explains when to use (to verify a specific area) and mentions a crucial tradeoff (viewport movement due to no offscreen API). It does not explicitly exclude alternatives like easyeda_canvas_capture, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oaslananka/easyeda-mcp-pro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server