Skip to main content
Glama
Cliff MCP Server

Cliff MCP Server

Official
by cliff-hq

make_cart

Groups selected offers by store into a single order, prices each line in whole packs at the last seen price, and returns a cart link or product pages for checkout.

Instructions

Chosen offers grouped into one order a store: lines [{"offer": an offer id from get_offers, "quantity"}]. Each store's lines priced in whole packs at the price last seen, and handed over as one cart link where the store takes one, else its product pages.

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": "make_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesYes

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 full burden and does meaningful work: it discloses that lines are priced in whole packs, that pricing uses the last-seen price, and that the result is a cart link when the store supports carts and product pages otherwise. It does not say whether this commits an order or merely builds carts, nor whether it has side effects at the store.

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?

It is short (two sentences) and front-loads the input shape, but the telegraphic, ungrammatical phrasing ("grouped into one order a store", "handed over as one cart link") forces the reader to reconstruct the meaning. The density is justified; the wording is not.

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 one-parameter tool with no annotations and no output schema, the description covers input structure, pricing semantics, and the two possible return shapes, which is close to sufficient. The main gap is commit semantics: an agent cannot tell whether make_cart merely assembles carts or places a binding order.

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 only parameter is an untyped array of objects, so the schema teaches nothing. The description compensates well by naming the nested fields (offer, taken from get_offers) and quantity, plus the pricing/rounding behavior applied to quantities. It stops short of stating quantity units or integer constraints.

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 conveys a specific transformation: chosen offers (from get_offers) with quantities are grouped per store and turned into an order/cart. That is distinguishable from siblings like get_offers or start_checkout. The phrasing "grouped into one order a store" is grammatically broken, which slightly muddies whether one cart per store is created.

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?

It implies the prerequisite flow by stating the offer ids must come from get_offers, which tells the agent where the input originates. It gives no explicit when-to-use versus start_checkout, no when-not conditions, and no prerequisites about authentication or store availability.

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