Skip to main content
Glama
Cliff MCP Server

Cliff MCP Server

Official
by cliff-hq

update_bom

Modify a bill of materials by updating line items, quantities, or build counts, and reprice it while preserving available seller or shop choices.

Instructions

Change a BOM: lines [{"ref", "choice": an option id (an offer id, a shop's quote id) or null, "quantity"}], or builds. Re-pricing keeps each choice where that seller or shop is still there. Needs an API key.

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": {
      "bom_id": "<bom_id>"
    },
    "name": "update_bom"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNo
bom_idYes
buildsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose two useful traits beyond the schema: the API-key requirement and that re-pricing retains each choice where that seller/shop still exists. However, it omits whether 'lines' replaces or merges existing lines, what happens to unspecified builds, and whether the operation is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loads the core action, which is good. However, the inline pseudo-schema notation and the dangling 'or builds' make it terser and more cryptic than necessary, reducing readability without adding clarity.

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?

For a mutation tool with no annotations and no output schema, the description should explain update semantics and all three parameters. It covers the most complex parameter (lines) and notes auth and re-pricing persistence, but leaves 'builds' undefined and the replace-vs-merge behavior unclear, so it is not complete for the tool's complexity.

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 compensate. It adds substantial meaning for 'lines' by spelling out the object shape and clarifying that 'choice' is an offer id or shop quote id or null. But 'builds' (an integer) and 'bom_id' receive no explanation, leaving part of the parameter set undocumented.

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 names a specific verb and resource ('Change a BOM') and enumerates what can be changed ('lines ... or builds'), so the agent knows it mutates an existing BOM. It does not distinguish itself from siblings like price_bom or get_bom, which keeps it from a 5.

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?

There is no explicit when-to-use or when-not guidance, and no naming of alternatives such as price_bom for re-pricing. The only prerequisite-like signal is 'Needs an API key', which is not a usage-selection rule.

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