Skip to main content
Glama

IoleeAI – hotel information desk

Richiesta di preventivo all'hotel

richiesta_preventivo
Idempotent

Invia all'hotel una richiesta di preventivo strutturata (date, ospiti, esigenze, contatto del viaggiatore) per gli hotel pubblicati che lavorano a preventivo. Usala solo dopo che il viaggiatore ha accettato esplicitamente di condividere nome e contatti con l'hotel tramite Iolee. Non è una prenotazione: l'hotel risponde direttamente al viaggiatore.

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>",
      "nome": "<nome>",
      "email": "<email>",
      "consenso_viaggiatore": "<consenso_viaggiatore>"
    },
    "name": "richiesta_preventivo"
  }
}

Input Schema

NameRequiredDescriptionDefault
nomeYesNome del viaggiatore, per la risposta dell'hotel.
emailYesEmail a cui l'hotel risponderà.
hotelYesIdentificativo dell'hotel come restituito da elenco_hotel (es. "riva-del-sol").
adultiYesNumero di adulti.
arrivoYesData di arrivo, AAAA-MM-GG.
camereNoNumero di camere (predefinito 1).
linguaNoLingua preferita per la risposta, due lettere.
esigenzeNoEsigenze del viaggiatore in breve (es. camera al piano terra, culla). Niente dati sanitari.
partenzaYesData di partenza, AAAA-MM-GG.
telefonoNoTelefono del viaggiatore, facoltativo.
bambini_etaNoEtà dei bambini (0-17), una per bambino.
consenso_viaggiatoreYestrue solo se il viaggiatore ha accettato esplicitamente, in questa conversazione, di inviare questi dati all'hotel tramite Iolee.

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 declare a non-destructive, open-world, idempotent write, so the bar is lower; the description adds meaningful context beyond them by stating the consent prerequisite and that the hotel replies directly to the traveller rather than through the tool. It does not cover what happens on failure, duplicate requests, or whether a confirmation is returned, which keeps it from a 5.

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 with zero waste: purpose and scope first, then the consent prerequisite, then the booking contrast. Every sentence carries information the agent needs.

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 12-parameter write tool with no output schema, the description covers the eligibility scope, the consent gate, and the fact that the hotel replies outside the tool, which is the key return-value clarification. It stops short of describing what the call itself returns or how duplicates are handled, but nothing essential for correct invocation is missing.

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 every parameter is already documented, including the consent flag and the hotel identifier format. The description only summarises the payload categories (date, ospiti, esigenze, contatto), adding no syntax or constraint detail beyond the schema; baseline 3 applies.

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 states a specific verb and resource ('Invia all'hotel una richiesta di preventivo strutturata') and immediately scopes the eligible targets ('hotel pubblicati che lavorano a preventivo'). It also distinguishes itself from the booking siblings with 'Non è una prenotazione', so an agent can tell it apart from avvia_prenotazione without opening any schema.

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?

It gives an explicit hard precondition: use only after the traveller has explicitly accepted sharing name and contacts with the hotel through Iolee, and it clarifies the outcome ('l'hotel risponde direttamente al viaggiatore'). The main gap is that the alternative for actual booking is only implied by 'non è una prenotazione' rather than 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