Skip to main content
Glama

get_nearest_stations

Read-onlyIdempotent

Nearest weather stations to a point (name, WMO id, distance, years of record). Free, no key.

meteostat_hourly_end (also given as hourly_end) is the end date of the Meteostat station inventory, not the station's last report: newer hours are read from NOAA GHCNh.

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

Input Schema

NameRequiredDescriptionDefault
nNo
latYes
lonYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description's job is to add context. It does add two useful facts: the service requires no API key, and the meteostat_hourly_end field means the end of the Meteostat inventory rather than a station's last observation — a genuine disambiguation of a confusing return value. It does not discuss result ordering, coverage gaps, or behavior for coordinates with no nearby stations.

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 core capability and the returned field list are front-loaded in one tight sentence. The second paragraph is a narrow field-semantics caveat rather than a broad behavioral note, but it is short and clearly separated from the main statement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return structure needn't be restated, and the tool is simple (two coordinates plus a count). The missing piece is the undocumented 'n' parameter and the lack of any note about empty or sparse results, which leaves the definition adequate but not complete.

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

Parameters2/5

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

Schema description coverage is 0% for three parameters, so the description must carry the burden, and it largely does not. 'To a point' hints at lat/lon, but the 'n' parameter (default 5, presumably the number to return) is never explained anywhere, and no format, range, or unit guidance is given for lat/lon.

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 gives a specific operation on a specific resource ('Nearest weather stations to a point') and even enumerates the fields returned (name, WMO id, distance, years of record). It is clearly distinct from siblings like analyze_epw or generate_forecast, though it never names or contrasts them explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of any alternative tool. The only usage-adjacent information is 'Free, no key', which tells the agent no authentication is needed but says nothing about choosing this tool over another.

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.