Skip to main content
Glama

JpBiz Japan Business Trip Planner

Hotel search link (Agoda)

hotel_search_link
Read-onlyIdempotent

Builds an Agoda hotel search link for a Japanese city with dates, number of adults and rooms pre-filled. The head count is the adults parameter; there is no guests parameter, and unknown parameters are ignored, so a head count passed under another name falls back to 1 adult. Returns a link and a disclaimer only: no rates, no booking.

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>",
      "checkIn": "<checkIn>",
      "checkOut": "<checkOut>"
    },
    "name": "hotel_search_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesJapanese city. For a place that is not listed, use the nearest listed city (e.g. Kawasaki → tokyo or yokohama).
roomsNoNumber of rooms. Default: one room per adult (business travellers rarely share).
adultsNoNumber of travellers (adults), 1-10. This is the only head-count parameter: there is no `guests`.
checkInYesCheck-in date, YYYY-MM-DD.
checkOutYesCheck-out date, YYYY-MM-DD.
currencyNoCurrency shown on Agoda. Default: CNY for zh, USD for en, JPY for ja.
languageNoLanguage of the reply (and of the partner page for links): zh = Simplified Chinese, en = English, ja = Japanese. Use the user's language.en

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / adults / description
      Previous value: -"Number of adults, 1-10."New value: +"Number of travellers (adults), 1-10. This is the only head-count parameter: there is no `guests`."
  2. Changed1 schema field changed
    • changedInput schema / properties / language / default
      Previous value: -"zh"New value: +"en"
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint, and openWorldHint. The description adds meaningful behavior beyond those flags: it discloses that no rates or booking occur, that only a link and disclaimer are returned, and that unknown parameters are ignored with a fallback to one adult. It does not cover auth or rate limits, but for a stateless link builder the key behavioral caveats are present.

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?

The description is front-loaded, compact, and free of filler. Every sentence adds operational value: the link-building scope, the parameter pitfall, and the exact output boundary.

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?

For a seven-parameter link builder with a fully described schema and no output schema, the description supplies the remaining critical context: what is returned, what is explicitly not returned, and the most likely parameter mistake. An agent can invoke it correctly without additional explanation.

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 description coverage is 100%, so the schema already carries most parameter meaning. The description adds useful information beyond the schema by explicitly warning that the head-count parameter is `adults`, that there is no `guests` parameter, and that unknown parameters are ignored so a misnamed head count falls back to 1 adult.

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 opens with a specific verb and resource: "Builds an Agoda hotel search link for a Japanese city." It immediately scopes the tool as a link builder rather than a booker, and the word "hotel" distinguishes it from the flight-oriented sibling without needing to name it.

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?

The description makes the use case clear and explicitly excludes booking and rate lookup: "Returns a link and a disclaimer only: no rates, no booking." It does not explicitly route the agent toward or away from generate_itinerary, but the scope is sufficiently clear for an agent to know when this tool is appropriate.

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