Skip to main content
Glama

JLCPCB part details (live)

jlc_part

Fetch exact live JLCPCB part data for one or more LCSC codes, including class, stock, price breaks, package, attributes, and datasheet; unlisted codes return null.

Instructions

Exact live lookup of one or more LCSC codes: class (Basic/Preferred/Extended), stock, price breaks, package, attributes, datasheet. Codes that JLC does not list come back as null.

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": {
      "codes": "<codes>"
    },
    "name": "jlc_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesYes
attributesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral load; it does disclose the return shape and the null behavior for unlisted codes, which is genuinely useful. It never states that this is a read-only, non-mutating call, nor anything about latency or rate limits despite "live" lookup implying network dependency.

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 dense sentences with zero filler; the resource and scope come first, then the payload and the null edge case. Every clause carries information.

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?

For a tool with no output schema and no annotations, the description does adequate work by enumerating returned fields and the null case. It falls short on the attributes toggle, batch-size limits, and read-only/network behavior, which an agent needs before calling with 60 codes.

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 coverage is 0% for 2 parameters. "One or more LCSC codes" loosely explains that codes is an array, but the attributes boolean (default true) is never explained as an input at all — its only mention is in the output field list, which is ambiguous. The maxItems=60 batch limit is also unmentioned.

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?

Names a specific verb+resource ("Exact live lookup of one or more LCSC codes") and enumerates what comes back (class, stock, price breaks, package, attributes, datasheet), so the agent knows exactly what it gets. The word "exact" implicitly distinguishes it from jlc_search, but no sibling is named explicitly.

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?

"Exact live lookup" suggests this is for known codes rather than exploratory search, which implies the split with jlc_search. However, there is no explicit when-to-use, when-not-to-use, or named alternative, leaving the routing decision to inference.

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