Skip to main content
Glama

Booking and gift-card links

get_booking_links
Read-only

Ready-to-book answer for one place: book_url (the venue's own booking page), gift_card_url, stay_url (hotel search prefilled with the night and party size) and, given date, partySize and ages, the price for the party and whether everyone meets the age rule. Stay links are affiliate links; they never affect search order.

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": {
      "slug": "<slug>"
    },
    "name": "get_booking_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
agesNoAges of all guests; checks the minimum age for everyone
dateNoVisit date YYYY-MM-DD; sets the day price (holidays count as weekend) and prefills the stay link
slugYes
passTypeNo'day' (default). Other pass types are not priced; see priceNotes
partySizeNoNumber of guests; returns forParty.priceForParty

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / ages
      Added value: +{
      +  "description": "Ages of all guests; checks the minimum age for everyone",
      +  "items": {
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "Visit date YYYY-MM-DD; sets the day price (holidays count as weekend) and prefills the stay link",
      +  "type": "string"
      +}
    • addedInput schema / properties / partySize
      Added value: +{
      +  "description": "Number of guests; returns forParty.priceForParty",
      +  "type": "integer"
      +}
    • addedInput schema / properties / passType
      Added value: +{
      +  "description": "'day' (default). Other pass types are not priced; see priceNotes",
      +  "type": "string"
      +}
  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 readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds non-obvious behavior beyond that: stay_url targets are affiliate links and explicitly do not influence search order. It also discloses that price and the age verdict are computed from date, partySize and ages jointly rather than returned raw. It omits failure behavior for unknown slugs or venues lacking booking links.

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?

A single dense sentence front-loads the returned fields with short parenthetical glosses, so the agent learns outputs first and the pricing condition last. There is no filler or restatement of the title. It is a long run-on sentence, but every clause carries 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?

With no output schema, the description must carry return-value semantics and largely does: it enumerates the four returned links/values and their meaning, which is exactly what an agent needs to decide whether to call it. The main remaining gap is the shape of the price object and the behavior when a link is unavailable for a venue.

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 coverage is 80%, so the schema already explains date (sets day price, prefills stay link), ages (minimum-age check) and partySize (returns forParty.priceForParty). The description adds only the combined framing that price is 'for the party' and that the age rule must hold for everyone. With the schema doing the heavy lifting, the baseline 3 is appropriate rather than a higher score.

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 names the concrete artifacts returned for a single place — book_url, gift_card_url, stay_url — plus party price and an age-rule verdict. That makes the tool's job distinguishable from get_place (details) and search_places (discovery) without opening the schema. It stops short of a leading verb phrase, opening with a noun phrase ('Ready-to-book answer for one place'), which slightly softens the action statement.

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?

Scope is implied clearly by 'for one place', which pairs with the required slug and implies one call per venue. However, it never states when to prefer this over get_place, nor what happens when a venue has no booking page, so the agent must infer routing. The passType caveat ('other pass types are not priced') is a partial use-condition but lives mostly in the schema.

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