Skip to main content
Glama
PCB Parts MCP Server

PCB Parts MCP Server

by Averyy

Get Part Details

jlc_get_part
Read-onlyIdempotent

Retrieves complete JLCPCB part details by LCSC code or manufacturer part number, including price tiers, stock, datasheets, specifications, and EasyEDA footprint availability.

Instructions

Full details for one JLCPCB part (all price tiers, datasheet, specs, EasyEDA footprint availability), or the JLCPCB parts matching a manufacturer part number.

Reply: an LCSC code answers from the daily catalog snapshot (stock >= 10; data_as_of), without min_order, reel_qty, datasheet, maker_datasheet, datasheet_note or lcsc_url; live=true, a code not in the snapshot, or a server without price tiers, asks JLCPCB (live, held up to an hour) and adds them. live_failed: JLCPCB didn't answer, so the snapshot's row answers (note). prices lists quantity tiers; datasheet is LCSC's viewer page (null when LCSC has none) and datasheet_pdf the PDF: a short link on this server that stays valid (LCSC's link for its copy); maker_datasheet is the maker's own link where JLCPCB lists one (most TI parts); datasheet_note says when there is no PDF, or that datasheet_pdf is LCSC's copy (specs come from LCSC too when JLCPCB lists none); specs_note says when LCSC lists no specs, or what the listing leaves out for the part type (Isat's definition, MLCC DC-bias loss, RF cable ends, MOSFET RDS(on)/Vgs(th) typical and maximum mixed, multi-diode loading); spec_evidence cites reviewed maker values, conditions and sources; spec_discrepancies flags catalog/document conflicts without replacing catalog specs. no_datasheet/no_datasheet_note refer only to JLCPCB availability; lcsc_url is the LCSC product page; pcba_type is "economic" or "standard_only" (JLCPCB's PCBA Type: one standard_only part moves the whole order to Standard assembly). Optional lifecycle {status, raw, source, observed_at}: a stored Mouser/DigiKey reading, no request (raw "not stated by Mouser": listed without a status); for a lookup use part_lifecycle. Footprint pads: jlc_get_pinout(lcsc, footprint=true). has_easyeda_footprint=null means unknown, false means absent; MPN lookups return results, total, exact (the number itself matched) and ambiguous (several parts match). Non-exact replies add match (separators, packing, alias, alternative, lcsc or related), matched_mpn, and a note naming the part types for related full-text results (and parts another manufacturer numbered after the original). An LCSC code given as mpn finds that part (match=lcsc); BOM placeholders such as N/A or DNP find nothing. MPN lookups search the daily catalog snapshot (stock >= 10), most stock first; price is refreshed weekly (prices_as_of), prices' tiers daily (price_tiers_as_of; null: the 1-piece price only). Many parts at once: jlc_get_parts. Rows carry data_source (kind/provider/observed_at; a cached live one keeps its time). MPN misses: availability outside the snapshot is unknown; next_call suggests jlc_stock_check with min_stock=0 (not run). Parts that left the snapshot (stock under 10 or delisted) answer when no in-stock part matches but by full text or as another maker's spelling (listed after them): gone, gone_since, last_stock and stock null (unknown), with hint and next_call; otherwise gone_matches counts them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "jlc_get_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
mpnNoManufacturer part number (e.g., "LM358P"), over in-stock parts (stock >= 10), then gone ones. Also finds other dash/space spellings, the same manufacturer's other packing codes, and BOM entries with notes or alternatives; never a different grade. Finds the JLCPCB equivalent of a part from another distributor or a reference design.
lcscNoLCSC part code (e.g., "C82899")
liveNoTrue: lcsc from JLCPCB live, not the snapshot; ignored for mpn (always the snapshot)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.4
    • addedInput schema / properties / live
      Added value: +{
      +  "default": false,
      +  "description": "True: lcsc from JLCPCB live, not the snapshot; ignored for mpn (always the snapshot)",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv0.10.0
    • changedInput schema / properties / mpn / description
      Previous value: -"Manufacturer part number (e.g., \"LM358P\"), over in-stock parts (stock >= 10). Also\nfinds other dash/space spellings, the same manufacturer's other packing codes, and BOM\nentries with notes or alternatives; never a different grade. Finds the JLCPCB\nequivalent of a part from another distributor or a reference design."New value: +"Manufacturer part number (e.g., \"LM358P\"), over in-stock parts (stock >= 10), then gone ones. Also\nfinds other dash/space spellings, the same manufacturer's other packing codes, and BOM\nentries with notes or alternatives; never a different grade. Finds the JLCPCB\nequivalent of a part from another distributor or a reference design."
  3. Changed2 schema fields changedv0.8.21
    • addedInput schema / properties / lcsc / description
      Added value: +"LCSC part code (e.g., \"C82899\")"
    • addedInput schema / properties / mpn / description
      Added value: +"Manufacturer part number (e.g., \"LM358P\"), over in-stock parts (stock >= 10). Also\nfinds other dash/space spellings, the same manufacturer's other packing codes, and BOM\nentries with notes or alternatives; never a different grade. Finds the JLCPCB\nequivalent of a part from another distributor or a reference design."
  4. First observedv0.4.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, but the description adds substantial behavior they cannot carry: snapshot filter (stock >= 10), live calls 'held up to an hour', snapshot fallback on live_failed, weekly price refresh with prices_as_of/price_tiers_as_of, and null-means-unknown semantics. The only soft spot is the openWorldHint=false annotation alongside described live outbound calls to JLCPCB, which is defensible for a bounded API but not explained.

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

Conciseness2/5

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

The description is a single run-on block of roughly 370 words for a three-parameter tool, with reply-field explanations (datasheet vs datasheet_pdf vs maker_datasheet, specs_note, spec_evidence, spec_discrepancies) chained by commas rather than structured. Because an output schema exists, much of that field-by-field exegesis is redundant, and the critical routing guidance is buried mid-paragraph rather than front-loaded.

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 dual-mode tool with caching, live fallback, MPN fuzzy matching and null-unknown semantics, nothing an agent needs to call it correctly is missing: entry conditions, fallback chain, failure states and cross-tool escapes are all covered. Output-schema-covered return details are narrated redundantly, but completeness itself is not in doubt.

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% and the mpn field is already documented in detail, so baseline is 3. The description still adds meaning the schema does not: catalog-scoped search ordering (most stock first), that an LCSC code supplied as mpn resolves with match=lcsc, that BOM placeholders like N/A or DNP find nothing, and the gone-part handling tier.

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 and both modes precisely: full details for one JLCPCB part (price tiers, datasheet, specs, EasyEDA footprint availability), or parts matching an MPN. It goes further by naming siblings for the adjacent jobs ('Many parts at once: jlc_get_parts', 'Footprint pads: jlc_get_pinout'), so an agent can separate it from neighbors without opening schemas.

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 routing is present throughout: lifecycle is a stored reading with 'for a lookup use part_lifecycle'; pad geometry goes to jlc_get_pinout with footprint=true; bulk goes to jlc_get_parts; MPN misses route to jlc_stock_check with min_stock=0. It also states when live is ignored ('ignored for mpn'), which prevents a mis-call rather than merely describing usage.

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