Skip to main content
Glama

ds_search

Search electronic components by model number or keyword to retrieve LCSC part numbers, package types, stock levels, and unit prices for initial selection screening.

Instructions

按型号/关键词检索元件库,返回立创 C 编号、封装、库存、单价。用于选型初筛。

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": {
      "query": "<query>"
    },
    "name": "ds_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the returned fields, which is useful, but says nothing about result-count caps (the schema's limit max of 30), whether matching is fuzzy or exact, whether an empty result is possible, or any rate/auth constraints.

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?

Two short sentences: capability plus return fields first, intended use last. No filler, nothing redundant, and the most decision-relevant information is front-loaded.

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 no output schema and no annotations, the description partially covers returns and query semantics, which is better than nothing. It is still thin for a search tool: paging/limit behavior, matching semantics, and differentiation from ds_part_info/ds_fetch are missing.

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 0%, so the description must compensate. '按型号/关键词' meaningfully explains the required query parameter, but the limit parameter is never mentioned, leaving half the parameters undocumented in both schema and prose.

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 names a specific verb and resource ('检索元件库') and constrains the query dimension to model/keyword, then enumerates the returned fields (LCSC number, package, stock, unit price). It does not distinguish itself from the sibling ds_part_info, which likely also returns part data, so an agent cannot fully separate them from this text alone.

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?

'用于选型初筛' implies the intended stage (early-stage part selection) but gives no explicit when-to-use/when-not-to-use rule and names no alternative for deeper lookups. The agent must infer that this is the broad discovery call rather than the detail call.

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