Skip to main content
Glama

ClevrGo

Prepare a flight booking

clevrgo_book_flight

Ask ClevrGo to prepare a booking for one one-way flight the user has clearly chosen, by its reference from clevrgo_flight_search (f1, f2). Nothing is booked or paid by this: ClevrGo confirms the fare with the airline and answers with a booking summary and a confirmation id. Show the user that summary, passengers and price exactly as given; call clevrgo_confirm only after they clearly confirm it, or give them the ClevrGo link. The passengers are travellers the user saved in ClevrGo: if ClevrGo lists them for a choice, ask the user which, and call again with their travelerRefs. If the booking says paysOn: clevrgo_link, confirming in the chat books it and creates the payment, and returns a one-time link that only asks for the user's wallet signature -- say so. Never ask for passport, ID, birth date or card numbers, and do not say the flight is booked before ClevrGo says so.

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": {
      "flightRef": "<flightRef>"
    },
    "name": "clevrgo_book_flight"
  }
}

Input Schema

NameRequiredDescriptionDefault
flightRefYesThe flight's reference from flight_search, e.g. 'f2'.
travelerRefsNoWhich saved travellers fly, by the references ClevrGo listed when it asked (e.g. 't3fa21c'). Omit on the first request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare mutating, non-destructive, open-world; the description adds substantial context after that: the side effect is a fare confirmation with the airline, not a purchase, and it returns a booking summary plus a confirmation id. It also discloses the paysOn: clevrgo_link branch (chat confirmation books and creates payment, returns a one-time wallet-signature link) and privacy limits. Loses a point only because the return content's shape must be inferred since no output schema exists.

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 no-booking guarantee, and most sentences carry operational weight. It is nevertheless a dense block of roughly a dozen clauses mixing tool semantics with conversation policy, so it drifts toward sprawling rather than crisp.

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, the description carries the burden and does name the return values (booking summary, confirmation id, one-time link when paysOn is clevrgo_link). What it lacks is any hint about error or failure states -- e.g., a fare no longer available -- which matters for an open-world external booking call.

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%, so the baseline is 3; the description earns more by explaining the sequencing behind travelerRefs -- saved traveller refs may come back as a choice list, in which case the agent must ask the user and re-call. That two-pass protocol is meaning the schema does not convey.

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?

States a specific verb and resource ('prepare a booking for one one-way flight'), pins the input to a reference from clevrgo_flight_search with concrete examples (f1, f2), and immediately distinguishes itself from the sibling that actually books (clevrgo_confirm). An agent can identify the tool without opening the 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?

Explicitly bounds when to use it ('one-way flight the user has clearly chosen'), when not to ('Nothing is booked or paid by this'), and routes to the alternative ('call clevrgo_confirm only after they clearly confirm it, or give them the ClevrGo link'). The two-step passenger selection flow ('call again with their travelerRefs') is also spelled out.

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