Skip to main content
Glama

Hotel places

st_hotel_places
Read-onlyIdempotent

Find SnappTrip hotel cities or hotels by Persian name and return the IDs or URLs needed for hotel search and detail lookups.

Instructions

Find a SnappTrip hotel city or a hotel by name.

Cities carry the id st_hotel_search takes; hotels carry hotel_url for st_hotel_detail. Prefer Persian text.

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": {
      "query": "<query>"
    },
    "name": "st_hotel_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPersian city or hotel name, e.g. شیراز or پارسیان

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, openWorld, idempotent and non-destructive, so the safety bar is covered. The description adds genuinely non-obvious behavior: which fields come back for each result kind (id vs hotel_url) and the Persian-text input preference — valuable since there is no output schema. It does not say whether one or many candidates come back or what happens on no match.

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 short sentences, front-loaded with purpose, then the routing contract for each result type. No padding; the density is high and every clause carries information. Minor cost: the second sentence packs two result kinds into one line, which reads slightly telegraphic.

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 one-parameter resolver with no output schema, the description should explain the shape of the result set, not just its keys. It covers which identifiers come back but not cardinality (single best match vs list) or empty-result behavior, which matters for an agent deciding whether to retry or fall through to another tool.

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 100% and the single `query` parameter is already documented with Persian examples in the schema, so the baseline of 3 applies. The description's "Prefer Persian text" largely restates the schema's own note rather than adding new syntax or matching semantics (prefix vs exact vs fuzzy).

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?

The first sentence gives a specific verb and resource ("Find a SnappTrip hotel city or a hotel by name") and identifies the two entity kinds it can resolve. It is clearly a disambiguation/lookup step rather than a data-fetch tool, though it never names the siblings it might be confused with (e.g. st_hotel_search) by name — only via the phrases "st_hotel_search takes" and "st_hotel_detail".

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?

The description explains the downstream usage of each result type: city results carry the id consumed by st_hotel_search, hotel results carry hotel_url for st_hotel_detail. That is clear context for when to reach for this tool in a chain. It stops short of explicit exclusions (e.g. don't call this if you already have an id) or guidance for ambiguous/multi-match queries.

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