Skip to main content
Glama
sheares

easyeda-mcp-fix

by sheares

pcb_get_primitives_by_id

Read-onlyIdempotent

Retrieve one or more PCB primitives by type and ID to inspect or modify specific board elements, such as components, tracks, or vias.

Instructions

Get one or more PCB primitives by their type and primitive ID(s)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesPrimitive type
limitNoTruncate result array to at most N items
fieldsNoProject results to only these top-level keys. Response includes _availableFields showing all keys. IMPORTANT: Always specify fields when you know what you need — without it, responses include every property and can be extremely large (100KB+), wasting context.
filterNoKeep items matching all conditions (AND). Exact: {key: value}, prefix glob: {key: "R*"}, OR: {key: ["a","b"]}
documentYesTarget document UUID — auto-switches to this document before executing. Get UUIDs from list_instances or editor_get_open_tabs.
instance_idNoTarget EasyEDA instance ID (8-char hex). Required when multiple instances are connected. Omit when only one instance is connected (auto-selected). Use list_instances to see connected instances.
primitiveIdsYesSingle primitive ID or array of IDs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.5

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already declare this as a read-only, idempotent, non-destructive operation. The description adds no behavioral context beyond the basic retrieval action and batch cardinality ('one or more'), and does not mention response size, filtering behavior, or document/instance targeting.

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?

The description is a single front-loaded sentence with no filler. It states the action, resource, and retrieval key directly.

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?

The schema is rich and fully described, and annotations cover the safety profile, so the terse description is largely sufficient for invoking the tool. It does not explain return shape, but the tool name and 'Get ... primitives' phrasing make the retrieval outcome reasonably clear, and no output schema is provided.

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 the schema already documents all seven parameters, including type, primitiveIds, document, limit, fields, filter, and instance_id. The description only references type and primitive ID(s) at a high level and adds no syntax or format detail beyond the schema.

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 states a specific verb ('Get') and resource ('PCB primitives') and narrows scope to retrieval by type and primitive ID(s). It is clear enough to distinguish from retrieval-by-region or retrieval-at-point siblings, though it does not explicitly name any alternative.

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?

Usage is implied by 'by their type and primitive ID(s)': the agent should use this when it already knows the primitive type and ID(s). However, there is no explicit when-to-use guidance, no exclusions, and no named alternatives such as pcb_get_all_primitives or pcb_get_primitives_in_region.

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