Skip to main content
Glama

IoleeAI – hotel information desk

Disponibilità e tariffe dal gestionale dell'hotel

disponibilita_tariffe
Read-onlyIdempotent

Disponibilità e prezzi letti dal gestionale dell'hotel, solo per gli hotel che lo hanno collegato. Se il gestionale non è collegato risponde "non disponibile": in quel caso non stimare prezzi, usa avvia_prenotazione.

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": {
      "hotel": "<hotel>",
      "arrivo": "<arrivo>",
      "partenza": "<partenza>",
      "adulti": "<adulti>"
    },
    "name": "disponibilita_tariffe"
  }
}

Input Schema

NameRequiredDescriptionDefault
hotelYesIdentificativo dell'hotel come restituito da elenco_hotel (es. "riva-del-sol").
adultiYesNumero di adulti.
arrivoYesData di arrivo, AAAA-MM-GG.
camereNoNumero di camere.
partenzaYesData di partenza, AAAA-MM-GG.
bambini_etaNoEtà dei bambini (0-17).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, and the description adds real value on top: it discloses the failure mode (a literal "non disponibile" response for unconnected hotels) and explicitly forbids the agent from inventing prices. It stops short of explaining what the returned prices represent (per room vs per person, currency, taxes), which matters for a pricing tool.

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 short sentences, front-loaded with the scope constraint, then the failure mode, then the corrective action. Nothing is wasted and the fallback instruction comes last where it is easy to act on.

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?

For a read-only lookup with a fully documented schema and annotations, the description covers the essential scope, failure behavior, and fallback. What is missing is the semantics of the returned price data, which carries weight given there is no output schema to explain it.

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%, with every parameter — hotel, arrivo, partenza, adulti, camere, bambini_eta — documented in the schema including formats and ranges. The description adds no additional meaning about how dates, room counts, or children's ages affect the result, 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?

States a specific verb and resource: availability and prices read from the hotel's management system, plus the key precondition that the hotel must have the system connected. An agent can tell this is a read of live PMS data rather than a quote request, though the boundary with siblings like richiesta_preventivo is not spelled out.

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

Usage Guidelines5/5

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

Explicit routing: use this when the hotel has the gestionale collegato; if the response is "non disponibile", do not estimate prices and use avvia_prenotazione instead. Both the positive condition and the fallback path are named.

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