Skip to main content
Glama
PCB Parts MCP Server

PCB Parts MCP Server

by Averyy

Get Component Pinout

jlc_get_pinout
Read-onlyIdempotent

Get a part's EasyEDA symbol pin numbers and names by LCSC code or UUID; optionally include footprint pads to map symbol pins to PCB pads.

Instructions

Pin numbers and names from a part's EasyEDA symbol, exactly as EasyEDA has them (e.g., VCC, GND, PA0); with footprint=true also the EasyEDA footprint's pads. A pin's number is as the symbol shows it and matches the footprint pad ("1", "A2"); electrical (input, output, bidirectional, power) appears only where the symbol's creator set it, so its absence says nothing. unverified ("Symbol not verified by LCSC") appears when LCSC hasn't verified the symbol; note means every pin's name is its number, so the symbol doesn't say what the pins do, or that a polarized two-pin part's numbers may not match its datasheet's (connect it by pin name). footprint_error says why a requested footprint is missing.

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_pinout"
  }
}

Input Schema

NameRequiredDescriptionDefault
lcscNoLCSC part code (e.g., "C8304"); finds the symbol for you
uuidNoEasyEDA symbol UUID, instead of lcsc
footprintNoAlso return the footprint (needs lcsc): its name, source_link (the document it was drawn from), pad_count, numbered_pads, pitch (most common pad spacing, mm), pad_sizes, and pads [{number, x, y (mm from the footprint origin, y down), shape, size [w, h] mm, layer top/bottom/through_hole, hole and slot_length mm}]. Pad positions tell pins with numbers only apart (a switch's common from its throws), and the name and source_link show a footprint drawn for another maker's part or a different model.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.8.21
    • addedInput schema / properties / footprint
      Added value: +{
      +  "default": false,
      +  "description": "Also return the footprint (needs lcsc): its name, source_link (the document it\nwas drawn from), pad_count, numbered_pads, pitch (most common pad spacing, mm),\npad_sizes, and pads [{number, x, y (mm from the footprint origin, y down), shape,\nsize [w, h] mm, layer top/bottom/through_hole, hole and slot_length mm}]. Pad positions\ntell pins with numbers only apart (a switch's common from its throws), and the name and\nsource_link show a footprint drawn for another maker's part or a different model.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / lcsc / description
      Added value: +"LCSC part code (e.g., \"C8304\"); finds the symbol for you"
    • addedInput schema / properties / uuid / description
      Added value: +"EasyEDA symbol UUID, instead of lcsc"
  2. First observedv0.4.2

TDQS

A4/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, the description discloses nuanced behavior: electrical type is only present where the symbol creator set it, absence means nothing, unverified symbols are flagged, note explains cases where pin names equal numbers or polarized parts may differ from datasheet numbering, and footprint_error explains missing footprints.

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 core purpose is front-loaded, and every sentence carries useful semantic detail. The dense parenthetical and semicolon structure makes it slightly harder to scan, but it avoids outright wasted wording.

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?

Given the annotations, 100% schema coverage, and an output schema, the description supplies the remaining semantic context an agent needs: how pin numbers map to pads, when electrical data may be absent, what unverified and note mean, and how footprint errors are reported.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already documents lcsc, uuid, and footprint in detail. The description reinforces footprint=true behavior and adds some interpretation of footprint_error, but adds little parameter meaning beyond the rich schema itself.

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?

The description states a specific verb and resource: retrieving pin numbers and names from an EasyEDA symbol, optionally including footprint pads. It is clearly distinct from general part lookup, but it does not explicitly name or differentiate itself from sibling tools such as jlc_get_part.

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?

Usage is implied: call it when you need symbol pin numbers/names, and set footprint=true to also get footprint pads. However, there is no explicit when-to-use or when-not-to-use guidance relative to alternatives like jlc_get_part or jlc_search.

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