Skip to main content
Glama

빈방·요금 확인

check_availability
Read-onlyIdempotent

Real-time availability and total price (KRW, whole stay) for every room of a stay for the given dates and party. Each available room includes booking_url: the property's official booking page, where the guest enters name and phone and pays to confirm the booking.

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": {
      "stay_id": "<stay_id>",
      "checkin": "<checkin>",
      "checkout": "<checkout>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
adultsNo성인 수
checkinYes입실일 YYYY-MM-DD
infantsNo영유아 수
stay_idYes
checkoutYes퇴실일 YYYY-MM-DD (최대 30박)
childrenNo아동 수

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, and the description contributes beyond that: results are real-time, price is total for the whole stay in KRW (not per night), and each available room carries a booking_url where the guest pays after entering name and phone. It does not say what happens to unavailable rooms or whether prices include taxes/fees.

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?

Two sentences, front-loaded with the core action and price/currency semantics, then the booking_url behavior. No filler; only minor tightening possible (e.g., 'where the guest enters name and phone and pays' could be shortened).

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 takes on responsibility for return semantics and does so for the key field: per-room availability, whole-stay KRW total, and booking_url. It doesn't explain whether unavailable rooms are included or priced, or whether the returned price is final payable amount, which is the main remaining gap for a booking-adjacent tool.

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

Parameters5/5

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

Schema coverage is 83% so the baseline is 3, and the description adds real meaning: dates define a whole-stay total price rather than nightly, and 'party' frames adults/children/infants as pricing-relevant inputs. This helps the agent understand why party composition is required for a rate check, not just a filter.

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 concrete verb+resource: checks real-time availability and total KRW price for every room of a stay across the given dates and party. It is clearly a rate/availability lookup for a known stay_id, distinct from get_stay (details) and search_stays (discovery), though the description never names those siblings.

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?

Implied usage is clear — you must already have a stay_id and dates — and the booking_url sentence implies this is the pre-booking step. However, there is no explicit statement of when to prefer this over get_stay or search_stays, and no prerequisites or exclusions are spelled out.

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