Skip to main content
Glama

StayHive

Check booked dates

check_availability
Read-onlyIdempotent

Booked nights for one stay, optionally between from and to (YYYY-MM-DD). Each range is half-open: its to date is a checkout and can be booked. as_of is when StayHive read the calendar. A quote checks the dates again.

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": {
      "slug": "<slug>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast checkout date to include, YYYY-MM-DD.
fromNoFirst night to include, YYYY-MM-DD.
slugYesThe stay’s slug from search_stays, e.g., bondi-house.
agentNoOptional, self-declared: your assistant’s or app’s name, e.g., muse (letters, digits, dot, underscore or hyphen, up to 40). Used only to tell the host which assistant sent the guest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, so the bar is lower, yet the description adds genuinely new behavior: half-open range semantics, the fact that the 'to' date is a bookable checkout, and that as_of reflects when the calendar was read. The quote-recheck sentence usefully signals this data may be stale, which is real context not present in annotations. It stops short of describing the returned shape.

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?

Four short sentences, front-loaded with the core scope, with no filler. The one weak sentence is the as_of line, which references a field absent from the input schema and reads as a non sequitur without a stated return shape. Slightly more framing would have kept it tight and unambiguous.

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

Completeness3/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 carries the burden of explaining what comes back, and it only alludes to a list of booked nights plus an as_of timestamp without stating structure or format. For a read-only availability check with four params this is workable but leaves the agent guessing at the response payload. The range semantics are complete, the return side is not.

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 baseline is 3, but the description earns more by disambiguating the tricky boundary case: 'each range is half-open: its to date is a checkout and can be booked.' That resolves an off-by-one ambiguity the schema's 'Last checkout date to include' only weakly conveys. It leaves slug and agent to the schema, which is fine given their thorough field descriptions.

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 opening clause 'Booked nights for one stay' names the resource (booked nights) and scope (a single stay), which is specific enough to separate it from search_stays or get_stay. It also positions itself against get_quote implicitly ('A quote checks the dates again'), though it never names that sibling. The verb is implied rather than stated, which keeps it just below a 5.

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?

The line 'A quote checks the dates again' hints that this tool is an informational pre-check and get_quote is the authoritative step, but it never says 'use this before get_quote' or states any exclusion. Range filtering is described as optional without guidance on when to omit it. Usage is inferable but not explicit.

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