Skip to main content
Glama

EasyGerber: AI PCB design, layout, and routing

Search published parts

search_parts
Read-onlyIdempotent

Searches published catalog components. Supply known catalog filters such as category and exact package. Use query for the remaining terms or exact MPN. Put electrical bounds and applicable test conditions in requirements. Use forwardVoltage for LED Vf. Use candidateIds to check previously found parts under the same constraints. Reuse a qualified candidate’s catalog ID. On mismatch, check the next candidate. For unknown, verify the exact part’s datasheet at the required conditions or leave the requirement unresolved. The first candidate includes verified pins when available; other candidates may omit them. Reuse returned IDs, pins and facts; call get_part only when the selected candidate lacks needed pins or facts. factQuery selects cached facts for the matching candidates. Include boardRef on every lookup for a board with a strict Part List. If results are unrelated, make at most two retries with simpler text, preserving every required filter, specification and board restriction. If none qualifies, report the unmet requirement.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum catalog candidates to return, from 1 to 20; defaults to 3.
queryNoPCB selection terms: MPN, manufacturer, description or package family. For exact MPNs omit unverified categories unless user-required. Preserve explicit filters and Part Lists; factQuery does not select parts.
packageNoExact catalog label; use query for package families.
boardRefNoPrivate board reference. For a new board generate 32 random bytes, encode as unpadded base64url, and prepend egbr1_. Keep this same value for creation retries and every later board operation. Copy returned references unchanged. Keep it in this conversation or supported private execution state; never put it in logs or source files. A private board link may carry it in its fragment.
categoryNoCatalog category.
factQueryNoCached-fact terms for parts selected by query or candidateIds. It never changes which parts match.
frequencyNoHertz (8e6 = 8 MHz).
inductanceNoExact henries.
resistanceNoExact ohms (10000 = 10 kΩ).
capacitanceNoExact farads (1e-7 = 100 nF).
jlcpcbBasicNoBasic-only when true; otherwise leave unset.
candidateIdsNoCheck only these previously returned catalog IDs, within all supplied filters and the active Part List.
mountingTypeNosmt: surface mount; tht: through-hole; mixed: both.
requirementsNoElectrical limits to verify against each candidate’s documented bounds. Conditions omitted from a request are reported for any qualifying test point.
voltageRatingNoExact catalog rated voltage in volts. Use requirements for forward voltage.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / subcategory
      Removed value: -{
      -  "description": "Subcategory, e.g. chip_resistor, mlcc, ldo.",
      -  "maxLength": 2000,
      -  "minLength": 1,
      -  "type": "string"
      -}
  2. Changed6 schema fields changed
    • addedInput schema / properties / candidateIds
      Added value: +{
      +  "description": "Check only these previously returned catalog IDs, within all supplied filters and the active Part List.",
      +  "items": {
      +    "maxLength": 200,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / factQuery / description
      Previous value: -"Cached-fact terms only; requires query. Omit for filter-only searches. It never changes which parts match."New value: +"Cached-fact terms for parts selected by query or candidateIds. It never changes which parts match."
    • changedInput schema / properties / query / description
      Previous value: -"PCB selection terms: MPN, manufacturer, description or package family. For exact MPNs omit unverified categories unless user-required. Preserve explicit filters and Part Lists; factQuery does not select parts. Required when factQuery is supplied."New value: +"PCB selection terms: MPN, manufacturer, description or package family. For exact MPNs omit unverified categories unless user-required. Preserve explicit filters and Part Lists; factQuery does not select parts."
    • addedInput schema / properties / requirements
      Added value: +{
      +  "description": "Electrical limits to verify against each candidate’s documented bounds. Conditions omitted from a request are reported for any qualifying test point.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "conditions": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "currentMa": {
      +            "description": "DC test current in mA (load current for output voltage).",
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "inputVoltageV": {
      +            "description": "Supply voltage in V for an output-voltage test.",
      +            "type": "number"
      +          },
      +          "temperatureC": {
      +            "description": "Ambient test temperature in °C.",
      +            "minimum": -273.15,
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "max": {
      +        "description": "Inclusive maximum acceptable voltage in V.",
      +        "type": "number"
      +      },
      +      "min": {
      +        "description": "Inclusive minimum acceptable voltage in V.",
      +        "type": "number"
      +      },
      +      "parameter": {
      +        "enum": [
      +          "forwardVoltage",
      +          "reverseVoltage",
      +          "outputVoltage"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "parameter"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 4,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / voltageRating / description
      Previous value: -"Rated volts."New value: +"Exact catalog rated voltage in volts. Use requirements for forward voltage."
    • addedOutput schema / properties / data / items / properties / qualification
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "checks": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "catalogHint": {
      +            "description": "Unqualified catalog scalar in V. Never used to decide this check.",
      +            "type": "number"
      +          },
      +          "evidence": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "conditions": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "currentMa": {
      +                      "description": "DC test current in mA (load current for output voltage).",
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "inputVoltageV": {
      +                      "description": "Supply voltage in V for an output-voltage test.",
      +                      "type": "number"
      +                    },
      +                    "temperatureC": {
      +                      "description": "Ambient test temperature in °C.",
      +                      "minimum": -273.15,
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "currentMa",
      +                    "temperatureC"
      +                  ],
      +                  "type": "object"
      +                },
      +                "max": {
      +                  "type": "number"
      +                },
      +                "min": {
      +                  "type": "number"
      +                },
      +                "parameter": {
      +                  "enum": [
      +                    "forwardVoltage",
      +                    "reverseVoltage",
      +                    "outputVoltage"
      +                  ],
      +                  "type": "string"
      +                },
      +                "source": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "documentHash": {
      +                      "pattern": "^[a-f0-9]{64}$",
      +                      "type": "string"
      +                    },
      +                    "excerpt": {
      +                      "maxLength": 300,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "location": {
      +                      "maxLength": 300,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "url": {
      +                      "format": "uri",
      +                      "maxLength": 2048,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "url",
      +                    "location",
      +                    "documentHash"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "parameter",
      +                "min",
      +                "max",
      +                "conditions",
      +                "source"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 2,
      +            "type": "array"
      +          },
      +          "reason": {
      +            "maxLength": 180,
      +            "type": "string"
      +          },
      +          "requirement": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "conditions": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "currentMa": {
      +                    "description": "DC test current in mA (load current for output voltage).",
      +                    "minimum": 0,
      +                    "type": "number"
      +                  },
      +                  "inputVoltageV": {
      +                    "description": "Supply voltage in V for an output-voltage test.",
      +                    "type": "number"
      +                  },
      +                  "temperatureC": {
      +                    "description": "Ambient test temperature in °C.",
      +                    "minimum": -273.15,
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "max": {
      +                "description": "Inclusive maximum acceptable voltage in V.",
      +                "type": "number"
      +              },
      +              "min": {
      +                "description": "Inclusive minimum acceptable voltage in V.",
      +                "type": "number"
      +              },
      +              "parameter": {
      +                "enum": [
      +                  "forwardVoltage",
      +                  "reverseVoltage",
      +                  "outputVoltage"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "parameter"
      +            ],
      +            "type": "object"
      +          },
      +          "status": {
      +            "enum": [
      +              "qualified",
      +              "mismatch",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "unresolvedSource": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "documentHash": {
      +                "pattern": "^[a-f0-9]{64}$",
      +                "type": "string"
      +              },
      +              "excerpt": {
      +                "maxLength": 300,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "location": {
      +                "maxLength": 300,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "url": {
      +                "format": "uri",
      +                "maxLength": 2048,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "url",
      +              "location",
      +              "documentHash"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "requirement",
      +          "status",
      +          "reason",
      +          "evidence"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 4,
      +      "minItems": 1,
      +      "type": "array"
      +    },
      +    "datasheet": {
      +      "format": "uri",
      +      "maxLength": 2048,
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "qualified",
      +        "mismatch",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "checks"
      +  ],
      +  "type": "object"
      +}
  3. Changed4 schema fields changed
    • removedInput schema / properties / boardId
      Removed value: -{
      -  "description": "Optional saved board ID requiring that board’s account or guest access. Enforces its strict Part List when enabled; omit for public catalog browsing.",
      -  "format": "uuid",
      -  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -  "type": "string"
      -}
    • addedInput schema / properties / boardRef
      Added value: +{
      +  "description": "Private board reference. For a new board generate 32 random bytes, encode as unpadded base64url, and prepend egbr1_. Keep this same value for creation retries and every later board operation. Copy returned references unchanged. Keep it in this conversation or supported private execution state; never put it in logs or source files. A private board link may carry it in its fragment.",
      +  "pattern": "^(?:egbr1_[A-Za-z0-9_-]{42}[AEIMQUYcgkosw048]|egba1_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\\.[A-Za-z0-9_-]{42}[AEIMQUYcgkosw048])$",
      +  "type": "string"
      +}
    • removedInput schema / properties / guestToken
      Removed value: -{
      -  "description": "Private continuation capability from create_board.guestAccess.guestToken or start_guest_session. Reuse it for this guest board. Never print it or save it in a repository.",
      -  "maxLength": 200,
      -  "minLength": 32,
      -  "type": "string"
      -}
    • addedInput schema / required
      Added value: +[]
  4. Changed2 schema fields changed
    • changedInput schema / properties / boardId / description
      Previous value: -"Optional saved board ID. Enforces that board’s strict Part List when enabled; omit to use the full published catalog."New value: +"Optional saved board ID requiring that board’s account or guest access. Enforces its strict Part List when enabled; omit for public catalog browsing."
    • changedInput schema / properties / guestToken / description
      Previous value: -"Private guest-session capability returned by start_guest_session. Never print it or save it in a repository."New value: +"Private continuation capability from create_board.guestAccess.guestToken or start_guest_session. Reuse it for this guest board. Never print it or save it in a repository."
  5. Changed8 schema fields changed
    • changedInput schema / properties / capacitance / description
      Previous value: -"Exact capacitance in farads (1e-7 = 100 nF)."New value: +"Exact farads (1e-7 = 100 nF)."
    • changedInput schema / properties / category / description
      Previous value: -"Exact catalog category; omit when unknown."New value: +"Catalog category."
    • changedInput schema / properties / frequency / description
      Previous value: -"Exact frequency in hertz (8e6 = 8 MHz)."New value: +"Hertz (8e6 = 8 MHz)."
    • changedInput schema / properties / inductance / description
      Previous value: -"Exact inductance in henries (1e-6 = 1 µH)."New value: +"Exact henries."
    • changedInput schema / properties / jlcpcbBasic / description
      Previous value: -"Restrict to JLCPCB Basic parts when true; false or omission leaves this filter unset."New value: +"Basic-only when true; otherwise leave unset."
    • changedInput schema / properties / resistance / description
      Previous value: -"Exact resistance in ohms (10000 = 10 kΩ)."New value: +"Exact ohms (10000 = 10 kΩ)."
    • changedInput schema / properties / subcategory / description
      Previous value: -"Exact catalog subcategory, such as chip_resistor, mlcc, or ldo."New value: +"Subcategory, e.g. chip_resistor, mlcc, ldo."
    • changedInput schema / properties / voltageRating / description
      Previous value: -"Exact voltage rating in volts."New value: +"Rated volts."
  6. Changed14 schema fields changed
    • addedInput schema / properties / boardId / description
      Added value: +"Optional saved board ID. Enforces that board’s strict Part List when enabled; omit to use the full published catalog."
    • addedInput schema / properties / capacitance / description
      Added value: +"Exact capacitance in farads (1e-7 = 100 nF)."
    • addedInput schema / properties / category / description
      Added value: +"Exact catalog category; omit when unknown."
    • changedInput schema / properties / factQuery / description
      Previous value: -"Cached-fact terms only; requires query. Omit for filter-only searches."New value: +"Cached-fact terms only; requires query. Omit for filter-only searches. It never changes which parts match."
    • addedInput schema / properties / frequency / description
      Added value: +"Exact frequency in hertz (8e6 = 8 MHz)."
    • addedInput schema / properties / inductance / description
      Added value: +"Exact inductance in henries (1e-6 = 1 µH)."
    • addedInput schema / properties / jlcpcbBasic / description
      Added value: +"Restrict to JLCPCB Basic parts when true; false or omission leaves this filter unset."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum catalog candidates to return, from 1 to 20; defaults to 3."
    • addedInput schema / properties / mountingType / description
      Added value: +"smt: surface mount; tht: through-hole; mixed: both."
    • addedInput schema / properties / package / description
      Added value: +"Exact catalog label; use query for package families."
    • changedInput schema / properties / query / description
      Previous value: -"PCB selection terms: MPN, manufacturer, description or package family. For exact MPNs omit unverified categories unless user-required. Preserve explicit filters and Part Lists; factQuery does not select parts."New value: +"PCB selection terms: MPN, manufacturer, description or package family. For exact MPNs omit unverified categories unless user-required. Preserve explicit filters and Part Lists; factQuery does not select parts. Required when factQuery is supplied."
    • addedInput schema / properties / resistance / description
      Added value: +"Exact resistance in ohms (10000 = 10 kΩ)."
    • addedInput schema / properties / subcategory / description
      Added value: +"Exact catalog subcategory, such as chip_resistor, mlcc, or ldo."
    • addedInput schema / properties / voltageRating / description
      Added value: +"Exact voltage rating in volts."
  7. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, so the safety profile needs no restating. The description adds genuinely non-structured behavior: the first candidate carries verified pins while others may omit them, factQuery never changes which parts match, and boardRef is mandatory for boards with a strict Part List. It stops short of describing scoring/ranking or result ordering.

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?

The purpose is front-loaded, but the body is a flat run of imperatives with no grouping between parameter selection, candidate workflow, and error handling. Operational policy sentences ("On mismatch, check the next candidate", the datasheet-verification advice) are relevant but dense, and an agent has to parse one unbroken block for 15 parameters.

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

Completeness4/5

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

For a 15-parameter search with a nested requirements object and an output schema (so return values need no explanation), the description covers the ambiguous parameters, the candidate re-check path, and the get_part fallback. The remaining gap is ordering/pagination semantics and what "verified pins" mean, which are secondary.

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 a baseline of 3 would be acceptable, but the description adds real semantics beyond the schema: requirements carry test conditions, voltageRating is distinguished from forward-voltage requirements, and candidateIds are re-checked "within all supplied filters and the active Part List". The boardRef sentence adds the when (strict Part List boards) rather than repeating the encoding rules already in the schema.

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?

"Searches published catalog components" gives a specific verb and resource, and the text later contrasts it with get_part ("call get_part only when the selected candidate lacks needed pins or facts"). The differentiation is real but buried in the middle of a long imperative block, so an agent must read several sentences to separate this tool from its nearest sibling.

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 rules for nearly every parameter: catalog filters for category/package, "query for the remaining terms or exact MPN", "Put electrical bounds and applicable test conditions in requirements", "Use forwardVoltage for LED Vf", candidateIds for re-checking prior results, and get_part only when pins/facts are missing. It also states a concrete failure policy (at most two simpler-text retries preserving all required filters; otherwise report the unmet requirement).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.