Skip to main content
Glama

Hotel photos

eg_photos
Read-onlyIdempotent

Retrieve full-size JPEG photo URLs for a hotel’s main image, gallery, and room types using its hotel identifier or URL, so you can inspect accommodation visuals.

Instructions

List a hotel's photo URLs: main picture, gallery and each room type.

URLs are full-size JPEGs.

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": {
      "hotel": "<hotel>"
    },
    "name": "eg_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
hotelYes`hotel` value from eg_search (/MashhadHotels/ParsisHotel.html), full URL, or 'Mashhad/Parsis'.
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / hotel / description
      Previous value: -"The hotel: the `hotel` value from eg_search (e.g. /MashhadHotels/ParsisHotel.html), its full eghamat24.com URL, or 'Mashhad/Parsis' (city slug / hotel slug)."New value: +"`hotel` value from eg_search (/MashhadHotels/ParsisHotel.html), full URL, or 'Mashhad/Parsis'."
    • removedInput schema / properties / limit / description
      Removed value: -"Most photos to list."
  2. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description contributes beyond that by disclosing the return structure (main, gallery, per-room-type) and the asset format (full-size JPEGs), which is genuinely useful given there is no output schema.

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 short sentences, front-loaded with the action and resource, with the format caveat tacked on where it belongs. No filler, nothing 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?

For a simple two-parameter read tool with no output schema, the description gives enough to call it correctly: what is returned, in what categories, and in what image format. Minor gaps remain around result ordering and how limit applies across categories.

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 coverage is 50%: the hotel parameter is richly documented in the schema with three accepted formats, but limit has no description anywhere. The description adds no meaning about what limit counts (photos per category? total?) or how the categories interact with it.

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 and resource (list a hotel's photo URLs) plus the three categories covered: main picture, gallery, and each room type. An agent can tell this is a photo-retrieval tool, though it never distinguishes itself from siblings like eg_rooms or eg_hotel, which likely surface overlapping hotel content.

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 by the resource name — fetch this when you need photo URLs for a specific hotel. There is no statement of when to prefer it over eg_hotel or eg_rooms, nor any prerequisite or exclusion guidance.

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