Skip to main content
Glama
Cliff MCP Server

Cliff MCP Server

Official
by cliff-hq

get_offers

Retrieve purchase offers for a hardware part and quantity, showing seller prices, pack sizes, whole-pack costs, and order handover details with stable offer IDs for cart or checkout.

Instructions

Where to buy the part for this quantity: each seller's price (live where the store can be read now, else the remembered price and when), pack size and what the quantity costs in whole packs, and how the order is handed over (one cart link for a store that takes one). Each offer's id is stable: hold it for make_cart, a BOM's choice or start_checkout.

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": {
      "part_id": "<part_id>"
    },
    "name": "get_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
part_idYes
quantityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the live-vs-remembered price fallback and that staleness timing is reported, notes pack-size/whole-pack rounding behaviour, and explains the handover shape (a single cart link for stores that accept one). It does not say the call is read-only/no-cost or describe latency or rate behaviour, which are the remaining gaps.

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?

The purpose is front-loaded in the opening clause and the second sentence on stable ids is short and actionable. The long enumerated clause with stacked parentheticals is dense but each element (price freshness, pack size, handover) carries information, so little is wasted.

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?

With no output schema and no annotations, the description compensates by describing the returned fields and the id-reuse contract, which is what an agent needs to plan a purchase flow. The main omission is the provenance/format of the required part_id, and there is no statement of failure behaviour when no seller is readable.

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 gives real meaning to quantity ('what the quantity costs in whole packs'), implying rounding up to pack sizes, and ties part_id implicitly to 'the part'. However, it never states where part_id comes from (search_parts id? SKU?) or its format, leaving the required parameter under-specified.

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 concrete resource: per-seller offers for a part at a given quantity, including price freshness, pack size, whole-pack cost and handover method. It is clearly distinct from siblings like price_bom or quote_shop_order in that it returns seller-level offers and stable offer ids. It stops short of a single crisp 'returns purchasing offers for a part' sentence, relying on enumeration instead.

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 by the phrase 'Where to buy the part for this quantity', and the mention that offer ids feed make_cart, a BOM's choice or start_checkout gives useful downstream chaining. There is no explicit statement of when to prefer this over price_bom, quote_shop_order or list_shops, and no prerequisites or exclusions are given.

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