Skip to main content
Glama

Check availability and price

check_availability
Read-onlyIdempotent

Check which AchenSeeHeimat apartments are free for a stay and get the total price (incl. final cleaning and local tax) plus a prefilled bookingUrl for the guest. Unavailable apartments include a reason, e.g. the minimum stay. Does not create a 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": {
      "arrival": "<arrival>",
      "departure": "<departure>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
dogNoTravelling with one dog (only some apartments)
langNoLanguage of texts and of the booking pagede
adultsNoNumber of adults
arrivalYesArrival date, YYYY-MM-DD
childrenNoNumber of children; adults + children max. 4
apartmentNoOptional: only this apartment id (see list_apartments)
departureYesDeparture date, YYYY-MM-DD (max. 60 nights)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: the total price includes final cleaning and local tax, unavailable apartments carry a reason such as minimum stay, and a prefilled bookingUrl is returned for the guest.

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 tight sentences with no filler, front-loaded on what is returned and followed by the unavailable-case detail and the no-booking boundary. Every sentence carries information the agent cannot get from structured fields.

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 correctly takes on the burden of describing return content (availability, total price with inclusions, bookingUrl, unavailability reasons). Only minor gaps remain, such as currency and whether the result is per-apartment or a list, which are low-risk for a read-only check.

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 seven parameters (dates, occupancy, dog, lang, apartment) are already documented in the schema, including the adults+children max and 60-night cap. The description adds no parameter-level meaning beyond what the schema states, so the baseline of 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 opens with a specific verb and resource: 'Check which AchenSeeHeimat apartments are free for a stay', and extends it to price and bookingUrl, so the agent knows exactly what comes back. It does not name a sibling (list_apartments appears only inside the schema), so differentiation from get_calendar/list_apartments is left to the agent.

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?

The closing clause 'Does not create a booking' is an explicit negative boundary, which is genuinely useful. However, there is no positive when-to-use framing (e.g. call before booking, after choosing dates) and no comparison to get_calendar or list_apartments, so the usage decision is only implied.

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