Skip to main content
Glama
giata-drive-mcp

giata-drive-mcp

by ecakmak91

Compare hotels

compare_hotels
Read-onlyIdempotent

Compare 2-5 hotels side by side on stars, location, chain, room types, images, amenities, shared versus unique amenities, and straight-line distances between them.

Instructions

Compare 2-5 hotels side by side: stars, location, chain, number of rooms types/images/amenities, shared vs. unique amenities and straight-line distances between them.

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": {
      "giataIds": "<giataIds>"
    },
    "name": "compare_hotels"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage code for names and labels, e.g. "en", "de", "tr", "pt_BR". Falls back to English when unavailable.
giataIdsYes2-5 GIATA-IDs.
includeAmenitiesNoInclude shared/unique amenity comparison.

Output Schema

NameRequiredDescriptionDefault
hotelsYes
notFoundNoIDs that do not exist or could not be read.
localeUsedYes
distancesKmNoStraight-line distances between hotels with coordinates.
sharedAmenitiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive, so safety is covered. The description adds substantive behavioral context beyond them: it discloses the hard 2-5 hotel limit and clarifies that distances are straight-line, which prevents an agent from assuming travel/route distance. It does not discuss behavior on invalid or unresolvable GIATA-IDs.

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?

A single front-loaded sentence that opens with the verb and the cardinality constraint, then enumerates comparison dimensions in a compact list. Every clause carries information an agent would otherwise have to infer; nothing is repeated from the schema or annotations.

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?

The rich structured support (full schema descriptions, complete annotations, and an output schema) means the description does not need to explain return values, and it correctly focuses on scope and comparison semantics. It is nearly complete for the tool's complexity, with only minor gaps around locale handling and behavior on invalid IDs.

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 the schema already documents giataIds, locale and includeAmenities; a 3 is the baseline. The description reinforces the 2-5 cardinality and explains that amenities are returned as shared vs. unique, but adds nothing about the locale parameter's effect on compared labels or about default/false behavior of includeAmenities.

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 ("Compare") and a specific resource (2-5 hotels) and enumerates exactly what dimensions are compared: stars, location, chain, room types/images/amenities, shared vs. unique amenities, and distances. The multi-hotel comparative framing inherently separates it from single-hotel getters like get_hotel, but it never names a sibling or states what it is not.

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: the word "Compare" plus the 2-5 hotel bound tells an agent this is for side-by-side evaluation of multiple hotels rather than fetching one. There is no explicit when-to-use, no when-not-to-use, and no pointer to alternatives such as get_hotel or search_hotels when only one hotel or a discovery query is wanted.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.