Skip to main content
Glama

Zestli

Create Quote

create_quote

Use this when the user is ready to see a firm, bookable price for specific supply items (supply_ids from search_supply). For a scheduled experience with several departures, pass the user's chosen occurrence_id; without it the result is OCCURRENCE_CHOICE_REQUIRED with occurrence_choices. When it has rate_options (e.g. adult/child, private group) pass the user's choice, plus any add_ons they want. Live-prices each item and records a quote with a 15-minute expiry and a line-item payment breakdown. Expiry is not a supplier price or inventory lock; checkout revalidates price, availability and terms. Separate supplier charges may be incomplete; only a stated all-in total is all-in. Quoting never charges or holds anything — booking happens via initiate_booking + confirm_booking. Flights are quoted only where Zestli sells them; otherwise FLIGHTS_NOT_SOLD. For hotels with more than one person, ask how to split adults and children across rooms; never assume. Rentals (bikes, boats, boards, gear) sell a fixed list of durations from allowed pickup times: pass rental_selection with the duration, local pickup time and every item or kit with its quantity in one quote; the result states the pickup and return times. Tell the user any line item's travel_notice before they pay. State amounts using the *_display fields.

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": {
      "request": "<request>"
    },
    "name": "create_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesInput for creating a price quote.

Output Schema

NameRequiredDescriptionDefault
add_onsNo
messageNo
currencyNo
quote_idYes
subtotalYes
fee_totalNo
tax_totalNo
error_codeNo
expires_atYes
is_sandboxNo
line_itemsNo
grand_totalNo
rate_optionsNo
accommodationNo
subtotal_displayNo
fee_total_displayNo
tax_total_displayNo
merchant_tax_totalNo
occurrence_choicesNo
operator_tax_totalNo
unavailable_reasonNo
grand_total_displayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond annotations, it discloses the 15-minute expiry, that expiry is not a supplier price or inventory lock, that checkout revalidates price/availability/terms, that quoting never charges or holds anything, and that separate supplier charges may be incomplete. These are material behavioral traits for a non-read-only, non-idempotent, open-world quoting tool.

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 description is long but front-loads the core usage conditions and then covers modality-specific edge cases. It is dense and mostly earns its length, though some schema-adjacent detail could be tightened for readability.

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?

Given the complex nested input schema and the existence of an output schema, the description supplies exactly the missing operational context: error behaviors such as OCCURRENCE_CHOICE_REQUIRED and FLIGHTS_NOT_SOLD, rental pickup/return semantics, hotel room-splitting rules, and the distinction between quote and booking. Nothing critical for correct invocation is missing.

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, but the description adds meaningful semantics: when occurrence_id is required, how rate_options quantities work, how to populate rental_selection in one booking, and that room splits must not be inferred. It also directs the agent to use *_display fields when stating amounts, which is useful output-facing guidance.

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?

The description states a specific verb and resource: it produces a firm, bookable price quote for specific supply items. It explicitly distinguishes quoting from booking via initiate_booking + confirm_booking, so an agent can tell what this tool does and does not do 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?

It gives explicit when-to-use conditions and alternatives: use occurrence_id for scheduled experiences, rate_options for adult/child or private-group choices, rental_selection for rentals, and split hotel rooms only after asking the user. It also states that flights are only quoted where Zestli sells them, routing the agent away from unsupported cases.

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