Skip to main content
Glama
lzinga

US Government Open Data MCP

by lzinga

nws_forecast_hourly

Read-onlyIdempotent

Retrieve an hour-by-hour weather forecast for any latitude/longitude, covering temperature, wind, precipitation probability, and short conditions for up to 6.5 days.

Instructions

Get the hourly forecast (next ~156 hours / ~6.5 days) for a lat/lon. Each period is one hour with temperature, wind, precip probability, and short forecast. Large response — consider nws_forecast for daily summaries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesLatitude in decimal degrees (e.g. 38.8894)
lonYesLongitude in decimal degrees (e.g. -77.0352)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2026.9.14

TDQS

A4.2/5.0
Behavior4/5

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

While the annotations already communicate read-only, idempotent, and non-destructive behavior, the description adds useful detail: the period length, the forecast horizon, the included fields (temperature, wind, precip probability, short forecast), and the large response warning. This goes beyond the annotations by setting expectations for response size and content.

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

Conciseness5/5

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

The description is two sentences and immediately states what the tool returns, the time range, the content of each period, and the alternative for a lighter response. Every word adds value, and the information is front-loaded.

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?

Without an output schema, the description compensates by listing the forecast fields and the risk of a large payload, which is enough for a caller. It does not specify units, timezone, or pagination, but for this simple lat/lon lookup the description satisfies selection and basic invocation needs.

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?

The input schema already has 100% coverage for the two parameters ('lat' and 'lon') with descriptions, bounds, and examples. The tool description does not add new parameter-specific meaning, but given the schema is fully self-descriptive, a baseline of 3 is appropriate.

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?

The description clearly identifies the specific verb ('Get'), resource ('hourly forecast'), and required inputs (lat/lon). It also distinguishes this tool from its nearest sibling by emphasizing the hourly granularity and ~156-hour horizon, which is concrete and actionable.

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?

The description provides a clear alternative by saying 'Large response — consider nws_forecast for daily summaries,' which tells users when another tool may be better suited. It does not fully spell out all the conditions under which the hourly tool should or should not be used, but it gives enough directional guidance for an agent to make the right choice.

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

Deploy Server

Other Tools