Skip to main content
Glama

nearby_sensors

The nearest live public sensors to a point, one per layer asked for (e.g. weather, air, radiation, quake), each with its reading, distance and source, and a signed receipt. Costs $0.03 per call. The first 5 priced calls per caller are free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layersNoSensor layers to search, e.g. ["weather", "air"]; default weather.
max_kmNoRefuse sensors farther than this.
latitudeYesLatitude in degrees.
longitudeYesLongitude in degrees.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the disclosure burden and does so well: it mentions pricing, the free-call tier, the one-sensor-per-layer behavior, and the output contents including the signed receipt. It does not cover empty-result or error behavior, but the key behavioral traits are disclosed.

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?

The description is compact, front-loaded with the core purpose, and every sentence adds value: result scope, output contents, pricing, and free tier. There is no filler or redundant restatement of the schema.

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?

Although there is no output schema, the description summarizes the return values well enough for an agent to understand what to expect. Input parameters are fully covered by the schema, and the description provides the essential behavioral and cost context. Explicit routing versus sibling tools would be a minor improvement.

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 parameters are already well documented. The description adds useful semantic detail beyond the schema, especially the one-result-per-layer cardinality and example layer names, which clarifies how the layers parameter behaves.

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 names a specific operation: finding the nearest live public sensors to a coordinate, with one sensor per requested layer and each result including reading, distance, source, and receipt. This clearly distinguishes the tool from single-layer siblings like weather_now or air_quality_now by emphasizing multi-layer sensor 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?

The intended use is clear: when you have a latitude/longitude and need nearby live sensor readings across layers such as weather, air, radiation, or quake. It does not explicitly name alternative sibling tools or exclusion conditions, but the context is sufficiently clear for an agent to know when to invoke 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.