Skip to main content
Glama

Popular destinations and collections

ot_destinations
Read-onlyIdempotent

Retrieves popular cities and themed collections, plus city slugs for a given collection, to help agents choose destinations when no destination is set.

Instructions

Popular cities and collections (themed landing pages: discounted, jungle villas, villas with pool, ...).

Use when there is no destination yet, or for collection codes. With collection, also its city slugs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ot_destinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectionNoCollection code, to list its cities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.4.0
    • removedInput schema / properties / collection / anyOf
      Removed value: -[
      -  {
      -    "pattern": "^[A-Za-z][A-Za-z0-9-]{1,60}$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / collection / description
      Previous value: -"Collection code to list its cities, e.g. 'beach'."New value: +"Collection code, to list its cities."
    • addedInput schema / properties / collection / pattern
      Added value: +"^[A-Za-z][A-Za-z0-9-]{1,60}$"
    • addedInput schema / properties / collection / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed5 schema fields changedv0.2.0
    • changedInput schema / properties / collection / anyOf
      Previous value: -[
      -  {
      -    "description": "Slug (letters, digits, -).",
      -    "pattern": "^[A-Za-z][A-Za-z0-9-]{1,60}$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "pattern": "^[A-Za-z][A-Za-z0-9-]{1,60}$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / collection / description
      Previous value: -"Collection code to list its cities, e.g. 'beach', 'jungle', 'villa-north-iran', 'lastsecond'."New value: +"Collection code to list its cities, e.g. 'beach'."
    • removedInput schema / properties / collection / title
      Removed value: -"Collection"
    • removedInput schema / title
      Removed value: -"ot_destinationsArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "ot_destinationsDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds that passing a collection also yields its city slugs, which is useful return-content context, but it says nothing about result volume, ordering, or what 'popular' means.

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 resource and then the usage rule. The trailing clause 'With `collection`, also its city slugs' is syntactically awkward and slightly ambiguous, costing it a perfect score.

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 single optional-parameter, read-only discovery tool with rich annotations, the description covers enough to call it correctly. It is thin on what the unfiltered response looks like and how a collection code is discovered in the first place, which matters for a zero-required-parameter 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 parameter already documents 'Collection code, to list its cities.' The description only reiterates that collections can be passed and adds that city slugs come back; it adds no format, discovery, or matching guidance beyond the schema.

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?

Names a concrete resource ('Popular cities and collections') and clarifies that collections are themed landing pages with examples (discounted, jungle villas, villas with pool). This lets an agent distinguish it from a place-lookup sibling, though it never names the sibling it complements.

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?

Gives an explicit trigger condition: 'Use when there is no destination yet, or for `collection` codes.' That implies the alternative (a place search like ot_find_place) when a destination is already known, but the contrast is left implicit rather than naming the tool.

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