Skip to main content
Glama

ClevrGo

Prepare a ClevrGo product order

clevrgo_buy_product

Ask ClevrGo to prepare an order for one product the user has clearly chosen, by its reference from clevrgo_catalog_search (p1, p2). Nothing is ordered or paid by this: ClevrGo prices the product, the option, the quantity and shipping to an address the user saved in ClevrGo, says where the money goes (settlement: class A the merchant's wallet, class B the escrow contract and its hold), and answers with a summary and a confirmation id. Preparing is how you get the full total for the ONE question you ask before buying a product that is not negotiable (item, option, quantity, ship-to, total, where the money goes); a negotiable product is prepared after the user accepted the negotiated price, and needs no second question when the item, option and quantity are the same and the goods price is not higher. clevrgo_confirm then places the order and creates the payment, and gives a one-time link that only asks for the user's wallet signature. If ClevrGo lists options or addresses, ask the user which and call again. Never ask for or pass an address, phone number or card number, and do not say the product is ordered.

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": {
      "productRef": "<productRef>"
    },
    "name": "clevrgo_buy_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionNoWhich option (size, colour ...), by the option values the search showed for it, e.g. ['Black', 'L']. Omit for a product with one option.
couponIdNoA coupon from clevrgo_my_coupons, only when the user picks a particular one. Omit and ClevrGo applies the user's best coupon for this shop by itself.
noCouponNotrue when the user does not want to use a coupon on this order.
quantityNoHow many. Default 1.
addressRefNoWhich saved address, by the reference ClevrGo listed (e.g. 'a3fa21c'). Omit on the first request: ClevrGo uses the address the user last delivered to.
productRefYesThe product's reference from clevrgo_catalog_search, e.g. 'p2'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, and the description adds the crucial caveat that "Nothing is ordered or paid by this," plus what ClevrGo computes (price, option, quantity, shipping), how settlement is routed (class A merchant wallet, class B escrow hold), and what is returned (summary + confirmation id). That is real context beyond the annotations, though it does not address whether a prepared order expires or can be reused.

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 first clause and nearly every sentence carries operational weight (no-payment caveat, settlement, return value, next tool, address/option follow-up). The cost is density: the parenthetical sentence about negotiable products and the "ONE question you ask" clause are long and read as run-ons inside a single unstructured paragraph.

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

Completeness5/5

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

There is no output schema, and the description compensates by stating the response shape ("a summary and a confirmation id") and the downstream artifact (a one-time wallet-signature link from clevrgo_confirm). Given six parameters, a required productRef, and explicit prohibitions on handling address/phone/card data, an agent has everything needed to call it correctly and to set user expectations.

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 description coverage is 100%, so the baseline is 3; the description goes further by explaining that productRef comes from clevrgo_catalog_search (p1, p2), that a negotiable product's second preparation needs no new question when "the item, option and quantity are the same and the goods price is not higher," and that a missing option/address must be obtained from the user rather than invented. It adds no detail on coupon interaction or quantity limits beyond the schema, but contributes flow-level meaning the schema cannot.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Ask ClevrGo to prepare an order for one product the user has clearly chosen, by its reference from clevrgo_catalog_search" gives a specific verb (prepare), a single resource (one product), and the required input source. It explicitly separates itself from clevrgo_confirm, which "places the order and creates the payment," so an agent can distinguish prepare-vs-buy without opening either schema.

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

Usage Guidelines5/5

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

It states when to use the tool (product already chosen, non-negotiable item, to obtain a total before asking the single buying question), the exception for negotiable products after price acceptance, and the fallback when options or saved addresses are ambiguous ("ask the user which and call again"). It also routes the next step to clevrgo_confirm, covering when-not-to-stop-here.

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