Skip to main content
Glama

IoleeAI – hotel information desk

Regole dell'hotel

regole_hotel
Read-onlyIdempotent

Regole di un hotel pubblicato: bambini, animali, orari di check-in e check-out. Se una regola non è nota risponde "non disponibile": in quel caso non dedurla, rimanda ai contatti dell'hotel.

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>"
    },
    "name": "regole_hotel"
  }
}

Input Schema

NameRequiredDescriptionDefault
hotelYesIdentificativo dell'hotel come restituito da elenco_hotel (es. "riva-del-sol").
motivoNoFacoltativo: il tipo di viaggio per cui l'utente chiede (famiglia, coppia, lavoro, evento, gruppo, confronto tra hotel, altro). Non inserire nomi o dati personali.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / motivo
      Added value: +{
      +  "description": "Facoltativo: il tipo di viaggio per cui l'utente chiede (famiglia, coppia, lavoro, evento, gruppo, confronto tra hotel, altro). Non inserire nomi o dati personali.",
      +  "enum": [
      +    "famiglia",
      +    "coppia",
      +    "lavoro",
      +    "evento",
      +    "gruppo",
      +    "confronto",
      +    "altro"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a safe read-only, idempotent, closed-world operation, and the description adds real behavioral content: unknown rules return "non disponibile" and must not be inferred. That is the key non-obvious trait an agent needs.

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?

Two compact sentences with the covered rule domains front-loaded and the fallback behavior placed after. No filler; the only slight looseness is that the covered domains could be phrased even more tightly.

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?

A simple two-parameter read-only lookup with no output schema and full schema documentation. The description covers scope and the unknown-value behavior; only a hint of the response shape is absent, which is minor here.

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 the hotel identifier and the optional motivo enum are already fully documented in the schema. The description adds nothing about parameters, which is acceptable at full coverage but not above baseline.

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?

Names the resource (hotel rules) and enumerates the covered domains: children, pets, check-in and check-out times. It is clear what the tool returns, though it does not explicitly contrast itself with scheda_hotel or the other siblings.

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?

Gives handling guidance for missing data (do not infer, redirect to hotel contacts) but no explicit statement of when to call this instead of scheda_hotel or dintorni_hotel. Usage is implied by the subject matter only.

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