Skip to main content
Glama

Tourist attractions

eg_attractions
Read-onlyIdempotent

Lists attractions in an Iranian city and retrieves details for a selected attraction by ID, including text, coordinates, and type for trip planning.

Instructions

List the sights, shrines, malls and other places of a city, or read one.

An attraction's id feeds eg_search attraction_id. With attraction_id here: text, coordinates, type.

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": {
      "city": "<city>"
    },
    "name": "eg_attractions"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesSlug or Persian name.
typeNoType as in results, e.g. shopping_center.
limitNo
queryNoName part, Persian.
attraction_idNoRead this attraction (id from the list).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / attraction_id / description
      Previous value: -"Get the description of this attraction (id from this list)."New value: +"Read this attraction (id from the list)."
    • changedInput schema / properties / city / description
      Previous value: -"City slug from eg_cities or Persian name."New value: +"Slug or Persian name."
    • changedInput schema / properties / query / description
      Previous value: -"Part of the attraction name, Persian."New value: +"Name part, Persian."
    • changedInput schema / properties / type / description
      Previous value: -"Attraction type as shown in results, e.g. shopping_center."New value: +"Type as in results, e.g. shopping_center."
  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, openWorld and non-destructive, so the safety profile is covered. The description adds useful behavior beyond that — what a single-attraction read returns (text, coordinates, type) — but says nothing about pagination limits, empty results, or invalid ids.

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 sentences, front-loaded with the primary list action before the read-one variant. The second sentence is telegraphic ('With attraction_id here: text, coordinates, type') but every fragment carries information.

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?

There is no output schema, and the description partially compensates by describing the single-read return fields, though the list-mode result shape and pagination behavior remain unspecified. For a 5-parameter read-only lookup with full annotation coverage, this is close to complete.

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 80%, so the baseline is 3, but the description adds meaning the schema lacks: it explains the mode switch on attraction_id and what that mode yields (text, coordinates, type), plus the id interchangeability with eg_search. Only the limit parameter is left to inference.

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 description names a specific verb and resource ('List the sights, shrines, malls and other places of a city, or read one') and covers both the list and single-read modes. It links to the eg_search sibling, though it doesn't explicitly say how it differs from eg_cities or eg_search in scope.

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: call with a city to list attractions, or pass attraction_id to read one, and the returned id can be reused as eg_search's attraction_id. That cross-tool workflow hint is valuable, but there is no explicit when-to-use/when-not guidance versus the many sibling tools.

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