Skip to main content
Glama

agoda_homes_search

Read-only

Search Agoda Homes and Apartments listings for a city, returning apartment details rather than hotel results. Use agoda_hotels_search for hotels or agoda_hotel_detail for one known hotel.

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_homes_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoFree-text city name, resolved to a numeric city id via Agoda's own destination-suggestion service. Ignored when city_id is also supplied.
pageNo1-indexed result page over the underlying city search, defaults to 1. Because results are filtered down to homes/apartments only, Count can be smaller than Limit even when more pages exist.
limitNoCandidate hotels/homes fetched per page from the underlying city search before filtering to homes/apartments, defaults to 10, maximum 50.
city_idNoNumeric Agoda city id, e.g. 9395 for Bangkok. Either city_id or city is required; city_id takes precedence when both are supplied.

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.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=false, so the read-only, non-repeatable, external-lookup profile is covered. The description adds only the filter behavior (homes/apartments, not hotels), and omits the notable consequence that the homes filter can yield fewer results than the limit and that pagination is over an underlying city search — that nuance lives only in the schema.

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. The core capability leads and the sibling routing follows, which is exactly the order an agent needs.

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?

An output schema exists, so return values need no explanation, and all four parameters are documented in the schema. What remains thin is behavioral nuance about result volume and paging when the homes filter is applied, but that gap is partially covered by the schema text.

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 description coverage is 100%, including the city-vs-city_id precedence and the limit/page filtering caveat, so the schema carries the parameter burden fully. The description adds no parameter-level meaning of its own beyond the word 'city', which is baseline-appropriate.

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?

The description names a specific verb and resource (search Agoda Homes and Apartments listings) and adds the scoping detail that results are apartment details rather than hotel results. It explicitly distinguishes itself from agoda_hotels_search and agoda_hotel_detail, so an agent can tell which tool to open without inspecting schemas.

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?

It routes the agent clearly: use agoda_hotels_search for hotels and agoda_hotel_detail for a single known hotel. There is no explicit exclusion for edge cases (e.g., wanting mixed hotel-plus-home results, or an unknown city name), but the alternatives and their conditions are stated plainly.

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.