Skip to main content
Glama

Adaga Network — Direct Booking Federation

network_book

Create a REAL booking at one establishment of the Adaga network. WORKFLOW: (1) call network_search to get fresh availability and the exact price, (2) collect traveler full name and email, (3) call this tool, (4) give the human the payment instructions from the response — the booking is confirmed only after secure card payment; unpaid bookings expire automatically. Optional inputs: guests (number of guests), guest_phone (international format, e.g. +352661661438), special_requests (free text), breakfast (boolean), promo_code (string, validated by the establishment), extras (array of integer extra ids from the establishment offer). Fails with 409 if the room became unavailable.

Input Schema

NameRequiredDescriptionDefault
extrasNoExtra ids (integers) from the establishment offer
guestsNoNumber of guests
checkinYesArrival date YYYY-MM-DD
room_idYesRoom id from network_search
checkoutYesDeparture date YYYY-MM-DD
breakfastNoAdd breakfast if the establishment offers it
guest_nameYesTraveler full name
promo_codeNoPromo code, validated by the establishment
guest_emailYesTraveler email (confirmation is sent here)
guest_phoneNoTraveler phone, international format (e.g. +352661661438)
tenant_slugYesEstablishment slug from network_search / network_directory
special_requestsNoFree-text requests for the establishment

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / breakfast / description
      Added value: +"Add breakfast if the establishment offers it"
    • addedInput schema / properties / extras / description
      Added value: +"Extra ids (integers) from the establishment offer"
    • addedInput schema / properties / guest_phone / description
      Added value: +"Traveler phone, international format (e.g. +352661661438)"
    • addedInput schema / properties / guests / description
      Added value: +"Number of guests"
    • addedInput schema / properties / promo_code / description
      Added value: +"Promo code, validated by the establishment"
    • addedInput schema / properties / special_requests / description
      Added value: +"Free-text requests for the establishment"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and delivers: the booking is confirmed only after secure card payment, unpaid bookings expire automatically, and the call fails with 409 if the room became unavailable. These are exactly the lifecycle and failure-mode facts an agent must know before committing a real booking.

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 action statement is front-loaded, the workflow is numbered, and the optional-input list is compact. It is slightly long, with some optional-parameter prose that partly duplicates the schema, but nearly every sentence supplies decision-relevant 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?

For a 12-parameter, no-output-schema mutation tool, the description covers prerequisites, required traveler data, failure mode, and the payment-confirmation lifecycle, and even notes that payment instructions come from the response. It stops short of describing the rest of the response body or permission/authentication requirements.

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 meaning beyond the schema: guest_phone is illustrated with a concrete international-format example, extras are tied to the establishment offer, and promo_code is flagged as validated by the establishment. Minor remaining gap is that guests/breakfast constraints are only restated.

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 ('Create a REAL booking at one establishment of the Adaga network') and the word 'REAL' plus the follow-up workflow makes clear this is the commitment step, not the discovery step. An agent can distinguish it from network_search (availability) and network_directory without opening any 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?

Gives an explicit numbered workflow: call network_search first for availability and price, collect name/email, call this tool, then relay payment instructions. It also states the precondition (fresh availability) and the required inputs to gather, leaving no ambiguity about when and how to invoke it.

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