Skip to main content
Glama
giata-drive-mcp

giata-drive-mcp

by ecakmak91

List hotels

list_hotels
Read-onlyIdempotent

Retrieve GIATA-IDs for hotels in the Open Content Link catalogue, optionally filtered by country, with pagination for manageable results. Use returned IDs for hotel details or searches.

Instructions

List GIATA-IDs of hotels in the GIATA Open Content Link catalogue, optionally for one country. Returns IDs only (no names) with pagination; use get_hotel for details or search_hotels to filter by name/city/stars. Prefer passing countryCode: the unfiltered catalogue is very large.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_hotels"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return (1-1000, default 100).
offsetNoNumber of items to skip (pagination).
countryCodeNoISO 3166-1 alpha-2 country code, e.g. "TR", "DE", "ES".

Output Schema

NameRequiredDescriptionDefault
limitYes
totalYesTotal number of items available.
offsetYes
giataIdsYes
nextOffsetNoPass as `offset` to get the next page. Absent on the last page.
countryCodeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description still adds real context the annotations do not: results are IDs only with no names, responses are paginated, and the unfiltered result set is very large. It stops short of stating ordering or rate limits, so not 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 sentences, front-loaded with what the tool returns, then alternatives, then the key operational caveat. Every sentence carries distinct information; nothing is redundant with the title or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (3 optional params, output schema present), and the description covers the one thing an agent could get wrong: assuming it returns names or that an unfiltered listing is cheap. Return values need not be spelled out given the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents limit, offset, and countryCode, making 3 the baseline. The description goes beyond that by framing countryCode as the strongly preferred filter and by tying limit/offset to pagination of a large catalogue, which conveys practical weight the schema alone does not.

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?

States a specific verb and resource ("List GIATA-IDs of hotels in the GIATA Open Content Link catalogue") plus the exact scope (optionally one country) and the shape of the result (IDs only, paginated). It is immediately distinguishable from get_hotel and search_hotels, which are named explicitly.

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?

Gives explicit routing: use get_hotel for details, search_hotels to filter by name/city/stars. It also states a preference ("Prefer passing countryCode") with the reason (the unfiltered catalogue is very large), which is exactly the kind of when-to guidance an agent needs.

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