Skip to main content
Glama

Special offers

eg_specials
Read-onlyIdempotent

List hotels by offer type—free cancellation, one-night stays, or discounted deals—with optional city filtering and a result limit for quick deal searches.

Instructions

List hotels on one of the site's offer pages: free cancellation, one-night offers or latest discounts.

Undated: price_from is the starting price per night in Toman, absent when the site lists none. Dates: 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": {
      "kind": "<kind>"
    },
    "name": "eg_specials"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoSlug or Persian name; required for free_cancellation.
kindYesfree_cancellation needs city.
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / city / description
      Previous value: -"City slug or Persian name; required for free_cancellation."New value: +"Slug or Persian name; required for free_cancellation."
    • changedInput schema / properties / kind / description
      Previous value: -"free_cancellation = hotels with free cancellation (needs city); one_night = the site's one-night offers; latest_discount = hotels with the newest discounts."New value: +"free_cancellation needs city."
  2. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds useful result semantics beyond that: price_from is a per-night starting price in Toman and is absent when the site lists none. It says nothing about pagination, ordering, or what a typical hotel record contains.

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, front-loaded statements with no filler. The 'Undated:' lead-in is telegraphic and momentarily opaque, but the sentences themselves each carry information.

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?

For a three-parameter read-only lister with no output schema, the description gives the offer kinds and one returned field, but leaves the overall response shape, the meaning of limit, and the relationship to eg_deals unstated. It is adequate to call the tool but not to predict its output confidently.

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 67% and the schema already explains city (slug or Persian name, required for free_cancellation) and kind (free_cancellation needs city). The description adds no parameter meaning of its own; the only undocumented parameter, limit (1-60, default 15), is left unexplained in both places.

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 hotels on one of the site's offer pages' gives a clear verb+resource, and the three enumerable offer kinds (free cancellation, one-night offers, latest discounts) make the scope concrete. It does not, however, distinguish itself from the sibling eg_deals, which plausibly sounds like the same offer-listing surface, leaving some ambiguity an agent must resolve.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Dates: eg_rooms' explicitly routes date-specific searches to a sibling tool, which is genuine when-not guidance. It falls short of a full 5 because it never states when to prefer eg_deals over this tool, nor does it restate the city prerequisite for free_cancellation in narrative form.

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