Skip to main content
Glama

Find a stay

find_stays
Read-only

Stays by guest name, phone, e-mail, company or part of a confirmation number (3 characters or more), any dates; newest arrival first, up to 50. Also answers arrivals, departures, booked, no-show and cancelled lists, room assignment and room moves together with stays and stay_history. 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": {
      "query": "<query>"
    },
    "name": "find_stays"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA guest name, phone, e-mail, company or part of a confirmation number — 3 characters or more

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely useful behavior: results sorted newest arrival first and capped at 50, and that the owner's sign-in is required for auth. It does not explain pagination or what to do when results are truncated.

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

Conciseness3/5

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

The first sentence is front-loaded and efficient. The second sentence is a run-on that lumps arrivals, departures, no-shows, cancellations, room assignment and room moves into one unpunctuated clause, muddying rather than sharpening the guidance.

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 single-parameter read tool with annotations and no output schema, the description supplies the essentials: matchable identifiers, minimum query length, sort order, result cap and auth requirement. The only gap is the ambiguous relationship to sibling list tools.

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?

One parameter with 100% schema coverage, so the schema already documents the query formats and the 3-character minimum that the description repeats. The only added nuance is 'any dates', which signals that no date filter exists rather than adding syntax details.

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?

States a specific verb and resource plus the searchable identifiers: 'Stays by guest name, phone, e-mail, company or part of a confirmation number'. It differentiates scope with 'any dates; newest arrival first, up to 50', but the trailing clause about arrivals/departures/room moves plus 'stays and stay_history' is ambiguous about whether this tool or siblings answer those.

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 usage by listing what the query can match and noting the 3-character minimum, and it references related sibling capabilities ('together with stays and stay_history'). However it never says explicitly when to prefer this over stays or stay_history, nor any exclusion conditions.

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