Skip to main content
Glama

Similar hotels

eg_similar
Read-onlyIdempotent

Find alternative hotels the site suggests for a given hotel, returning each option with its starting nightly price in Toman.

Instructions

List the hotels the site suggests as alternatives to one hotel, with a starting price.

price_from is the undated price per night in Toman; real prices: eg_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": {
      "hotel": "<hotel>"
    },
    "name": "eg_similar"
  }
}

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. Changed1 schema field 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'."
  2. First observedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's contribution is the pricing caveat: price_from is undated and indicative, and eg_rooms must be consulted for real prices. That is a meaningful warning about a number the agent might otherwise misreport. It still says nothing about ordering, how many results come back relative to `limit`, or whether results are capped or empty for obscure hotels.

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 with the core action front-loaded and the price caveat immediately after it. Nothing is redundant, and the pointer to eg_rooms is compressed to three words without losing its instruction value.

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

Completeness3/5

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

With no output schema, the description carries the burden of describing returns; it states a list of hotels plus a starting price but not the per-entry fields (name, URL, the documented hotel identifier) or whether `limit` is a hard cap. Adequate for a simple two-parameter lookup, but an agent cannot fully anticipate the response shape.

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%: `hotel` is well documented in the schema with accepted formats, but `limit` has no description anywhere in the text. Its default 8 and maximum 10 are visible as constraints, so the meaning is largely inferable, and the description instead explains `price_from`, which is a return field rather than an input. Partial compensation, not full.

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 the hotels the site suggests as alternatives to one hotel" gives a specific verb plus a clearly scoped resource, and the alternatives framing implicitly separates it from eg_hotel (one hotel's details) and eg_search (finding hotels). No sibling is named, so the agent has to infer the boundary rather than being told.

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 implied by the concept: call this when you have one hotel and want lookalikes. The pointer to eg_rooms for real prices is genuinely useful routing for the pricing question, but there is no explicit statement of when to prefer this over eg_search or eg_deals, and no prerequisites.

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