Skip to main content
Glama
giata-drive-mcp

giata-drive-mcp

by ecakmak91

List hotels in a group

list_hotel_group
Read-onlyIdempotent

Retrieve GIATA hotel IDs for a configured group, optionally filter by ISO country code, and paginate results for targeted inventory or analysis.

Instructions

List GIATA-IDs of hotels belonging to a named GIATA group (groups are configured for your GIATA account). Optionally filter by country. Returns IDs only, paginated.

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": {
      "group": "<group>"
    },
    "name": "list_hotel_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupYesExact group name as configured in your GIATA account.
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
groupYes
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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety and idempotency are covered without description help. The description adds useful behavior beyond that: output is IDs only and results are paginated. It says nothing about auth/scoping beyond account-configured groups or about ordering of 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 sentences, no filler, and the most decision-relevant facts — what is returned (IDs only) and the account-configured group prerequisite — are front-loaded. Every clause carries information.

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 a full input schema, an output schema, and rich annotations, the description only needs to supply what those cannot: the account-configured group prerequisite and the IDs-only shape of the response, both of which it covers. Minor gaps (result ordering, how pagination terminates) do not block correct invocation.

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%, with constraints, defaults, and the ISO pattern all documented inline, so the baseline of 3 applies. The description only adds that country filtering is optional and that the group name must match the configured name exactly — useful but marginal over the schema.

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 gives a specific verb and resource ("List GIATA-IDs of hotels") plus an explicit scope qualifier — results are IDs only, restricted to a named GIATA group. That distinguishes it in practice from a detail-returning hotel list or lookup. It stops short of naming a sibling tool, so it lands at 4 rather than 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?

It states a real prerequisite — the group must already be configured in your GIATA account — and notes that the country filter is optional, which shapes how an agent should call it. However, there is no explicit when-to-use vs. when-not guidance and no routing to alternatives such as a general hotel search when the group name is unknown.

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