Skip to main content
Glama

agoda_activities_search

Read-only

Search Agoda tour, attraction, and experience result rows by keyword or city; omitting the keyword lists a city's general activities. Use agoda_activity_detail for one selected activity or booking_attractions_search for another provider.

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": "agoda_activities_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoFree-text city name. Used directly as the search text when keyword is omitted, and to resolve a city id filter. Ignored for city resolution when city_id is also supplied.
city_idNoNumeric Agoda city id to filter activity results to. Optional if keyword is supplied; either city_id or city is used to resolve the city when keyword is omitted.
keywordNoFree-text activity search keyword. When omitted, the resolved city's name is used instead to return a general 'activities in this city' listing.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/idempotentHint=false, so safety is covered. The description adds real behavioral context beyond them: results are 'result rows' (a list, not a single entity) and omitting the keyword silently switches to a city-wide general listing rather than failing. It does not discuss pagination or result caps, which keeps it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the primary purpose front-loaded and the disambiguation clauses trailing. Every clause carries information an agent needs to pick or skip this tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

All three parameters are fully documented in schema, an output schema exists so return values need no prose, and annotations cover the safety profile. The description supplies the remaining missing piece — how to choose this tool and what happens with no keyword — so nothing an agent needs is absent.

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 each parameter already documents its own fallback interaction (city used as search text when keyword is omitted; city ignored for resolution when city_id is present). The description restates the keyword/city behavior without adding syntax, format, or precedence details beyond the schema, so the baseline of 3 applies.

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 and resource ('Search Agoda tour, attraction, and experience result rows') plus the two available search axes (keyword or city). It also explicitly separates itself from agoda_activity_detail and booking_attractions_search, so an agent can identify it without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit routing: use this tool to search result rows, agoda_activity_detail when one activity is selected, booking_attractions_search for a different provider. It also states the fallback mode when the keyword is omitted (general city listing), covering the main ambiguous case.

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.