Skip to main content
Glama
Cliff MCP Server

Cliff MCP Server

Official
by cliff-hq

price_bom

Price an entire design in one call and group lines into the orders they become, with per-line offers, shop quotes, text-line part matching, and ready cart and checkout arguments.

Instructions

Price a whole design in one call and group it into the orders it would become. lines: [{"ref", "part": a part id} or {"ref", "text": "6811ZZ bearing"} (bought), or {"ref", "made": {"process", "material", "part": as quote_made_part takes it}} (made), each with "quantity" per build]. Each line's options: its offers or its shops' quotes; a text line says which part it matched and what else it might be. Nothing is chosen for you (update_bom). The chosen lines become carts (make_cart) and one quote a shop (quote_shop_order); checkout is start_checkout's arguments. 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": {
      "lines": "<lines>"
    },
    "name": "price_bom"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
linesYes
buildsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: an API key is required, nothing is selected or mutated ('Nothing is chosen for you'), and each line returns either its offers or its shops' quotes plus match candidates for text lines. It does not state cost, latency, or whether pricing is a snapshot, but the core side-effect profile is communicated.

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 purpose and extremely dense — nearly every clause carries schema or routing information. Readability suffers from inline JSON literals, backticks, and run-on parentheticals, but there is little genuine filler to cut.

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 complex tool with a freeform array parameter, no annotations, and no output schema, the description covers input shapes, what comes back per line, the downstream handoff to make_cart/quote_shop_order/start_checkout, and the auth requirement. The gaps are the undescribed `name` parameter and any statement about result size or failure modes for unmatched text lines.

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 0% and the `lines` items are an untyped object with additionalProperties, so the description is the only source of item structure — and it supplies it well, enumerating the part/text/made variants, the required 'ref', and the per-line 'quantity'. `builds` is indirectly covered via 'per build', but the `name` parameter is never explained.

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?

States a specific verb and resource: 'Price a whole design in one call and group it into the orders it would become.' This distinguishes it from the per-part pricing siblings (get_offers) and from the selection/mutation tools (update_bom, make_cart) by naming them inline. It stops short of 5 because the telegraphic phrasing ('group it into the orders it would become') requires domain familiarity to parse precisely.

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?

Routing cues are present but encoded in terse parentheticals: 'Nothing is chosen for you (update_bom)', 'The chosen lines become carts (make_cart)', and 'one quote a shop (quote_shop_order)'. The agent can infer this is a pre-decision pricing pass, but there is no explicit 'use this when X instead of Y' statement and no stated preconditions beyond the API key.

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