Skip to main content
Glama
giata-drive-mcp

giata-drive-mcp

by ecakmak91

Get room types

get_room_types
Read-onlyIdempotent

List a hotel's room types with category, view, code, and image count; enable includeAmenities to add room-specific amenities.

Instructions

List the room types of a hotel with type, category, view, code and image count. Set includeAmenities=true to add amenities that apply only to specific rooms.

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": {
      "giataId": "<giataId>"
    },
    "name": "get_room_types"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return (1-100, default 30).
localeNoLanguage code for names and labels, e.g. "en", "de", "tr", "pt_BR". Falls back to English when unavailable.
offsetNoNumber of items to skip (pagination).
giataIdYesGIATA-ID of the hotel (numeric), e.g. 1273.
includeAmenitiesNoAdd room-specific amenities (one extra lookup).

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds the meaningful nuance that amenities are room-specific rather than hotel-wide, but says nothing about pagination behavior or result volume beyond the schema's limit/offset defaults.

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 short sentences with the resource and returned fields front-loaded and zero filler. The conditional hint about includeAmenities is placed last, which is appropriate, though the field enumeration is slightly bulky.

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 filtered-read tool with one required parameter, an output schema that already documents return values, and rich annotations. Documentation is sufficient to call it correctly; only the lack of sibling routing keeps it from being complete.

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 limit, offset, locale and giataId are already documented, making 3 the baseline. The description adds a little meaning for includeAmenities (amenities apply only to specific rooms), but no extra syntax or format detail for the remaining parameters.

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?

A specific verb+resource: "List the room types of a hotel" plus the fields returned (type, category, view, code, image count). It is clearly distinct from get_hotel, get_hotel_images or get_hotel_amenities, though it never names a sibling to route against.

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?

The only guidance is conditional: set includeAmenities=true to add room-specific amenities, and that they apply only to specific rooms. There is no statement of when to call this rather than get_hotel or get_hotel_amenities, and no prerequisite for giataId. Usage is implied rather than spelled out.

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