Skip to main content
Glama

ClevrGo

Confirm a ClevrGo booking

clevrgo_confirm
Destructive

Confirm a booking or order ClevrGo prepared (the confirmation id from clevrgo_book_room, clevrgo_book_flight or clevrgo_buy_product). Call it ONLY when the user said yes to this purchase themselves: to this summary, or -- for a negotiated product -- to the negotiated price, for the same item, option and quantity, with the goods price not higher (shipping comes on top). Never on your own, never for anything else, and never when the price went up. For a room or flight, ClevrGo then books and creates the payment, within the limits the user allowed for this assistant -- and, if the user turned on wallet payment in ClevrGo, pays it from their wallet; otherwise the result carries a ClevrGo link to pay. For a room or flight prepared to pay on a link (a cgl_ id) and for a product (cgp_), ClevrGo books it or places the order and creates the payment, and the result carries a one-time ClevrGo link that opens straight on the user's wallet signature -- no money moves until they sign; the result's settlement says where it pays.

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": {
      "confirmation_id": "<confirmation_id>"
    },
    "name": "clevrgo_confirm"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmation_idYesThe confirmation id, starting with cgc_ (a room), cgf_ (a flight), cgl_ (a room or flight paid on a ClevrGo link) or cgp_ (a product).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the irreversible purchase nature is partly covered. The description goes well beyond them by explaining what actually happens downstream: booking plus payment creation within user-set limits, wallet debit if enabled, or a one-time link that moves no money until signed, with the settlement field reporting where it pays. It does not cover failure/expiry behavior for stale confirmation ids, so it is strong rather than complete.

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 the hard precondition, then payment mechanics. It is dense but the long em-dash clauses and the room/flight-vs-link-vs-product enumeration make it heavier than necessary; the same content could be tightened without losing meaning.

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?

There is no output schema, and the description compensates by describing what the result carries (a ClevrGo payment link, a settlement field). For a one-parameter, high-stakes mutation that is close to sufficient, with the main remaining gap being error and expiry semantics.

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 100%, and the schema already decodes the cgc_/cgf_/cgl_/cgp_ prefixes. The description reinforces the meaning by tying the cgl_/cgp_ cases to the link-signing payment path, which adds routing value beyond a bare prefix list, though it does not add format or validation detail.

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?

"Confirm a booking or order ClevrGo prepared" gives a specific verb and resource, then names the exact producing siblings (clevrgo_book_room, clevrgo_book_flight, clevrgo_buy_product) as the source of the confirmation id. An agent can distinguish this confirm step from the booking/ordering tools without opening any 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?

Explicit preconditions: only when the user said yes to this exact purchase, options and quantity match, the goods price did not go up, and never on the agent's own initiative. It also carves out the price-increase case as a refusal condition, which is a real when-not rule rather than a generic caution.

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