Skip to main content
Glama

get_bom

Read-onlyIdempotent

Generates a bill of materials from an OrCAD Capture design, grouping parts by selected properties and listing quantities and references; optionally exports the BOM to CSV.

Instructions

Bill of materials: parts grouped by group_by properties (default ["Value", "PCB Footprint"]), with quantity and reference list. Each multi-section package counts once.

csv_path (optional, absolute) also writes the BOM as a CSV file (UTF-8 with BOM, opens in Excel).

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

Input Schema

NameRequiredDescriptionDefault
designNo
csv_pathNo
group_byNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior4/5

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

The description adds real behavior beyond the annotations: default grouping is ["Value", "PCB Footprint"], each multi-section package counts once, and the CSV output is UTF-8 with BOM so it opens in Excel. One caveat worth noting is that the optional `csv_path` causes a filesystem write despite `readOnlyHint: true`; that is an output-artifact write rather than a design mutation, so it does not rise to a contradiction, but it is not disclosed as a side effect either.

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 short sentences, zero filler, with the core output definition front-loaded and the optional CSV behavior placed second. Parenthetical defaults and the counting rule are compact and each sentence carries distinct 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?

With no output schema, the description does outline the return shape (grouped parts, quantity, references), which is the most important gap closed. But the `design` parameter, the behavior when it is null (presumably the active design), and any note about what the write to `csv_path` overrides are missing for a tool whose annotations already imply a pure read.

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 0%, so the description must carry the load: it does explain `group_by` (its default list and that grouping drives the output) and `csv_path` (absolute path, produces a CSV file). The third parameter, `design`, is never mentioned, so the agent gets no guidance on which design is used or what happens when it is omitted.

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 opens with a specific verb+resource ('Bill of materials') and states exactly what the returned structure contains: parts grouped by `group_by`, with quantity and reference lists. It is clearly a BOM-generation/retrieval tool, but it never names or contrasts itself with the sibling `export_bom`, which is the one alternative an agent would most likely hesitate between.

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 only implied: read the BOM in-memory, and optionally pass `csv_path` when a file artifact is wanted. There is no explicit statement of when to prefer this over `export_bom`, no prerequisites (e.g. that a design must be open), and no exclusion cases. An agent can infer the basic call, but the sibling boundary is left to guesswork.

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