Skip to main content
Glama

Weather source status

get_weather_source_status
Read-onlyIdempotent

Check weather data source health, cache status, last call results, and missing optional API keys with setup guidance to diagnose stale or incomplete forecasts and add more sources.

Instructions

Check health and cache status of all weather data sources, and which optional API keys are missing with where to get them and how to set them. Returns each source's configuration state, last call result, and cache hit rate. Useful when weather data seems stale or incomplete, or when the user asks how to add more sources.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_weather_source_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
cacheYes
quotaYes
apiKeysYes
sourcesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real value beyond that: it discloses that missing optional API keys are reported along with where to obtain and how to set them, which is not derivable from annotations or schema. It omits any note on cost/latency of probing all sources, which keeps it from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the action and scope, then the return contents, then the usage trigger. The return-value sentence overlaps somewhat with the existing output schema, but it is short and orients the agent quickly.

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

Completeness5/5

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

With zero parameters, a rich annotation set, and an output schema for return shape, the description covers everything an agent needs: what it checks, what it reports, and when to reach for it. Nothing material is missing for a diagnostic tool of this complexity.

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?

The tool takes no parameters and the schema is an empty object, so there is nothing for the description to disambiguate. Baseline for zero parameters applies, and the description correctly signals that the call is unfiltered ('all weather data sources').

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?

States a specific verb and resource: 'Check health and cache status of all weather data sources', plus the key-availability diagnostic angle. This clearly separates it from siblings like get_current_weather or get_weather_forecast, which return weather data rather than source diagnostics.

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?

Gives concrete triggering conditions: 'when weather data seems stale or incomplete, or when the user asks how to add more sources.' It does not name an alternative tool or state when not to use it, but the diagnostic framing makes the boundary with data-fetching siblings implicit and clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.