Skip to main content
Glama

check_availability_and_price

Read-only

Check if the apartment is free for the given dates and return the price breakdown (nightly rates, cleaning fee, Florence tourist tax, total in EUR). Does not book anything.

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

Input Schema

NameRequiredDescriptionDefault
checkinYesYYYY-MM-DD
checkoutYesYYYY-MM-DD (departure date)
guests_12_plusYesguests aged 12 or over (1-3)
guests_under_12Noguests under 12 (default 0). Total guests (all ages) max 3

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint=true annotation is consistent with the stated 'Does not book anything', so there is no contradiction. The description adds useful behavioral detail beyond the annotation by enumerating what the price breakdown contains, which an agent cannot infer from the schema. It does not disclose how an unavailable date is reported (empty result vs. error) or any permission requirements.

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 tight sentences: the primary action and return value come first, and the scope disclaimer closes it. Every clause carries information; there is no filler.

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 compensates by listing the price-breakdown components. For a simple read-only, 4-parameter tool this is nearly complete; the only missing piece is how the result signals unavailability for the requested dates.

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%, with date formats, guest ranges, and the total-guest cap of 3 already documented in the schema, so the baseline is 3. The description adds only that dates are used for both availability and pricing and that prices are in EUR; it adds no new meaning to individual parameters.

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?

The description names a specific verb and resource ('Check if the apartment is free for the given dates') plus the exact return payload (nightly rates, cleaning fee, Florence tourist tax, total in EUR). The closing 'Does not book anything' separates it from any booking operation, so an agent can tell immediately what this tool does and does not do.

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?

'Does not book anything' establishes a clear scope boundary: this is the quoting/availability step, not a commitment. It stops short of naming an alternative booking tool or stating when to prefer get_apartment_info, but the usage context is unambiguous.

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