Skip to main content
Glama

weather_alerts_batch

Read-only

NWS weather alerts for up to 10 areas — Active National Weather Service watches, warnings and advisories for up to 10 US states and/or points in one call. Areas are separated by semicolons: a 2-letter state (TN) or name=lat,lon (Denver=39.74,-104.99). Returns per-area alert counts, highest severity and top alerts, plus an overall ALL CLEAR / ADVISORY / WATCH / DANGER status, the worst area and event totals. Pass ?areas=. Price: $0.008 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": {
      "areas": "<areas>"
    },
    "name": "weather_alerts_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
areasYese.g. TN;FL;Denver=39.74,-104.99

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare it is a safe, open-world read; the description adds material context beyond that: the exact input encoding (semicolon-separated state codes or name=lat,lon), the 10-area ceiling, the per-area and aggregate return payload, and a real cost of $0.008 USDC via x402. Cost and quota disclosure for a paid endpoint is exactly the kind of behavior an agent needs before calling.

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 purpose and scope, then encoding, then return shape, then price — a sensible order with no filler. It is dense and the dangling 'Pass ?areas=.' sentence is slightly cryptic, but nothing essential is wasted.

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?

There is no output schema, so the description carries the return-value burden and does it: per-area counts, highest severity, top alerts, and an overall ALL CLEAR/ADVISORY/WATCH/DANGER rollup with worst area and event totals. Combined with input encoding and pricing, an agent has everything needed to call it correctly.

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% and the example already shows the delimiter, but the description adds real meaning: semicolons separate areas, each entry is a 2-letter state or a name=lat,lon pair, and the list maxes out at 10. The 'Pass ?areas=.' fragment is a bit terse but doesn't obscure the semantics.

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+resource+scope: 'Active National Weather Service watches, warnings and advisories for up to 10 US states and/or points in one call.' The batch framing and the 10-area cap distinguish it from the singular weather_alerts and from the historical sibling without opening either 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?

Usage context is clear: this is the multi-area variant, capped at 10 areas, so an agent knows to pick it when several locations must be checked at once. It never explicitly names the single-area alternative (weather_alerts) or states when-not to use this, so it falls short of a 5.

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