Skip to main content
Glama

nearby

Entities near a location (the primitive look_from builds on). Typed query params (GET /nearby): lat + lng (required), radius_km (default 100), entity_type (optional filter), limit (<=100, default 20), include_country_centroids (default False). Metered — debited from the CALLING agent's own wallet, not the owner's (read it with the joules_balance tool). For the exact per-caller price before you call, use the billing_quote tool (free, tier-aware; returns joules_all_in) or check affordability with the joules_deficit tool; the true debit is the base joule_cost plus a 0.5% rail surcharge rounded up (a 100 J call debits 101 J) = joules_all_in. Carries source_tier/tier_label.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYes
lngYes
limitNo
radius_kmNo
entity_typeNo
include_country_centroidsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and covers metering, wallet debiting, the exact surcharge formula, and response fields source_tier/tier_label. It does not explicitly state whether the call is read-only, but the GET verb and query semantics make that largely inferable.

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?

The description is dense but every clause adds necessary information for a metered call, and the purpose is front-loaded. The final sentence about source_tier/tier_label is terse but important, so the length is justified rather than padded.

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?

Because there is no output schema and no annotations, the description must explain both inputs and behavior; it does so for all parameters, the billing model, and some response metadata. It stops short of enumerating the full response shape or entity_type allowed values, but it provides enough to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, yet the description names and explains all six parameters: lat/lng required, radius_km default, entity_type optional, limit cap and default, include_country_centroids default. It adds constraints and units that the raw JSON schema does not provide.

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 'Entities near a location (the primitive look_from builds on)' and defines the endpoint as GET /nearby with typed query params, so it is immediately clear that this tool returns entities within a radius. It also distinguishes itself from the sibling look_from by labeling itself as the primitive that tool builds on.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit when-to-use or when-not-to-use guidance against alternatives like look_from. However, it does provide process guidance: check the caller's own wallet with the joules_balance tool and get an exact price with billing_quote before calling, which tells an agent what to do before invoking it.

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