Skip to main content
Glama

Stayflex Hotel

Search day-use hotel rooms

search_day_use
Read-onlyIdempotent

Search Stayflex for hotel rooms bookable for a few hours during the day (day use, no overnight stay), with live availability and the exact price that will be charged, taxes included. Stayflex partner hotels are in France: around Paris-Charles de Gaulle airport (airport "CDG", for instance for a layover, an early arrival or a late flight) or in a given town. Returns, for each hotel with a free room for the requested slot, the rooms and their prices, the day-use packages sold that day, and a pre-filled link to the hotel's Stayflex page where the traveler books and pays. Read-only: it books and charges nothing.

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": {
      "date": "<date>"
    },
    "name": "search_day_use"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoFrench town name of the hotel, e.g. "Tremblay-en-France", instead of an airport. Case, accents and hyphens do not matter.
dateYesDay of the stay, YYYY-MM-DD (Paris local date).
guestsNoNumber of guests sharing the room. Defaults to 1.
airportNoAirport area: "CDG" = Paris-Charles de Gaulle (Roissy). Used by default when neither airport nor city is given.
checkInNoArrival time HH:MM, Paris local time, on a 30-minute grid from 08:30; the stay must end by 22:00. Defaults to 10:00.
languageNoLanguage of the Stayflex web pages linked in the result: "en" (default) or "fr".
durationHoursNoDesired length of stay in hours. Hotels sell fixed packages (for example 3, 6 or 10 h): the request is rounded up to the next package. Defaults to the shortest package.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real value on top: live availability, prices with taxes included, a pre-filled booking link, the per-hotel day-use packages, and the explicit assurance that it books and charges nothing. That is the behavioral context an agent needs before presenting results to a traveler.

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 sentences, front-loaded with what the tool does, followed by return content and the read-only guarantee. The middle sentence is long and carries several clauses, but every clause adds information an agent would otherwise have to infer.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, read-only search with no output schema, the description covers scope, geography, defaults and — critically — what comes back (rooms, prices, packages, pre-filled booking link). Nothing essential for correct invocation is missing.

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 goes slightly beyond by explaining the airport-vs-town choice and the layover motivation behind the CDG enum value. Most remaining detail (30-minute grid, package rounding, defaults) is already in the schema, so it does not need to repeat it.

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?

The description states a specific verb and resource — search Stayflex hotel rooms bookable for a few hours during the day, explicitly no overnight stay — and scopes it geographically (France: CDG airport area or a named town). An agent can distinguish this from an ordinary overnight hotel search without reading the schema.

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?

It gives concrete use cases (layover, early arrival, late flight) that tell the agent when day-use search is the right call, and states that the airport defaults when neither airport nor city is supplied. It does not explicitly contrast with the sibling get_hotel, so the routing guidance is clear but not exhaustive.

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