Skip to main content
Glama

Check apartment availability and price

check-availability
Read-onlyIdempotent

Lists the Guggach apartments that are available for a date range and returns the exact price for that stay (same calculation as the booking page: nightly or monthly basis). If the user has not given concrete check-in/check-out dates and a party size, ask them for these first. Returns the available apartments with their total price for the stay and a ready-to-use booking link, plus a contact block (reception phone, email, address, reception hours and an inquiry-form link). If nothing is available, it returns the reason, a hint, and the same contact block — pass these to the user and offer to check other dates.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "check-availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesCheck-out date in YYYY-MM-DD format (after the check-in date).
fromYesCheck-in date in YYYY-MM-DD format (today or later).
localeNoLanguage for the response and prices. Defaults to "de".de
personsNoNumber of guests. Defaults to 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety and repeatability are covered by structured fields. The description adds genuinely useful behavior beyond that: pricing mirrors the booking page calculation, and the empty-result path returns a reason, hint and contact block. It does not discuss rate limits or response size, so extra credit is moderate rather than maximal.

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?

Purpose and prerequisite are front-loaded in the first two sentences, which is the right ordering. The final sentences enumerate the contact block fields at length; that detail earns its place only because no output schema exists, but it could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 the return-value burden, and it does: success shape (apartments, total price, booking link), failure shape (reason, hint, contact block), and the exact contact fields. An agent can act on both outcomes without further information.

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 dates, locale and persons are already documented in the schema. The description adds only the framing that a party size is a required input in practice, and no format or default details beyond the schema. Baseline 3 is appropriate.

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 (lists) and resource (Guggach apartments available for a date range) plus the second deliverable (exact price for the stay, with the calculation basis named). An agent knows exactly what it gets back, including the booking link and contact block.

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?

Gives an explicit prerequisite: if the user hasn't supplied concrete check-in/check-out dates and party size, ask first. It also prescribes the follow-up path when nothing is available (pass the reason/hint and offer other dates). No alternatives are named, but none appear to exist.

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