Skip to main content
Glama

Zestli

List Date Change Options

list_date_change_options
Read-onlyIdempotent

List the other dates a booking can move to for free under its operator's date-change term, each with seats left, the new price and any refund (a cheaper date refunds the difference times the refund cancelling now gives: all of it in a full-refund window, half in a 50% one, nothing in a no-refund one; a dearer date costs nothing extra, unless an earlier move already refunded money: then it is listed unavailable). A move caps what any later cancellation refunds: each option's refund_cap_text states the most it refunds in money after that move, and that with the move's refund it is at most refund_cap_percent of the original price; tell the user before they approve. Read-only. Whole party, single-offering bookings only; without the term, a date change is a cancellation under the booking's terms and a new booking.

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

Input Schema

NameRequiredDescriptionDefault
requestYesInput for list_date_change_options.

Output Schema

NameRequiredDescriptionDefault
partyNo
termsNo
messageNo
optionsNo
currencyNo
timezoneNo
booking_idYes
error_codeNo
paid_minorNo
read_scopeNo
change_beforeNo
refund_cap_textNo
current_starts_atNo
refund_cap_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, yet the description still adds substantial behavior: how refunds are computed per term type, why a dearer date can appear unavailable after a prior refunding move, and how a move caps later cancellation refunds. That is exactly the beyond-annotation context an agent needs to explain results.

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?

The intent is front-loaded and no sentence is pure filler, but the core explanation is one long run-on with nested parentheses about refund fractions and refund caps, which is hard to parse on first read. Same content could be split into shorter, structured sentences without losing information.

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?

An output schema exists, so return values need not be enumerated, yet the description still pre-explains the refund_cap_text and refund_cap_percent fields so the agent can relay them. It covers eligibility limits and the no-term fallback. Minor gap: no mention of ordering, volume or pagination of the option list.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single parameter already documents that booking_id accepts either an id or a ZST- reference and that only owned bookings work. The description adds nothing about the parameter, so the baseline 3 applies.

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 opens with a specific verb and resource: list the other dates a booking can move to for free under the operator's date-change term, plus seats left, new price and refund. It also narrows scope ('whole party, single-offering bookings only') and marks itself read-only. It does not name the sibling that performs the actual move (request_date_change), so the caller must infer the pairing.

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

Usage Guidelines4/5

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

Strong context: it explains the fallback when no date-change term exists (a change becomes a cancellation plus a new booking) and restricts applicability to whole-party, single-offering bookings. It also instructs the agent to surface refund_cap_text to the user before approval. What is missing is an explicit route to the tool that executes the change.

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