Skip to main content
Glama
PCB Parts MCP Server

PCB Parts MCP Server

by Averyy

Mouser Part Lookup

mouser_get_part
Read-onlyIdempotent

Retrieves Mouser pricing, stock and datasheet links for specific part numbers when JLCPCB has no match, batching up to 10 parts per call.

Instructions

Mouser price, stock and datasheet for specific parts. 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 Mouser; for lifecycle use part_lifecycle. Batch up to 10 parts per call. Don't retry a quota error. Reply: answers are kept up to 3 days; observed_at is the oldest used. lifecycle is Mouser's status where it states one, else null: Mouser states none for most parts, including some the maker marks NRND (AP2553W6-7, which digikey_get_part's lifecycle lists as NRND); lifecycle_status is active, nrnd, last_time_buy, obsolete or unknown (null is active). not_found lists the given numbers no result matches, and those not sent (not_sent gives each reason: value such as "10k", lcsc_code, placeholder, not_ascii; no request spent). A spent limit with some numbers kept: those answer, not_checked lists the rest, retry_after says when to ask. lookup_failed: numbers Mouser gave an error for. Each result's requested is the number it answers, matched_by how: exact, separators, packing (JST's (LF)/(SN) endings set aside) or mouser_pn are that part; prefix and other need checking. Check manufacturer too (Mouser's SRV05-4 is onsemi's).

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

Input Schema

NameRequiredDescriptionDefault
part_numberYesMouser PN or MPN, or up to 10 joined by "|" ("595-LM358P|NE555P"), 3-40 chars each. Loose match, max 50 results per request: use full PNs when batching; match results by requested and matched_by.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.0
    • changedInput schema / properties / part_number / description
      Previous value: -"Mouser PN or MPN, or up to 10 joined by \"|\" (\"595-LM358P|NE555P\"),\n3-40 chars each. Loose match, max 50 results per call: use full PNs when batching;\nmatch results by mfr_part_number."New value: +"Mouser PN or MPN, or up to 10 joined by \"|\" (\"595-LM358P|NE555P\"),\n3-40 chars each. Loose match, max 50 results per request: use full PNs when batching;\nmatch results by requested and matched_by."
  2. Changed1 schema field changedv0.8.21
    • addedInput schema / properties / part_number / description
      Added value: +"Mouser PN or MPN, or up to 10 joined by \"|\" (\"595-LM358P|NE555P\"),\n3-40 chars each. Loose match, max 50 results per call: use full PNs when batching;\nmatch results by mfr_part_number."
  3. First observedv0.4.2

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses the shared daily quota, that results are cached up to 3 days with an observed_at caveat, and the partial-failure behavior (not_found, not_checked with retry_after, lookup_failed). It also warns that match confidence varies via matched_by and that manufacturer attribution can differ — none of which the annotations cover.

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 most decision-critical constraint (quota scarcity and the fallback rule) is front-loaded, and nearly every sentence carries operational content. However, the back half is telegraphic run-on prose and re-explains several response-field enumerations (lifecycle_status values, not_found/not_sent shapes) that the output schema likely already defines.

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 tool with loose matching, quota contention and partial-failure responses, the definition covers every failure mode an agent must handle and explains the lifecycle quirk (Mouser silence vs. third-party NRND flags). Nothing needed to call it correctly or interpret ambiguous results 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 pipe-delimited multi-value format and 3-40 char limits are already documented; the description adds real guidance on top — batch with full part numbers and reconcile results via requested/matched_by, and that prefix/other matches need human checking. It stops short of adding syntax beyond what the schema states.

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?

The opening sentence names the resource (Mouser parts) and exactly what it returns — price, stock, datasheet — for a specific input class (specific parts, not search). It immediately distinguishes itself from jlc_search, jlc_get_part and part_lifecycle, so an agent can pick 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?

It gives an explicit gating rule ('use it only when JLCPCB can't answer ... or the user asks for Mouser'), names the alternative for lifecycle data, adds a batching rule (up to 10 per call) and an anti-pattern ('Don't retry a quota error'). Both when-to-use and when-not-to-use are stated.

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