Skip to main content
Glama

upsert_bom

Create a BOM or a new BOM revision with assemblies, catalog items, custom parts, services, consumables, artifacts, and interface dependencies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
itemsYes
bom_idNo
project_idYes
dependenciesNo
build_quantityNo
source_artifact_idNo

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

B3/5.0
Behavior3/5

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

Annotations already signal that this is a write operation (readOnlyHint=false), non-idempotent, and non-destructive; the description adds the useful nuance that it creates either a new BOM or a new BOM revision. However, it does not describe side effects such as whether passing bom_id updates an existing BOM, whether a revision is auto-created, or what happens when bom_id is omitted.

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?

The description is a single dense sentence with the action verb up front and no filler or repetition. It is appropriately sized for the little information it provides, though that brevity contributes to the completeness gap.

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

Completeness2/5

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

This is a complex mutation tool with 7 parameters, nested item schemas, several enums, and an output schema, yet all behavioral and usage guidance is compressed into one sentence. It does not clarify when to pass bom_id versus create a fresh revision, how source_artifact_id works, or how dependencies are structured, making it incomplete for the tool's complexity.

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?

Schema description coverage is 0%, so the description needs to compensate, but it only broadly maps to items and dependencies via content-type names. Key parameters such as bom_id, project_id, build_quantity, and source_artifact_id are left unexplained, as are important item subfields like line_number, quantity_per_assembly, and make_or_buy.

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 states a specific action ('Create a BOM or a new BOM revision') and names the supported content types: assemblies, catalog items, custom parts, services, consumables, artifacts, and interface dependencies. It is clearly distinct from the read-only get_bom sibling, though it does not explicitly contrast with other BOM-related tools.

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

Usage Guidelines2/5

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

No guidance is given for when to use this tool versus alternatives such as get_bom for reads or validate_project for validation. The only implied usage signal is the verb 'Create', so the agent is left to infer the appropriate context.

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