Skip to main content
Glama

get_bom

Read-onlyIdempotent

Read the current revision of one project BOM, including hierarchy, quantities, sourcing state, and interface dependencies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bom_idYes
project_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bomYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / bom / properties / current_revision / properties / revision_number
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • removedOutput schema / properties / bom / properties / current_revision / properties / version
      Removed value: -{
      -  "exclusiveMinimum": 0,
      -  "maximum": 9007199254740991,
      -  "type": "integer"
      -}
    • changedOutput schema / properties / bom / properties / current_revision / required
      Previous value: -[
      -  "id",
      -  "version"
      -]New value: +[
      +  "id",
      +  "revision_number"
      +]
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, setting a clear safety baseline. The description adds valuable behavioral context by specifying the output granularity: it returns hierarchy, quantities, sourcing state, and interface dependencies, which would not be known otherwise. It also notes 'current revision,' distinguishing from version history or draft access, which enriches the interaction model.

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?

A single, precisely worded sentence that packs in the tool's purpose, scope, and return contents without any wasted words. Every phrase adds information. This is a model of efficient communication.

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 low-complexity read tool with an output schema, the description is sufficiently complete: it tells the agent what the tool does and outlines the semantic groups in the output (hierarchy, quantities, sourcing state, dependencies). The presence of an output schema obviates the need to detail return values. The only minor gap is not indicating pagination or large response handling, but that is beyond the scope of a typical description.

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

Parameters2/5

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

With 0% schema description coverage, the description must clarify the two parameters. It only says 'one project BOM,' which suggests bom_id but leaves project_id's role ambiguous and fails to explain the relationship between the two (e.g., project_id scopes the BOM). The description does not compensate for the lack of parameter details in the schema.

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?

The description uses a specific verb 'Read' and a clear resource, 'the current revision of one project BOM,' and enriches it with the kind of data returned (hierarchy, quantities, sourcing state, interface dependencies). It clearly differentiates from sibling read tools like get_project or get_requirement_schema by focusing on BOM revision retrieval. This is a model example of a clear, specific, and distinct purpose.

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?

The description implies usage for reading a single BOM but does not provide explicit guidance on when to choose this tool over alternatives like get_project or get_purchase_plan. There is no mention of exclusions, prerequisites, or typical use cases beyond the obvious read action. The intended use is understandable but relies on inference rather than explicit direction.

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