Skip to main content
Glama
Weather MCP Server (NWS)

Weather MCP Server (NWS)

Get weather forecast

get_forecast
Read-onlyIdempotent

Retrieve up to 7 days of US National Weather Service forecast for a latitude/longitude in the US or territories, with 12-hour periods covering temperature, conditions, wind speed, and direction.

Instructions

Get the US National Weather Service forecast for a latitude/longitude inside the United States or its territories. Returns up to 7 days of 12-hour periods with temperature, conditions, wind speed and direction.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "get_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
latitudeYesLatitude of the location in decimal degrees (-90 to 90)
longitudeYesLongitude of the location in decimal degrees (-180 to 180)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so safety and mutability are covered. The description adds useful behavioral detail about the payload shape (up to 7 days, 12-hour periods, temperature, conditions, wind speed and direction), though it says nothing about error behavior for out-of-range or non-US coordinates.

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?

Two sentences, zero waste: the capability and geographic constraint come first, the return shape second. Every clause carries information an agent needs before calling.

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?

Despite having no output schema, the description communicates the temporal horizon and fields returned, and the annotations cover the safety profile. For a two-parameter read tool, nothing essential is missing.

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 description coverage is 100% with ranges already documented for both latitude and longitude, so the schema carries the parameter burden. The description adds only the geographic validity constraint already implied, giving no extra format or edge-case guidance beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Get the US National Weather Service forecast') plus a scope constraint (latitude/longitude inside the US or its territories) and a return summary. It does not explicitly contrast itself with get_alerts, but the forecast-vs-alerts distinction is evident from the stated content.

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?

It clearly states the applicability boundary — coordinates inside the United States or its territories — which functions as an effective when-not-use condition for out-of-coverage locations. It stops short of naming get_alerts as the alternative for warning/advisory data, so routing between siblings is left to inference.

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