Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sch_primitive_component_place_component_with_mouse

Place a schematic component by binding it to the mouse cursor for user click placement. Returns true once the component is attached, allowing immediate placement.

Instructions

sch_PrimitiveComponent.placeComponentWithMouse(component: { libraryUuid: string; uuid: string } | ILIB_DeviceItem | ILIB_DeviceSearchItem, subPartName?: string) -> Promise 使用鼠标放置器件 remarks: 本接口模拟前端点击放置按钮,指定的器件将绑定到当前鼠标,并在用户后续点击时放置于画布

本接口的返回时机并不会等待用户的放置操作,一旦器件被绑定到鼠标,本接口将立即返回 true 的结果 returns: 是否找到器件

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo按官方签名顺序排列的JSON参数数组
windowIdNo目标EDA窗口ID;省略时使用当前活动窗口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It clearly states that the tool binds the component to the mouse, returns immediately without waiting for user placement, and returns true only if the component is found. This is important non-obvious behavior that helps an agent understand the asynchronous nature of the operation.

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 description is reasonably concise, with a clear signature, a short Chinese summary, and a remark section that adds crucial timing information. It is front-loaded with the action and returns details, and avoids redundancy.

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?

The description explains the return behavior and the mouse-binding mechanism, but omits important context: it does not mention prerequisites (e.g., an open schematic document), does not explain the windowId parameter, and does not discuss when to use this interactive placement versus alternatives. These omissions leave an agent with incomplete information for correct invocation.

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?

The input schema is a generic 'args' array with no item structure, so the description's function signature is the primary source of parameter meaning. It lists the component union type and optional subPartName, but does not explain how to obtain these values or what the types represent in detail. This partially compensates for the schema's lack of structure but leaves gaps.

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 the action clearly: 'place component with mouse' and provides the exact function signature. However, it does not explicitly differentiate from the sibling tool 'place_symbol_with_mouse' beyond the name, leaving some ambiguity about when to choose one over the other.

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?

No guidance is given on when to use this tool versus alternatives like place_symbol_with_mouse or programmatic component creation. The description only explains what the tool does, not the context in which it should be selected.

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