Skip to main content
Glama

Check availability

sh_check_availability
Read-onlyIdempotent

Check free nights and get a Toman price quote for an accommodation, then use the returned listing URL to complete the reservation on shab.ir. Does not book.

Instructions

Check free nights and a Toman price quote. Does not book; use listing_url to reserve on shab.ir.

Input Schema

NameRequiredDescriptionDefault
guestsNo
check_inYesGregorian YYYY-MM-DD check-in.
check_outYesGregorian YYYY-MM-DD check-out.
discount_codeNo
accommodation_idYesShab house id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds real context beyond that: the call returns free-night information and a price quoted in Toman, and it is a quote only, not a hold or reservation. It does not mention behavior for fully booked dates or whether the quote includes fees/taxes.

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?

Two short sentences with zero filler, and the primary capability is front-loaded ahead of the scope boundary. Every clause carries information an agent needs.

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 does a reasonable job of describing what comes back (free nights plus a Toman quote). However, for a 5-parameter tool with 60% schema coverage, the silence on guests and discount_code leaves a noticeable gap in call correctness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 60%, and the description supplies no parameter-level meaning at all. The undocumented parameters, guests and discount_code, receive no explanation in either the schema or the description, so an agent must guess whether a discount code is validated, optional, or affects the returned quote.

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: checking free nights and a Toman price quote for an accommodation. It also draws a clear boundary by saying it does not book, which separates it from the reservation path via listing_url. It does not explicitly distinguish itself from sh_search_accommodations or sh_get_accommodation, so not 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides an explicit exclusion ('Does not book') and names the alternative tool (listing_url) plus where the reservation happens (shab.ir). It lacks a positive when-to-use trigger such as checking availability after finding an accommodation via search, so it falls short of full routing guidance.

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