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

Place schematic component

easyeda_schematic_place_component

Place a searched schematic device at exact X/Y coordinates with rotation, mirroring, collision checks, BOM/PCB inclusion, and optional transaction rollback to prevent unsafe edits.

Instructions

Place device from schematic_search_device (project-local IDs invalid). For multi-unit parts provide exact subPartName + shared designator and uniqueId; native readback checks linkage. On timeout inspect before retry. projectId + transactionId enables rollback; without transactionId the write is standalone.

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": {
      "deviceItem": "<deviceItem>",
      "x": "<x>",
      "y": "<y>",
      "confirmWrite": "<confirmWrite>"
    },
    "name": "easyeda_schematic_place_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
dryRunNo
mirrorNo
rotationNo
uniqueIdNoShared native physical identity for units of one component.
projectIdNoRequired when transactionId is supplied; must match the transaction document.
addIntoBomNo
addIntoPcbNo
designatorNoShared reference for units of one physical component.
deviceItemYes
subPartNameNoExact native device unit name. Requires matching designator and uniqueId for all units.
confirmWriteYesMust be the literal boolean true (not the string "true") to allow this write.
transactionIdNoOptional snapshot-backed project transaction ID.
collisionRadiusNo
expectedPcbUuidNoExpected focused PCB document UUID; reject a different focused PCB before a write.
verifyAfterWriteNo
checkPlacementCollisionNo
expectedSchematicPageUuidNoExpected focused schematic page UUID; reject a different focused page before a write.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.19.11
    • addedInput schema / properties / designator
      Added value: +{
      +  "description": "Shared reference for units of one physical component.",
      +  "pattern": "^[A-Za-z]{1,8}[1-9][0-9]*$",
      +  "type": "string"
      +}
    • addedInput schema / properties / subPartName / description
      Added value: +"Exact native device unit name. Requires matching designator and uniqueId for all units."
    • addedInput schema / properties / subPartName / minLength
      Added value: +1
    • addedInput schema / properties / uniqueId
      Added value: +{
      +  "description": "Shared native physical identity for units of one component.",
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "pattern": "^[A-Za-z0-9_-]+$",
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.19.10
    • addedInput schema / properties / expectedPcbUuid
      Added value: +{
      +  "description": "Expected focused PCB document UUID; reject a different focused PCB before a write.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / expectedSchematicPageUuid
      Added value: +{
      +  "description": "Expected focused schematic page UUID; reject a different focused page before a write.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Changed4 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"
    • addedInput schema / properties / projectId
      Added value: +{
      +  "description": "Required when transactionId is supplied; must match the transaction document.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / transactionId
      Added value: +{
      +  "description": "Optional snapshot-backed project transaction ID.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. Changed5 schema fields changedv0.19.1
    • addedInput schema / properties / checkPlacementCollision
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / collisionRadius
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / confirmWrite / description
      Added value: +"Must be the literal boolean true (not the string \"true\") to allow this write."
    • addedInput schema / properties / dryRun
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / verifyAfterWrite
      Added value: +{
      +  "type": "boolean"
      +}
  5. First observedv0.19.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare non-read-only and non-idempotent. The description adds material behavior: writes are rolled back when projectId + transactionId are supplied and are standalone otherwise, native readback validates unit linkage, and timeouts should be investigated rather than blindly retried. It does not mention permission requirements or what happens to an existing component at the same coordinates.

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?

Dense, front-loaded and largely waste-free: the sourcing constraint comes first, followed by the multi-unit rule and the transaction/timeout details. The telegraphic phrasing (e.g., 'native readback checks linkage') is terse but still parseable.

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?

For a 19-parameter mutation tool this is a partial specification. An output schema exists so return values need no explanation, but the description leaves coordinate space, rotation/mirror defaults, and the BOM/PCB inclusion flags entirely to the agent's inference.

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 only 42% across 19 parameters, and the description only meaningfully covers subPartName, designator, uniqueId, projectId and transactionId. Whether x/y are page coordinates in millimeters, what units rotation uses, and when addIntoBom/addIntoPcb should be set are left unaddressed in both description and 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?

Description opens with a specific verb and resource ('Place device from schematic_search_device') and names the sibling that produces the input, so the agent knows exactly what operation this is. It stops short of stating where the part lands (the focused schematic page) which would have fully separated it from PCB-side placement.

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?

Gives concrete prerequisites: device IDs must come from schematic_search_device and project-local IDs are rejected; multi-unit parts need subPartName plus a shared designator and uniqueId. It also advises inspecting on timeout before retry. It never states when not to use it (e.g., batch placement or modify instead of place).

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