Skip to main content
Glama

ds_part_info

Retrieves structured component details—parameters, manufacturer, package, and symbol—from the EasyEDA Pro library for datasheet workflows. Returns available=false if EDA or daemon is unavailable.

Instructions

从 EasyEDA 专业版器件库读取结构化信息(参数描述/厂商/封装/符号)。需要 EDA 与 daemon 运行;失败返回 available=false。

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": {
      "ident": "<ident>"
    },
    "name": "ds_part_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
identYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the full behavioral burden; it does disclose the runtime prerequisite (EDA + daemon running) and the soft-failure contract (available=false) rather than throwing. It does not say what a successful payload looks like, whether missing fields are omitted or null, or confirm read-only/non-mutating behavior beyond the word 'read'.

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?

Two short sentences, front-loaded with the resource and its field set, then the runtime precondition and failure mode. Nothing is padded, though the brevity comes at the cost of the missing parameter and return-shape detail.

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?

There is no output schema, so the description should explain the returned structure; it names four fields and the available flag but not their types or shape. Combined with an undocumented identifier parameter, the definition is workable but leaves real gaps for a library-lookup tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single required parameter 'ident', and the description adds no meaning about what an identifier is (device UUID, LCSC part number, library path?) or its expected format. For a tool whose only input is undocumented, the description should have compensated and does not.

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 gives a specific verb+resource: reading structured device information (parameter descriptions, manufacturer, package, symbol) from the EasyEDA Pro device library. It enumerates the returned fields, which helps distinguish it from generic fetch tools, but it never contrasts itself with overlapping siblings such as ds_keyparams or ds_pinout.

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 context is only implied: the caller learns it needs EDA and the daemon running, and that failure yields available=false. There is no explicit statement of when to prefer this tool over ds_keyparams, ds_section, or ds_fetch, so alternative selection is left to inference.

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