Skip to main content
Glama
easyeda-mcp-pro
by oaslananka

Zoom canvas to coordinate

easyeda_canvas_locate
Read-only

Zooms the EasyEDA canvas to specified x/y coordinates at a given scale ratio, changing the user's viewport for PCB or schematic inspection.

Instructions

Zoom canvas to x/y (PCB/footprint: mil; schematic/symbol: 0.01 inch). scaleRatio 200 means 200%. Returned viewport bounds use requested document units only when center-based 1x/10x scaling is verified; otherwise the unit is unverified. Changes the user's viewport.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
tabIdNo
scaleRatioNo

Output Schema

NameRequiredDescriptionDefault
topNo
leftNo
errorNo
rightNo
bottomNo
locatedYes
not_availableNo
viewport_unitNo
coordinate_alignmentNo
viewport_scale_appliedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.19.10
    • addedOutput schema / properties / coordinate_alignment
      Added value: +{
      +  "enum": [
      +    "verified",
      +    "unverified"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / viewport_scale_applied
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / viewport_unit
      Added value: +{
      +  "enum": [
      +    "document",
      +    "unverified"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.19.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Addedv0.19.1

TDQS

A3.5/5.0
Behavior4/5

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

The description adds real context beyond the annotations: it discloses that the call has a visible side effect on the user's viewport, states the scaleRatio percentage convention, and warns that returned viewport bounds use the requested document units only under verified center-based 1x/10x scaling. That last caveat is exactly the kind of unverified-output behavior an annotations block cannot express.

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?

Three short sentences, each with distinct load-bearing content: the operation and units first, the scale convention second, the output-unit caveat last. No filler, no restating of the tool name or title.

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

Completeness3/5

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

With four parameters, no schema descriptions, and no required fields, the agent still lacks guidance on tabId and on the consequences of omitted coordinates, even though an output schema exists and the description addresses the two hardest ambiguities (units and scale). Adequate but incomplete for the ambiguity of an entirely unspecified parameter set.

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 coverage is 0%, so the description must carry the parameter burden. It does well for scaleRatio (200 means 200%) and gives meaningful units for x/y, but tabId is never mentioned and there is no hint about defaults or what omitting x/y does when zero parameters are required.

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?

"Zoom canvas to x/y" gives a specific verb and target, and the parenthetical unit conventions (mil for PCB/footprint vs 0.01 inch for schematic/symbol) make the resource precise. It never names or contrasts with sibling viewport tools such as easyeda_canvas_capture, so sibling disambiguation is left implicit.

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

Usage Guidelines2/5

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

The description explains what the tool does but never says when to reach for it instead of a related tool, nor what preconditions apply (does tabId need to be open/active first?). No alternatives or exclusions are given.

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

Deploy Server

Other Tools