Skip to main content
Glama

Search stays

search_stays
Read-only

Search short-term rentals in an Iranian city across Jabama, Jajiga, and Otaghak in one query. Get normalized Toman prices per night or total stay based on dates.

Instructions

Search short-term rentals (villa, suite, apartment, cottage…) in an Iranian city across Jabama, Jajiga and Otaghak at once. All prices are Toman (IRT). With dates, price.total is the full stay price for the guest count; without dates only price.perNight is set. Results from a platform that failed are listed in "errors"; the others are still returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoDefault "relevance".
limitNoMax results overall. Default 30.
guestsNoNumber of guests.
checkInNoCheck-in date as YYYY-MM-DD. Gregorian (2026-10-15) or Jalali/Shamsi (1405-07-23) both work.
checkOutNoCheck-out date as YYYY-MM-DD. Gregorian (2026-10-15) or Jalali/Shamsi (1405-07-23) both work.
locationYesCity or region, Persian or English, e.g. "رامسر", "کیش", "ramsar".
maxPriceNoMaximum price per night, Toman.
minPriceNoMinimum price per night, Toman.
platformsNoRestrict to some platforms. Default: all three.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description goes beyond that, disclosing the multi-platform fan-out, the Toman (IRT) currency, that price.total is populated only when dates are supplied, and that per-platform failures surface in an 'errors' field while other results still return. That partial-failure behavior is genuinely non-obvious and valuable.

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 sentences, all front-loaded and information-dense: scope, currency, pricing semantics, error handling. Nothing is repeated from the schema and no sentence is filler.

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?

With no output schema, the description must carry return-value context, and it does disclose the price.total/perNight duality and the 'errors' array for failed platforms. It stops short of describing result item shape or ordering/pagination, but covers the quirks an agent most needs.

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 the baseline is 3. The description only lightly reinforces parameter meaning, clarifying that min/max price are per-night and that dates switch pricing from perNight to total, but adds no syntax beyond the schema's own date-format and enum documentation.

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?

States a specific verb and resource (search short-term rentals) plus the aggregation scope across Jabama, Jajiga and Otaghak in Iranian cities. The 'at once' framing and the property-type examples make it unmistakable versus siblings like get_stay, which fetch a single listing.

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?

Usage is implied clearly (discovery/search across platforms before drilling into a specific stay), but no alternative is named and no when-not condition is given. There is no pointer to get_stay or get_quote for single-listing or pricing follow-ups.

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