Skip to main content
Glama

weather_alerts_history

Read-only

NWS alert history (last 7 days) — Every National Weather Service watch, warning and advisory issued in the last 1-7 days for a US point (lat/lon or place) or a whole state: updates and cancellations folded into each alert, counts by event type with max severity, active-now and severe/extreme counts, and the 25 most recent alerts with onset, end, headline and area. Optional event filter (e.g. flood, tornado). Use weather/alerts for what is in effect right now. Price: $0.003 USDC (Base, via x402).

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>",
      "days": "<days>",
      "event": "<event>"
    },
    "name": "weather_alerts_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
daysYes
eventYesflood

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered; the description goes further by explaining that updates and cancellations are folded into each alert and by specifying the result payload (counts, max severity, top 25 with onset/end/headline/area). It also uniquely discloses the commercial terms — '$0.003 USDC (Base, via x402)' — which matters for invocation but is nowhere in the annotations. Remaining gaps are pagination/rate behavior, which are minor for a fixed-size result.

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?

Front-loaded with the identification line, then payload contents, then the sibling exclusion, then price — a sensible order with no filler sentences. The first sentence is dense enough (long clause chain of return fields) that it costs some scannability.

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 no output schema, the description carries the return-value burden and does so well by enumerating the aggregated fields and the 25-alert window. The main completeness defects are the undocumented place/state addressing and the required-vs-optional conflict on the event filter, which could cause a malformed call.

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 coverage is only 25% and the schema 'descriptions' are stray example values (35.47, -97.52, 7, flood) rather than semantics, so the description must compensate. It does add real meaning — days range 1-7, event as an event-type filter with flood/tornado examples — but it creates a mismatch by promising lookup 'for a US point (lat/lon or place) or a whole state' when no place or state parameter exists, and it calls the event filter 'Optional' while the schema marks all four parameters required.

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 with scope: 'NWS alert history (last 7 days) — Every National Weather Service watch, warning and advisory issued in the last 1-7 days for a US point ... or a whole state.' It also enumerates what is returned (folded updates, counts by event type with max severity, 25 most recent alerts), so an agent can distinguish it from the live-alert sibling without opening the schema.

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?

Explicitly routes live lookups elsewhere: 'Use weather/alerts for what is in effect right now,' which cleanly separates this retrospective tool from its sibling. It does not discuss overlap with other historical/forecast tools (e.g. weather_forecast), so the exclusion set is incomplete but the key decision point is stated.

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