Skip to main content
Glama
giata-drive-mcp

giata-drive-mcp

by ecakmak91

Get hotel images

get_hotel_images
Read-onlyIdempotent

Retrieve hotel image URLs by GIATA-ID with motif codes and preferred width, then filter by property or room scope to choose relevant photos.

Instructions

List image URLs of a hotel (hero image first) with motif type (e.g. A=Exterior, P=Outdoor Pool, R=Restaurant, W=Room Example, S=Beach). Returns one URL per image in the size closest to preferredWidth. Filter by motifTypes or scope (property/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_hotel_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return (1-50, default 10).
scopeNoWhich images: all, property-only or room images.all
offsetNoNumber of items to skip (pagination).
giataIdYesGIATA-ID of the hotel (numeric), e.g. 1273.
motifTypesNoOnly these motif type codes, e.g. ["P","S"] for pools and beach.
preferredWidthNoPreferred image width in pixels.

Output Schema

NameRequiredDescriptionDefault
limitYes
totalYesTotal number of items available.
imagesYes
offsetYes
giataIdYes
nextOffsetNoPass as `offset` to get the next page. Absent on the last page.
availableMotifTypesYesMotif type code → number of images.

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 cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower, and the description still adds real behavior: results are ordered hero-image-first, exactly one URL is returned per image, and sizing is approximate ("size closest to preferredWidth"). That approximate-sizing behavior is not derivable from the schema and is genuinely useful. It stops short of noting anything about result counts or pagination limits beyond the schema.

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?

Three dense sentences with no filler, and the output shape (URLs, hero first) is front-loaded before filtering options. The parenthetical code list is long but high-value; only minor loss of readability from packing enumeration and filtering guidance into single sentences.

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 an output schema present and full schema description coverage, the definition covers purpose, ordering, sizing semantics, and filtering adequately. Remaining gaps are minor: no statement about empty-result behavior or how offset/limit interact with total counts, though those are largely schema- or output-schema-covered.

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 baseline would be 3, but the description earns more by supplying the motif code table (A=Exterior, P=Outdoor Pool, R=Restaurant, W=Room Example, S=Beach) that the schema only hints at with ["P","S"]. It also clarifies that preferredWidth is a soft preference via "closest to", which changes how an agent should interpret the parameter.

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?

"List image URLs of a hotel" gives a specific verb and resource, and the parenthetical detail about hero image ordering and motif codes makes the returned artifact unambiguous. It does not explicitly name a sibling to contrast against, but the resource (images) is clearly distinct from get_hotel, get_hotel_description, and get_room_types.

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 description explains how to narrow results ("Filter by motifTypes or scope (property/rooms)"), which is usage of parameters rather than guidance on when to pick this tool over another. There is no explicit when-to-use/when-not statement, e.g. whether this should be preferred over get_room_types for room visuals.

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