Skip to main content
Glama

Get Forecast

get_forecast
Read-onlyIdempotent

Get the 7-day NWS forecast for a US lat/lon. Returns named periods (e.g., "Tonight", "Wednesday") with high/low temperature, wind, and a short text forecast. US locations only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latitudeYesUS latitude
longitudeYesUS longitude

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodsYes
updatedNoForecast update timestamp
locationYes
period_countYesNumber of forecast periods

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "latitude": 40.7128,
      +    "longitude": -74.006
      +  },
      +  {
      +    "latitude": 34.0522,
      +    "longitude": -118.2437
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "location": {
      +      "properties": {
      +        "city": {
      +          "description": "Nearest city name",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "grid": {
      +          "description": "NWS grid ID and coordinates",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "latitude": {
      +          "description": "Input latitude",
      +          "type": "number"
      +        },
      +        "longitude": {
      +          "description": "Input longitude",
      +          "type": "number"
      +        },
      +        "radar_station": {
      +          "description": "Nearest radar station",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "state": {
      +          "description": "State abbreviation",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "timezone": {
      +          "description": "IANA timezone",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "latitude",
      +        "longitude"
      +      ],
      +      "type": "object"
      +    },
      +    "period_count": {
      +      "description": "Number of forecast periods",
      +      "type": "number"
      +    },
      +    "periods": {
      +      "items": {
      +        "properties": {
      +          "detailed": {
      +            "description": "Detailed forecast text",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "end": {
      +            "description": "End time ISO 8601",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "is_daytime": {
      +            "description": "Daytime period flag",
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "description": "Period name (e.g. Tonight)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "precip_chance_pct": {
      +            "description": "Precipitation probability",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "short": {
      +            "description": "Short forecast text",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "start": {
      +            "description": "Start time ISO 8601",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "temperature": {
      +            "description": "Temperature in unit",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "temperature_unit": {
      +            "description": "F or C",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "wind": {
      +            "description": "Wind speed and direction",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "updated": {
      +      "description": "Forecast update timestamp",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "location",
      +    "period_count",
      +    "periods"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already indicate idempotent, read-only, non-destructive. Description adds meaningful context: data source (NWS), output structure (named periods, specific fields), and geographic restriction (US only). No contradictions.

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 concise sentences with front-loaded key information: 7-day NWS forecast, US lat/lon, and return format. No unnecessary words.

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?

Given annotations and output schema exist, description is complete: mentions forecast duration, source, location restriction, and return fields. No gaps.

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 covers both parameters with descriptions (US latitude, US longitude), so description adds no extra semantics. Baseline 3 is appropriate given 100% schema coverage.

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?

Description clearly states it retrieves a 7-day NWS forecast for a US latitude/longitude, specifying the return format (named periods with temperature, wind, text). This distinguishes it from siblings like get_hourly_forecast.

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?

Description implies use for obtaining a 7-day forecast but does not explicitly state when to avoid or mention alternatives to siblings. Context signals show a sibling get_hourly_forecast, but no guidance on choice.

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.

TDQS

A3.7/5.0
Disambiguation2/5

Many tools have overlapping purposes, e.g., multiple Polymarket analysis tools, several query tools (ask_pipeworx, deep_research, compare_entities, entity_profile) with unclear boundaries. Agents may struggle to choose the correct tool.

Naming Consistency3/5

While most names use snake_case, there is no consistent prefix pattern across subdomains (e.g., 'ask_', 'get_', 'polymarket_', 'pipeworx_'). Some names like 'bet_research' and 'deep_research' follow different conventions within the same domain.

Tool Count2/5

34 tools is excessive for a server named 'Nws' that primarily suggests weather. The set covers many unrelated domains (prediction markets, npm scanning, memory), making the scope unfocused and overloaded.

Completeness3/5

The server has decent coverage for prediction markets and company financials, but weather tools are limited to basic forecasts/alerts, lacking radar, climate, or historical data. Other domains like npm scanning seem tacked on.