Skip to main content
Glama

Late checkout

ot_late_checkout
Read-onlyIdempotent

Check whether a room offers late checkout, how many hours and at what price in Toman, and whether it can be booked for a specific departure date.

Instructions

Check whether a room offers late checkout, for how many hours and at what price (Toman, a unit not confirmed on the site), and with check_out whether it can be booked on that departure day (offered rooms are often closed for it on a given day).

ot_price_quote adds it to a total with late_checkout_hours.

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": {
      "room_id": "<room_id>"
    },
    "name": "ot_late_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
room_idYesRoom id (code).
check_outNoDeparture day to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.4.0
    • removedInput schema / properties / check_out / anyOf
      Removed value: -[
      -  {
      -    "format": "date",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / check_out / description
      Previous value: -"Departure day to check, e.g. '2026-10-23'."New value: +"Departure day to check."
    • addedInput schema / properties / check_out / format
      Added value: +"date"
    • addedInput schema / properties / check_out / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / room_id / description
      Previous value: -"Room id (code), e.g. 2512254."New value: +"Room id (code)."
  2. Changed5 schema fields changedv0.2.0
    • changedInput schema / properties / check_out / description
      Previous value: -"Departure day to check, Gregorian YYYY-MM-DD, e.g. '2026-10-23'."New value: +"Departure day to check, e.g. '2026-10-23'."
    • removedInput schema / properties / check_out / title
      Removed value: -"Check Out"
    • removedInput schema / properties / room_id / title
      Removed value: -"Room Id"
    • removedInput schema / title
      Removed value: -"ot_late_checkoutArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "ot_late_checkoutDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds two pieces of non-obvious behavior: prices are in Toman, a unit the site does not confirm, and rooms that advertise late checkout are often closed for it on a specific day, which explains why a negative result is normal rather than an error.

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?

Two sentences, front-loaded with the core question and followed by the companion tool. The parenthetical aside about Toman being an unconfirmed unit is slightly awkward but carries real information, so it earns its place; minor trimming of the phrasing would improve flow.

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 two-parameter read-only lookup with no output schema, the description covers the meaningful return content (availability, hours, price, bookability) and flags the data-quality caveat on currency. It does not say what the tool returns when late checkout is unavailable (error versus empty result), which is the one remaining gap.

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 100%, so both room_id and check_out are already documented and the baseline is 3. The description only slightly enriches check_out by clarifying that supplying it triggers a bookability check on that departure day; it adds no format, range, or defaulting detail beyond 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?

The description names a specific verb and resource and enumerates the exact outputs: whether late checkout is offered, for how many hours, at what price, and whether it is bookable on a given departure day. It also names the sibling (ot_price_quote) that consumes the result, so an agent can distinguish it from ot_room or ot_room_calendar without opening a schema.

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?

It implies when check_out matters ('with check_out whether it can be booked on that departure day') and points to ot_price_quote for aggregation, which is genuine routing guidance. However, it never states when not to call it, nor how it differs from closely related siblings like ot_room or ot_room_calendar, so the when-to-use picture is only partially drawn.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.