Skip to main content
Glama

Compare furnished stays

compare_hyatus_stays
Read-only

Compare one to twelve public Hyatus listing slugs when shortlisting stays for the same dates and guest count. Unavailable homes remain in the comparison so their limitations stay visible. Read an individual stay or its dated price for the next decision; comparison does not reserve a home.

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": {
      "slugs": "<slugs>"
    },
    "name": "compare_hyatus_stays"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugsYesOne to twelve distinct public listing slugs from search results or Hyatus listing URLs, in the desired comparison order.
guestsNoGuest count as a whole-number string from '1' to '100'; a whole number is also accepted. Used to compare each home's capacity. Omit for a comparison without a guest requirement.
checkInNoLocal arrival date in YYYY-MM-DD format, with no time or UTC conversion. Supply checkOut too.
bedroomsNoMinimum bedrooms, such as '2' or '2+'. 'Studio' or '0' selects zero bedrooms. Omit or use an empty string for no preference.
checkOutNoLocal departure date in YYYY-MM-DD format, after checkIn and at most 366 nights later. Checkout day is not an occupied night. Supply checkIn too.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / guests / description
      Previous value: -"Guest count as a whole-number string from '1' to '100', used to compare each home's capacity. Omit for a comparison without a guest requirement."New value: +"Guest count as a whole-number string from '1' to '100'; a whole number is also accepted. Used to compare each home's capacity. Omit for a comparison without a guest requirement."
  2. Changed6 schema fields changed
    • addedInput schema / properties / bedrooms / description
      Added value: +"Minimum bedrooms, such as '2' or '2+'. 'Studio' or '0' selects zero bedrooms. Omit or use an empty string for no preference."
    • addedInput schema / properties / checkIn / description
      Added value: +"Local arrival date in YYYY-MM-DD format, with no time or UTC conversion. Supply checkOut too."
    • addedInput schema / properties / checkOut / description
      Added value: +"Local departure date in YYYY-MM-DD format, after checkIn and at most 366 nights later. Checkout day is not an occupied night. Supply checkIn too."
    • addedInput schema / properties / guests / description
      Added value: +"Guest count as a whole-number string from '1' to '100', used to compare each home's capacity. Omit for a comparison without a guest requirement."
    • addedInput schema / properties / slugs / description
      Added value: +"One to twelve distinct public listing slugs from search results or Hyatus listing URLs, in the desired comparison order."
    • addedInput schema / properties / slugs / items / description
      Added value: +"Public listing slug from a Hyatus search result or listing URL, not an internal ID or full URL."
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorldHint), and the description adds real context beyond them: unavailable homes are retained so their limitations stay visible, and 'comparison does not reserve a home' rules out booking side effects. Return format is still unspecified.

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

Conciseness5/5

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

Three short sentences, each doing distinct work: what it compares, a non-obvious output characteristic, and a boundary/next-step cue. No filler and the primary purpose is front-loaded.

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 five-parameter read-only comparison tool with no output schema, the definition covers purpose, scope, cardinality and the non-reservation guarantee. It stops short of indicating what the comparison result actually contains, which leaves a minor gap on a tool whose output is the main deliverable.

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%, so every parameter including slugs, guests, dates and bedrooms is already documented in detail. The description only restates the slug count and the date/guest pairing requirement, adding essentially no syntax or format meaning beyond the schema; 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?

States a specific verb and resource ('Compare ... public Hyatus listing slugs') plus the operating scope ('same dates and guest count') and the 1-12 cardinality. It does not name any sibling, so the agent must infer that single-stay and pricing needs belong to get_hyatus_stay / price_hyatus_stay from the closing clause.

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?

Gives a clear when-to-use condition (shortlisting stays for identical dates and guest count) and a next-step handoff: 'Read an individual stay or its dated price for the next decision.' No explicit when-not-to-use or prerequisite statement, which keeps it below 5.

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.