Skip to main content
Glama

Check Hotel Availability

check_hotel_availability
Read-only

Mehmonxonada sana va mehmonlar uchun bo'sh xonalarni, bron ID'larini tekshiradi.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomsNoKerakli xonalar soni.
adultsNoKattalar soni.
check_inYesKirish sanasi: YYYY-MM-DD yoki dd-mm-yyyy (masalan 2026-06-19).
childrenNoBolalar soni.
check_outYesChiqish sanasi (tun hisoblanmaydi): YYYY-MM-DD yoki dd-mm-yyyy.
listing_slugYesQidiruv natijasidagi e'lon `slug` qiymati.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNoXatoni qanday tuzatish haqida ko'rsatma.
noteNoBron bo'yicha eslatma.
errorNoXato kodi; faqat tool bajarilmaganda keladi.
foundNoMehmonxona topildimi.
detailNoUpstream API xatosi tafsiloti.
nightsNoTunlar soni.
check_inNoKirish sanasi, YYYY-MM-DD.
availableNoMehmonlarga yetarli bo'sh xona bormi.
check_outNoChiqish sanasi, YYYY-MM-DD.
space_idsNocreate_booking.space_ids uchun xona ID'lari.
listing_slugNoMehmonxona slug'i.
requested_roomsNoSo'ralgan xonalar soni.
available_spacesNoMos xonalar: id, name, guest, type, category.
requested_guestsNoSo'ralgan mehmonlar soni.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds nothing further: no indication of what the response includes (rates? room types? the referenced booking IDs?), no auth or rate-limit context. The 'bron ID'larini' phrase hints at extra behavior but is never explained.

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?

A single compact sentence with the core purpose front-loaded. It wastes little, though the unexplained booking-ID clause is dead weight rather than useful detail.

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?

An output schema exists, so return values need not be described, and annotations cover the read-only profile. What is missing is routing guidance against the very similar sibling check_availability, which for a 6-parameter search tool is a meaningful gap.

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 description coverage is 100%, so all six parameters (including date formats and guest counts) are already documented in the schema. The description only restates 'dates and guests' and adds no format or constraint detail beyond it, so the 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?

The description names a concrete verb (tekshiradi/checks) and resources (bo'sh xonalar/available rooms for a date and guests), so an agent can tell what it does. It does not distinguish itself from the sibling check_availability, and the trailing 'bron ID'larini tekshiradi' (checks booking IDs) muddies the scope rather than sharpening it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus check_availability, search_hotels, or get_listing_details. The agent is left to infer the routing from the name alone, which is a real risk given the near-duplicate sibling check_availability.

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