Skip to main content
Glama

search_parts

Read-onlyIdempotent

Search DigiKey by keyword or part number to retrieve live stock, unit price, status, datasheet URL, and key specifications for component selection.

Instructions

Search DigiKey by keyword or part number. Returns stock, unit price, status, datasheet URL and key parameters.

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": "search_parts"
  }
}

Input Schema

NameRequiredDescriptionDefault
rohsNo
sortNorelevance
limitNo
queryYesKeywords or a part number, e.g. 'LDO 3.3V 500mA SOT-23-5'
in_stockNo
manufacturerNoKeep only this manufacturer (substring match)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so the safety profile is covered. The description adds a list of returned fields (stock, unit price, status, datasheet URL, key parameters), which is largely duplicative of the output schema. It says nothing about upstream rate limits, empty-result behavior, or how the limit interacts with relevance sorting.

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 action and source, with no filler. It is arguably under-sized for a six-parameter tool, but nothing in the text is wasted.

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?

An output schema exists, so the field listing is redundant but harmless, and the annotations carry the safety contract. What is missing for a six-filter search tool is any account of the filtering parameters or sibling routing, leaving the definition adequate rather than complete.

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 only 33% (query and manufacturer only), and the description covers just the query dimension. Five of six parameters — rohs, in_stock, sort, limit, and the manufacturer filter's substring semantics — get no explanation beyond their schema titles and a note that manufacturer is a substring match.

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?

States a specific verb and resource plus the data source: 'Search DigiKey by keyword or part number.' The mention of DigiKey implicitly separates it from search_lcsc and get_part, but it never names a sibling or explicitly scopes itself against them.

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?

There is no when-to-use guidance at all — nothing says when to prefer this over search_lcsc, get_part, find_alternatives, or compare_parts. The only hint is 'keyword or part number,' which is a query-input note rather than routing guidance.

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