Skip to main content
Glama

Vibe of the City

Where to stay

where_to_stay
Read-onlyIdempotent

Where the user should stay in a covered city, from what people like them did: the parts of town where places like-minded travellers saved cluster (with how many lie within a ten-minute walk, and what kind), the user's own want-to-go places weighed in, and the hotels, guesthouses and holiday flats like-minded travellers or the user's contacts rated after staying. Call it before recommending where to stay. Recommend two or three areas first, each with how many like-minded places are near and one honest trade-off; then stays from this list; then, if you like, hotels search_places finds that clearly fit — saying no like-minded traveller has rated them yet. Name a holiday flat only from this list. Counts only: never name or describe a traveller. When thin is true, say few like-minded travellers have saved places there yet.

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_slug": "<city_slug>"
    },
    "name": "where_to_stay"
  }
}

Input Schema

NameRequiredDescriptionDefault
city_slugYesFrom find_city, or the trip's city from get_trip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, and the description adds real behaviour beyond that: results are limited to 'covered' cities, there is a 'thin' flag meaning few like-minded saves exist, and counts-only privacy rules forbid naming or describing any traveller. What it omits is what an agent should do when the city is not covered, and it never sketches the fields returned for each stay, which matters given there is no output schema.

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

Conciseness3/5

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

The purpose is front-loaded, but the sentence sprawls into a nested list of evidence sources and then a second half that reads as an output-formatting script with hedges like 'if you like'. Every element is broadly useful, yet it would be tighter as short imperative bullets separating what the tool returns from how to phrase the recommendation. Density, not redundancy, is the problem.

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?

The tool takes one argument and has no output schema, so the description must describe the return content, and it largely does: areas with ten-minute-walk counts and place kinds, the user's saved wants, and rated stays, plus the thin flag and the counts-only privacy constraint. The gap is the 'covered city' precondition, which flags a possible non-covered outcome without saying what the agent should do about it.

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 a single required parameter and 100% schema description coverage, the schema already tells the agent that city_slug comes from find_city or get_trip. The prose adds nothing about the slug format, normalisation, or failure modes for an unrecognised city. Baseline 3 applies because the structured field carries the parameter meaning.

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?

The first clause names the resource and the recommendation task ('where the user should stay in a covered city') and specifies its evidence base: clusters of places saved by like-minded travellers, the user's own want-to-go places, and stays rated by similar travellers or contacts. It implicitly separates itself from search_places by reserving the not-yet-rated hotels for that sibling. It stops short of a single crisp verb+object statement, but an agent can distinguish it from the neighbourhood quickly.

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?

Explicit sequencing is given: 'Call it before recommending where to stay,' then areas, then stays from this list, then optionally hotels from search_places with the caveat that no like-minded traveller has rated them. It also states a hard sourcing rule ('Name a holiday flat only from this list') and what to do when the thin flag is set. That is when-to-use plus alternatives plus exclusion, which is the top of the scale.

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