Skip to main content
Glama

Bill of materials

get_bom
Read-only

The live-priced BOM: each line with references, value, footprint, the chosen offer (seller, part number, MPN, price, stock, match quality), alternatives and totals. refresh asks the sellers again (tens of seconds).

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": {
      "design_id": "<design_id>"
    },
    "name": "get_bom"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNoJLCPCB PCBA tier to source for, kept with the design. 'economic' swaps Standard-only parts for Economic-eligible ones that match as well; default 'standard' (no filter). The BOM reports which parts decide the tier either way.
boardsNoBoards to price for (default 1).
refreshNoAsk the sellers again instead of the stored prices.
design_idYesThe design id returned by create_design or list_designs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / design_id / pattern
      Removed value: -"^[A-Za-z0-9_-]{8,80}$"
  2. Changed1 schema field changed
    • addedInput schema / properties / tier
      Added value: +{
      +  "description": "JLCPCB PCBA tier to source for, kept with the design. 'economic' swaps Standard-only parts for Economic-eligible ones that match as well; default 'standard' (no filter). The BOM reports which parts decide the tier either way.",
      +  "enum": [
      +    "economic",
      +    "standard"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered; the description adds the non-obvious cost trait that refresh performs live seller calls taking tens of seconds, which is real behavioral context an agent needs before invoking. It does not cover failure modes (e.g. what happens when a seller call fails or a design has no priced offers), which keeps it short of a 5.

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?

Two sentences, front-loaded with what the tool returns and followed by the one operational caveat (refresh latency). No filler, though the parenthetical enumeration of offer fields is dense and slightly harder to scan than a short list.

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?

There is no output schema, so the description carries the return-value burden and does so usefully by naming the per-line fields and totals. Combined with full schema coverage on all four parameters and annotations covering the read-only profile, an agent has enough to call it correctly; only error/empty-result behavior is left unaddressed.

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%, so the schema already documents design_id, tier, boards, and refresh in detail. The description only adds the latency/network cost for refresh and says nothing about tier selection or boards, so beyond-schema meaning is marginal and the baseline 3 applies.

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?

States the resource (the live-priced BOM) and enumerates exactly what each line contains: references, value, footprint, chosen offer with seller/MPN/price/stock/match quality, alternatives, and totals. That is far more specific than a tautology, but it gives no explicit contrast with siblings such as choose_bom_part or consolidate_bom_basic, so differentiation is left implicit.

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?

Use is implied rather than stated: an agent can infer this is the retrieval step for a priced BOM, and 'refresh asks the sellers again (tens of seconds)' implicitly warns against setting refresh casually. There is no explicit when-to-use statement, no exclusions, and no pointing to alternatives like consolidate_bom_basic or choose_bom_part.

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.

Resources