Skip to main content
Glama

Check a Fostay booking's status

booking_status
Read-only

Verify a completed booking: confirmation status, hotel confirmation code, stay and price. Requires the Fostay booking id AND the guest email it was booked under (both are in the guest's confirmation). Use after the human pays via a prepare_booking link.

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": {
      "booking_id": "<booking_id>",
      "guest_email": "<guest_email>"
    },
    "name": "booking_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
booking_idYesFostay booking id, e.g. uzYG5ZTt9
guest_emailYesGuest email on the booking

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive and open-world, and the description adds real context beyond them: both identifiers are mandatory and come from the guest's confirmation, and the call is meant to run only after payment. It does not cover failure behavior for unpaid or unknown bookings, which for an open-world lookup would have been useful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the purpose, then requirements, then timing. Nothing is repeated and no sentence is filler.

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 correctly enumerates the returned fields, and both required parameters are explained. It is nearly complete for a simple read tool; only the behavior for a not-yet-paid or missing booking is absent.

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. The description still adds provenance — both the booking id and guest email appear in the guest's confirmation — which tells the agent where to source the values. The schema's example id format is left to the schema.

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?

Specific verb and resource ('Verify a completed booking') plus an enumeration of what is returned: confirmation status, hotel confirmation code, stay and price. The mention of prepare_booking links distinguishes it from the sibling tool that creates the booking.

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?

Gives an explicit sequencing rule: 'Use after the human pays via a prepare_booking link.' It names the sibling and the trigger condition. It stops short of saying what to do if the booking is unpaid or pending, and offers no alternatives.

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