Skip to main content
Glama
PCB Parts MCP Server

PCB Parts MCP Server

by Averyy

DigiKey Part Lookup

digikey_get_part
Read-onlyIdempotent

Fetch DigiKey price, stock, datasheet, and lifecycle status for one part when JLCPCB results are unavailable or DigiKey is requested; use one call per part.

Instructions

DigiKey price, stock and datasheet for one part. Its shared daily limit often runs out: use it only when JLCPCB can't answer (jlc_search / jlc_get_part found nothing) or the user asks for DigiKey; one part per call, not whole BOMs; for lifecycle use part_lifecycle. Don't retry a quota error. Reply: part_number, price, price_breaks and min_qty are one packaging's (the DigiKey PN given, else the smallest order, usually cut tape; packaging names it); other_packaging lists the rest (reel, Digi-Reel) with their PN, min_qty and price. lifecycle is DigiKey's product status; lifecycle_status is active, nrnd, last_time_buy, obsolete or unknown; last_buy_date where given. Answers are kept up to a day, misses 3 days (observed_at). A number several makers use returns each maker's listing, most stock first. requested is the number asked, matched_by how: exact, separators, packing (JST's (LF)/(SN) endings set aside) or digikey_pn are that part; prefix and other need checking. A number that can't be a DigiKey part number isn't sent (not_sent, as in mouser_get_part, plus length: not 3-40 characters).

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": {
      "part_number": "<part_number>"
    },
    "name": "digikey_get_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
part_numberYesDigiKey PN or MPN ("296-1395-5-ND", "LM358P"). Use the full number: a partial one can find nothing and still uses a request. One keyword search per lookup.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.10.4
    • addedInput schema / properties / part_number
      Added value: +{
      +  "description": "DigiKey PN or MPN (\"296-1395-5-ND\", \"LM358P\"). Use the full number: a\npartial one can find nothing and still uses a request. One keyword search per lookup.",
      +  "type": "string"
      +}
    • removedInput schema / properties / product_number
      Removed value: -{
      -  "description": "DigiKey PN or MPN (\"296-1395-5-ND\", \"LM358P\"). Use the full number: a\npartial one can find nothing and still uses a request. One keyword search per lookup.",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "product_number"
      -]New value: +[
      +  "part_number"
      +]
  2. Changed1 schema field changedv0.9.3
    • changedInput schema / properties / product_number / description
      Previous value: -"DigiKey PN or MPN (\"296-1395-5-ND\", \"LM358P\"). Use the full number: a\npartial one can find nothing and still uses a request. An all-digit MPN (\"209\") that\nthe lookup misses is tried by keyword (one more request) and can return several\nmakers' parts: check manufacturer."New value: +"DigiKey PN or MPN (\"296-1395-5-ND\", \"LM358P\"). Use the full number: a\npartial one can find nothing and still uses a request. One keyword search per lookup."
  3. Changed1 schema field changedv0.8.24
    • changedInput schema / properties / product_number / description
      Previous value: -"DigiKey PN or MPN (\"296-1395-5-ND\", \"LM358P\"). Use the full number: a\npartial one can find nothing and still uses a request."New value: +"DigiKey PN or MPN (\"296-1395-5-ND\", \"LM358P\"). Use the full number: a\npartial one can find nothing and still uses a request. An all-digit MPN (\"209\") that\nthe lookup misses is tried by keyword (one more request) and can return several\nmakers' parts: check manufacturer."
  4. Changed1 schema field changedv0.8.21
    • addedInput schema / properties / product_number / description
      Added value: +"DigiKey PN or MPN (\"296-1395-5-ND\", \"LM358P\"). Use the full number: a\npartial one can find nothing and still uses a request."
  5. First observedv0.4.2

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses the shared daily quota and its exhaustion behavior, caching windows ('answers kept up to a day, misses 3 days (observed_at)'), and that non-DigiKey-shaped numbers are rejected client-side. What it does not state is what a quota error looks like in the response or how to tell it apart from an empty result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and dense with useful routing information in the first two sentences, but the long second paragraph spends substantial space explaining return-field semantics (requested, matched_by, packaging, not_sent) for a tool that already has an output schema. Some of that payload is redundant against structured data.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter lookup with quota risk and non-obvious matching behavior, the description covers the routing decision, quota constraints, packaging ambiguity, lifecycle vocabulary, and the exact/prefix match distinction. Nothing an agent needs in order to call it correctly or interpret ambiguity is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds real meaning by constraining cardinality ('one part per call, not whole BOMs') and warning that a partial number 'can find nothing and still uses a request'. It reinforces but does not exceed the schema's own guidance on full-number usage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb-and-resource statement: 'DigiKey price, stock and datasheet for one part', and immediately scopes it to a single part rather than a BOM. It also names the sibling that handles a neighboring concern (part_lifecycle for lifecycle), so an agent can distinguish it without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use ('only when JLCPCB can't answer (jlc_search / jlc_get_part found nothing) or the user asks for DigiKey'), explicit when-not (whole BOMs, lifecycle → part_lifecycle), and an explicit failure instruction: don't retry a quota error. Alternatives are named with the condition that selects them.

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