Skip to main content
Glama

à portée

Nearest places by direction

nearby_places
Read-only

Counts 1 request. By default for each of the eight everyday trips: the nearest place on foot with walking minutes, compass direction and whether within the trip's limit, then up to two more within 30 minutes. types may also ask school, elementary_school, secondary_school, childcare, playground or hospital where the release has them (limits 15, 15, 15, 15, 10, 30 min), else it refuses with the types it has; school includes a few driving schools, so for a child ask elementary_school or secondary_school. Walking only, from the point's H3 cell (basis). links.map opens the map's compass; picture adds it as an image (1 more request). Next: travel_times for other modes.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "nearby_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude, decimal degrees (Canada 41.6 to 83.2).
lonYesLongitude, decimal degrees (Canada -141.1 to -52.6).
langNoen or fr.
typesNoDefault the eight everyday trips; the six others where the release has them.
api_keyNoKey from check_sign_in, if this client sends none.
pictureNoAlso the compass as a PNG.

Output Schema

NameRequiredDescriptionDefault
metaYes
basisYes
linksYes
tripsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint=false, and the description adds substantial context beyond them: request cost ('Counts 1 request', picture costs 1 more), the walking-only constraint, that results are computed from the point's H3 cell (basis), and that unsupported types produce a refusal listing available types. It doesn't cover rate limits or failure modes for out-of-range coordinates, so it stops short of a 5.

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 content is dense and mostly earns its place, but it is delivered as a single sprawling run-on that starts with billing ('Counts 1 request') rather than the operation, and phrases like 'else it refuses with the types it has' are telegraphic. Restructuring into a purpose sentence plus a parameter/behavior note would preserve the information while making it far easier to parse.

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?

For a six-parameter tool with an output schema, the description covers the operationally important ground: walking-only scope, per-type limits, refusal behavior, request cost, and the pointer to travel_times. Return-value detail is legitimately left to the output schema. Only edge behavior such as coordinate out-of-range handling or auth requirements (beyond the api_key field) is unaddressed.

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 baseline is 3, but the description genuinely adds meaning: types defaults to 'the eight everyday trips' with six optional additions gated on release availability, per-type time limits (15, 15, 15, 15, 10, 30 min), and the driving-school caveat on school. It also explains that picture adds a PNG at the cost of one extra request. lat/lon/lang get no extra treatment, which is fine since the schema documents them fully.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does convey the resource (nearest places on foot, with walking minutes, compass direction and whether within the trip's limit), but it opens with 'Counts 1 request' and never states a clean verb+resource in the first clause, so the purpose is inferred from a dense run-on. It does distinguish itself from travel_times ('Next: travel_times for other modes'), which helps separate it from the main sibling.

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 names the alternative for other travel modes (travel_times) and gives concrete selection advice for the types parameter, e.g. 'school includes a few driving schools, so for a child ask elementary_school or secondary_school'. It also discloses that unsupported types cause a refusal rather than a silent fallback, which shapes how an agent should call it. What's missing is any explicit when-not-to-use guidance beyond the mode split.

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