Skip to main content
Glama

search_activities

Read-onlyIdempotent

Searches tours, experiences and attractions from our tour and activity partners in a city from a start date, with an optional end date and category (for example food tours, walking tours, museums or day trips). Results include name, category, duration, per-person price, rating and a photo; the response says whether these results can be booked. Searching does not reserve anything or charge anyone. If activities could not be checked, the result is { available: false, reason: "activities_unavailable", message } with no list: that does not mean "no activities" — pass on its message; flights, hotels and trips can still be searched and booked, and activities can be added after opening a booking link.

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>",
      "date_from": "<date_from>"
    },
    "name": "search_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYes
placeNoThe exact place of this trip stop: the `place` an earlier search for the trip returned, or the candidate the person picked when a search asked which place they meant. Searches given the same place cover the same place.
date_toNo
categoryNo
date_fromYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / place / properties / arrival_airports
      Added value: +{
      +  "description": "The airports to fly this place by, best first, as a search returned them. Pass them back unchanged.",
      +  "items": {
      +    "properties": {
      +      "iata": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "iata"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / place / properties / extent_km
      Added value: +{
      +  "description": "The size of a region or island, as a search returned it.",
      +  "type": "number"
      +}
    • addedInput schema / properties / place / properties / gateway_airport
      Added value: +{
      +  "description": "The one airport a wide search flies this place by, as a search returned it.",
      +  "type": "string"
      +}
    • addedInput schema / properties / place / properties / kind
      Added value: +{
      +  "description": "What the place is, as a search returned it. Pass it back unchanged: a town, region or island has its hotels searched around it.",
      +  "enum": [
      +    "city",
      +    "town",
      +    "region",
      +    "island"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / place / properties / radius_km
      Added value: +{
      +  "description": "The hotel search radius for this place, as a search returned it.",
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / place
      Added value: +{
      +  "description": "The exact place of this trip stop: the `place` an earlier search for the trip returned, or the candidate the person picked when a search asked which place they meant. Searches given the same place cover the same place.",
      +  "properties": {
      +    "airports": {
      +      "description": "IATA codes of the airports serving the place.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "city": {
      +      "type": "string"
      +    },
      +    "country": {
      +      "description": "ISO 3166-1 alpha-2 code (territories use their own, e.g. PR).",
      +      "type": "string"
      +    },
      +    "label": {
      +      "description": "How to name the place to the person, e.g. 'Birmingham, GB'.",
      +      "type": "string"
      +    },
      +    "latitude": {
      +      "type": "number"
      +    },
      +    "longitude": {
      +      "type": "number"
      +    },
      +    "region": {
      +      "description": "State or region, or empty.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "country",
      +    "latitude",
      +    "longitude"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, and the description builds on that with substantive detail the schema cannot express: no reservation or charge occurs, what fields come back (name, category, duration, per-person price, rating, photo), and the exact failure shape { available: false, reason, message } with the crucial warning that it does not mean 'no activities'. That disambiguation of an ambiguous empty result is exactly the kind of behavior an agent cannot infer elsewhere.

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?

Front-loaded with purpose, then results, then the side-effect statement, then the error case — a sensible ordering with no filler. It is dense and a little long, but nearly every clause carries information; the one soft spot is that the unavailable-result discussion runs several sentences.

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?

No output schema, so the description correctly covers return fields and the error contract itself. For a five-parameter read tool with a nested place object, that is close to sufficient; the remaining gaps are how result volume/paging works and whether `city` or `place` should be supplied when both are available.

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?

With only 20% schema description coverage, the description must carry more weight. It adds real meaning for category (concrete examples) and clarifies that end date is optional, but the `place` object — the most complex parameter and the one whose relationship to `city` is ambiguous — is never mentioned in the description and relies entirely on the schema's own nested description. Baseline 3 for adequate but incomplete compensation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (searches) and resource (tours, experiences and attractions from partners) plus the scoping dimensions (city, start date, optional end date and category). The category examples (food tours, walking tours, museums, day trips) make it easy to separate from search_events, search_dining and search_hotels without opening any schema.

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?

Usage triggers are clear: city plus start date, with optional end date and category, and it explicitly notes that searching reserves nothing and charges no one. It also explains the fallback path when activities are unavailable (pass on the message; flights, hotels and trips remain searchable; activities can be added after opening a booking link). It does not name a sibling alternative for when the desired thing is an event rather than an activity, so it falls short of full alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources