Skip to main content
Glama

Num — travel places, menus & booking routes

Search real places in a destination

search_places
Read-onlyIdempotent

Find real, currently-operating places in a destination — restaurants, bars, beaches, spas, viewpoints, temples. Ranked by quality (rating weighted by how many reviews stand behind it). When near is a "lat,lng" coordinate pair, results are limited to about 5 km of that point, ranked by a blend of quality and distance — so a 4.8★ institution two streets away beats an unrated snack bar next door — and each carries distance_m. When near is a neighbourhood name it filters by area and NO distance is returned. Returns name, category, area, rating, review count, phone, address and opening hours where known. NEVER invents a place: if Num does not hold it, it is not returned. You MUST display the returned attribution string wherever you show these results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nearNoA "lat,lng" pair (e.g. "7.8208,98.2976") for distance-ranked results, or a neighbourhood name to filter by area, e.g. "Kata Beach".
limitNoMax results, 1–20. Default 8.
queryNoFree text, e.g. "thai seafood", "rooftop".
categoryNorestaurant | bar | beach | spa | viewpoint | temple | waterfall | cafe (any case). Omit for all.
destinationYesDestination slug or city name, e.g. "phuket", "bangkok".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description goes well beyond them: ~5 km radius cap, quality/distance blend ranking, the conditional presence of `distance_m`, the no-fabrication guarantee, and a hard requirement to display the `attribution` string. These are behavioral traits the agent cannot derive from structured fields.

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?

Purpose is front-loaded in the first clause, followed by ranking, parameter modes, return fields, and constraints in a logical order. It is denser than strictly necessary (the 4.8★ snack-bar aside), but nearly every sentence carries actionable information.

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?

With no output schema, the description takes on the burden of describing the return payload (name, category, area, rating, review count, phone, address, hours, conditional distance_m) and adds the mandatory attribution display. An agent has everything it needs to call and present results correctly.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: the ~5 km limiting radius for coordinate input, the blend of quality and distance, and the fact that no distance is returned for neighbourhood input. It doesn't expand on query/category/limit syntax, but those are fully covered in the schema.

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 ('Find real, currently-operating places in a destination') and enumerates the categories covered, so the agent knows exactly what domain this search spans. It is cleanly separable from detail-oriented siblings like place_details or get_reviews because it describes discovery/ranking rather than lookup.

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?

Explains the two operating modes of `near` (coordinate for distance-ranked, neighbourhood name for area-only filtering) and what ranking to expect in each, which is effectively usage guidance. It does not name a sibling as an alternative or state when not to use this tool, so it stops short of a 5.

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