Skip to main content
Glama

Get a booking link

get_booking_link
Read-onlyIdempotent

Get the TripWays checkout link for a tour, optionally preset to a date, start time, rate, and traveler mix. The traveler pays on tripways.com; this tool does not hold seats or take payment. bookable_natively and reason say whether the link opens TripWays checkout or the operator's calendar, and whether a hotel pickup must be chosen at checkout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
rate_idNo
bokun_idYes
travelersNoSimple ages; mapped to Bokun pricing categories.
start_timeNoHH:MM if start_time_id unknown.
start_time_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNoPresent when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.
reasonNo
bokun_idNo
spots_leftNo
start_timeNo
checkout_urlNoOpen in the browser to pay on tripways.com.
min_participantsNo
bookable_nativelyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / error
      Added value: +{
      +  "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value beyond that: payment happens on tripways.com, the tool does not hold seats or take payment, and the result's bookable_natively/reason fields signal whether checkout or the operator's calendar opens and whether hotel pickup is required.

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?

Three front-loaded sentences with the core purpose first and no filler. The final sentence explains the returned bookable_natively and reason fields, which is partly redundant since an output schema exists, but it still conveys useful behavioral context rather than pure padding.

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 fully described, and the description covers the key non-destructive/no-payment behavior an agent needs. The remaining gap is parameter-level detail for bokun_id and start_time/start_time_id in a 6-parameter, nested-object tool, which keeps this from being fully complete.

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 only 33%, so the description must compensate by explaining parameters. It names the presetable dimensions (date, start time, rate, traveler mix), covering most optional inputs, but never mentions bokun_id (the required key) or explains the distinction between start_time and start_time_id, leaving meaningful gaps against a low-coverage schema.

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?

States a specific verb and resource ('Get the TripWays checkout link for a tour') and scopes it clearly enough that it is distinguishable from read-oriented siblings like get_price_quote and check_availability. It does not explicitly name or contrast a sibling, so it stops short of a 5.

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

Usage Guidelines3/5

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

The description implies usage context by saying the link can be 'optionally preset' with specific fields and clarifying 'this tool does not hold seats or take payment', which helps an agent understand when it applies. However, there is no explicit when-to-use versus check_availability or get_price_quote, nor any mention of prerequisites, so it remains implied guidance.

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