Skip to main content
Glama

weather_heat_risk

Read-only

NWS HeatRisk heat-health forecast — Official NWS HeatRisk (0-4 Green/Yellow/Orange/Red/Magenta) for any US point, day by day for up to 7 days, plus max heat index with NWS category, wet-bulb globe temperature (WBGT) with TB MED 507 flag colors for outdoor work and sports, overnight-relief check (lows at or above 75F) and any active NWS heat alerts. Verdict NO HEAT CONCERN / MINOR / MODERATE / MAJOR / EXTREME and plain advice. Params: lat= and lon= (US), days=1-7 (default 7). Example: /v1/weather/heat-risk?lat=33.45&lon=-112.07 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>"
    },
    "name": "weather_heat_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes33.45
lonYes-112.07

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, so safety is covered. The description adds genuinely useful behavioral context beyond that: US-only coverage, a 7-day horizon, a concrete cost/payment requirement ($0.003 USDC via x402 on Base), and an itemized list of what is returned. It stops short of describing pagination, failure modes for out-of-US coordinates, or alert-source behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The opening sentence is a single run-on enumeration of six output types, and the trailing example URL plus pricing line is somewhat bolted on rather than integrated. It is front-loaded with the core purpose, which is good, but the sentence packing makes it harder to scan than it needs to be.

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, naming each product component and the final verdict scale. The missing piece is any note on output format or how alerts/verdict interact, and the days mismatch slightly dents confidence. Overall it is complete enough for an agent to know what it will get back.

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?

The description advertises a 'days=1-7 (default 7)' parameter that does not exist anywhere in the input schema, which only defines lat and lon. That is actively misleading — an agent following the description would pass an unsupported argument. The lat/lon US-only constraint is a useful addition, but the phantom parameter is a real correctness defect despite 100% schema description coverage (which itself is only example values like '33.45', not 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 product (Official NWS HeatRisk) and names the exact outputs — 0-4 risk level, max heat index, WBGT with TB MED 507 flags, overnight relief, active alerts, and a verdict. An agent can distinguish this from siblings like weather_alerts or weather_outdoor_plan because the heat-health scoring and verdict are named explicitly.

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

Usage Guidelines3/5

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

Usage is implied by 'for any US point, day by day for up to 7 days' and the outdoor work/sports framing, but there is no explicit statement of when to pick this over weather_alerts, weather_feels_like, or weather_outdoor_plan, and no exclusions. The geographic constraint (US only) is the only scoping guidance given.

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