Skip to main content
Glama

A stay's history

stay_history
Read-only

A stay's History tab by confirmation number, oldest first: when it was booked, through what and by whom, then every change with when (hotel time), what, who and what changed (dates, room, rate, the reason), and (owners and admins) each message the booking site sent about it. Needs the owner's sign-in.

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": {
      "confirmation": "<confirmation>"
    },
    "name": "stay_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmationYesConfirmation number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive, closed-world behavior, and the description goes beyond them by disclosing an auth requirement, a permission-gated portion of the response (owners and admins see booking-site messages), oldest-first ordering, and hotel-local timestamps. It stops short of mentioning pagination limits or result caps for a potentially long change log, which is the main remaining behavioral gap.

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?

One densely packed sentence that front-loads the resource and identifier, then walks through the returned content in reading order. The parentheticals (hotel time) and (owners and admins) earn their space by adding constraints, though the sentence is long enough to be slightly hard to parse in one pass.

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?

With no output schema, the description must convey what comes back, and it does thoroughly: booking timestamp, channel, booking user, then each change with time, actor, changed field, and reason, plus booking-site messages for privileged roles. For a single-parameter read-only tool, an agent has everything needed to call it and interpret the result.

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 100% for the single 'confirmation' parameter, so the schema already carries the semantics. The description reinforces it ('by confirmation number') but adds no format details, validation rules, or error behavior, so baseline 3 applies.

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 a specific verb and resource ('A stay's History tab by confirmation number') and makes the scope explicit: booking origin, every change, and booking-site messages, ordered oldest first. It is clearly distinct from general sibling tools like stay or change_stay_rate, though it never explicitly contrasts itself with stay_messages, whose territory it partially overlaps.

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 states a real prerequisite ('Needs the owner's sign-in') and a behavioral constraint (messages only returned to owners and admins), which orients the caller. However, it offers no explicit when-to-use guidance against alternatives, so the agent must infer that this is the audit-trail tool rather than a general stay lookup.

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