Skip to main content
Glama

IoleeAI – hotel information desk

Luoghi vicino all'hotel

dintorni_hotel
Read-onlyIdempotent

Luoghi vicino a un hotel pubblicato (attrazioni, stazioni, aeroporti, spiagge, località, ristoranti, teatri) con distanza in linea d'aria in km. Non sono tempi né percorsi.

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": "dintorni_hotel"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipoNoFiltra per tipo di luogo.
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.
massimoNoNumero massimo di luoghi (1-20, predefinito 10).

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.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: distances are straight-line in km, not travel times or routes, and only published hotels are covered — exactly the kind of expectation-setting an agent needs to avoid misreporting results.

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 short sentences: the first defines the output, the second pre-empts the most likely misinterpretation. Nothing is redundant and the core scope is front-loaded.

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 carries the burden of describing the return value and does so (places plus straight-line km distance), and annotations cover the safety profile. The only soft spot is the absent mention that a valid hotel identifier must come from elenco_hotel, which is left to the schema.

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 (hotel, tipo, motivo, massimo) is already documented, including the reference to elenco_hotel identifiers and the 1-20 range. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema does the work.

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?

The description names the specific resource (places near a published hotel) and enumerates the categories returned (attractions, stations, airports, beaches, localities, restaurants, theatres), which separates it from siblings like elenco_hotel or scheda_hotel. It does not explicitly contrast itself with any sibling by name, so it stops short of a 5.

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?

Usage is only implied: an agent infers this is the tool for proximity questions about an existing hotel. The note 'Non sono tempi né percorsi' usefully rules out a whole class of travel-time queries, but there is no explicit when-to-use/when-not guidance and the dependency on elenco_hotel for the hotel identifier appears only in the schema, not the description.

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