Skip to main content
Glama

Facts near a point

nearby
Read-onlyIdempotent

Call when the user asks about places or facts around a location ("what is open near me", "facts about places within 2 km of here"). Returns nearby known places and their facts, nearest first.

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

Input Schema

NameRequiredDescriptionDefault
latYesLatitude
lonYesLongitude
detailNobrief (default) = compact fact cards; full = adds ids, values, counts, validity dates and links
categoryNoOptional category filter
radius_kmNoSearch radius in km (default 5, max 500)
max_tokensNoToken budget for the result (default 600). Results are cut to fit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, non-destructive, and closed-world behavior, so the description only needs to add operational color. It does add two useful traits beyond the annotations: results are 'known places' from a curated set (not live external data) and are ordered 'nearest first'. It says nothing about behavior on empty results, pagination, or how the token budget truncates output beyond what the schema states.

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, with the invocation condition and the return semantics in that order, so the most decision-relevant information is front-loaded. The embedded example queries are short and directly disambiguating rather than filler.

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?

With six fully documented parameters, rich annotations, and no output schema, the description covers what the tool returns (places plus facts, nearest first) and when to call it. The remaining gaps are minor: no mention of empty-result behavior or of the category filter, both of which an agent could want before calling.

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%, so lat, lon, detail, category, radius_km, and max_tokens are all self-documenting, and the baseline of 3 applies. The phrase 'within 2 km' loosely illustrates radius_km but adds no syntax, defaults, or constraints beyond the schema, and category filtering is never mentioned in the description.

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 description names a concrete resource and scope: 'nearby known places and their facts', returned 'nearest first'. The example queries ('what is open near me', 'facts about places within 2 km of here') pin the geo-proximity intent precisely. It does not explicitly contrast itself with search_facts, so an agent must infer that this one is radius-driven rather than query-driven.

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 opens with an explicit trigger condition ('Call when the user asks about places or facts around a location') and reinforces it with two representative phrasings, which is strong positive guidance. It stops short of stating when not to use it or naming an alternative sibling such as search_facts for non-geographic lookups.

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