Skip to main content
Glama

List Bills of Materials

list_bills_of_materials
Read-only

List the tenant's bills of materials: finished good (id, SKU, name), the isPrimary flag planning explodes on, and the component lines in BOM order (component SKU/name/type — noninventory lines are labor/overhead — quantity per unit, UoM, optional/scrap/note). Optionally filter to one finished good by SKU. Paged: returns Total (pre-paging) plus the page; default 100, max 500 per call. An unpinned 3PL operator can pass clientId to list one client's BOMs.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 100, max 500).
offsetNoZero-based row offset for paging (default 0).
clientIdNoOptional client id for a 3PL operator view. Client-pinned credentials omit it.
finishedGoodSkuNoOptional finished-good SKU (case-insensitive exact match) to fetch a single item's BOM.

Output Schema

NameRequiredDescriptionDefault
bomsNo
limitNo
totalNo
offsetNo
scopeClientIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds real operational context on top: paging semantics (Total is pre-paging, default 100, max 500 per call) and the credential-dependent clientId behavior for 3PL operators. It also clarifies a domain quirk (noninventory component lines represent labor/overhead) that would otherwise be misread as bad data.

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?

Front-loaded with the resource and its read shape, then paging, then the 3PL caveat — a sensible order with no filler sentences. The heavy parenthetical packing makes it dense to parse, but every clause carries information.

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 read-only, fully-described-parameter list tool with an output schema and explicit paging rules, the description covers everything needed to invoke it correctly. It does not state the ordering of the BOM list itself (only that component lines follow BOM order), a minor gap for a paged listing.

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 the baseline is 3, but the description contributes meaning beyond the schema: it explains what isPrimary actually drives ("planning explodes on") and what a noninventory component type means. limit/offset/finishedGoodSku are largely restated from the schema, which keeps this from a 5.

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?

States a specific verb and resource ("List the tenant's bills of materials") and then enumerates exactly what a BOM record contains: finished good id/SKU/name, the isPrimary flag, and component lines with quantity per unit, UoM, and optional/scrap/note. The list-versus-write distinction from siblings like upsert_bills_of_materials and set_bill_of_materials is unmistakable without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete usage context for two paths: "Optionally filter to one finished good by SKU" and "An unpinned 3PL operator can pass clientId to list one client's BOMs." It does not name an alternative tool or state when not to use this one, so it stops short of full routing guidance.

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