Skip to main content
Glama

noaa-climate-mcp-server

Get NOAA 1991–2020 Climate Normals

noaa_climate_get_normals
Read-only

Fetch one station's 1991–2020 U.S. Climate Normals, NOAA's current 30-year baseline, for comparing an observed day, month, season, or year against normal. Covers monthly, daily, hourly, and annual/seasonal normals of temperature, precipitation, snowfall, degree days, and the other NCEI normals elements, and needs no token. noaa_climate_fetch_data's NORMAL_* datasets are the superseded 1981–2010 normals. stationId is a GHCN-Daily ID such as USW00024233; about 15,600 stations carry monthly, daily, and annual/seasonal normals, about 470 (nearly all USW stations) hourly normals, and precipitation-only stations carry no temperature normals. Values stay in NCEI's native units — °F, inches, °F-days, hPa — and are never converted; a record carries its unit wherever that unit was verified. Each record carries NCEI's completeness flag and the years of data behind it: S is standard, while R, P, and E mark normals built from fewer years or estimated from neighboring stations. A -9999 value comes back as missing=true with no value. An unknown station and a station without normals both return no records.

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": {
      "stationId": "<stationId>",
      "granularity": "<granularity>"
    },
    "name": "noaa_climate_get_normals"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum records per page; a record is one datatype on one row. Defaults to 100, which holds the monthly defaults (60 records) or one month of daily defaults (up to 93). Larger positive integers are clamped to 1000 with a notice unless NOAA_CLAMP_LIMITS=false.
monthNoMonth 1–12. Required for hourly, which is read one month at a time (744 rows per datatype for January). Narrows daily to that month’s days — February includes 02-29 — and monthly to that month. Rejected for annualseasonal, which has no month axis.
offsetNoZero-based index of the first record to return. Defaults to 0.
stationIdYesGHCN-Daily station to read, one per call (e.g., "USW00024233", Seattle-Tacoma International Airport). Find IDs with noaa_climate_find_stations; confirm one with noaa_climate_get_station. Trims surrounding whitespace, strips a GHCND: prefix (GHCND:USW00024233 → USW00024233), and uppercases an ID written all in lowercase. IDs are matched case-sensitively, so a mixed-case legacy ID such as US10adam002 is sent as written.
datatypeIdNoNormals datatype IDs to read (1–50), uppercased before sending. Each must carry the granularity's prefix: MLY- for monthly; DLY-, MTD- (month-to-date), or YTD- (year-to-date) for daily; HLY- for hourly; ANN-, DJF-, MAM-, JJA-, or SON- for annualseasonal. Omitted, monthly reads MLY-TAVG-NORMAL, MLY-TMAX-NORMAL, MLY-TMIN-NORMAL, MLY-PRCP-NORMAL, and MLY-SNOW-NORMAL; annualseasonal the same five with ANN-; daily DLY-TAVG-NORMAL, DLY-TMAX-NORMAL, and DLY-TMIN-NORMAL; hourly HLY-TEMP-NORMAL and HLY-DEWP-NORMAL. NCEI's documentation for each product lists the rest — degree days such as MLY-HTDD-NORMAL, standard deviations, percentiles, and frost dates.
granularityYesWhich normals product to read: monthly (rows "01"–"12"), daily (rows "01-01"–"12-31", including "02-29"), hourly (rows "01-01T00:00:00"–"12-31T23:00:00" in local standard time; month required), or annualseasonal (one row with no date — the period is the datatype prefix: ANN annual, DJF/MAM/JJA/SON seasons).

Output Schema

NameRequiredDescriptionDefault
capNoThe limit that was applied. Omitted otherwise.
errorNoPresent when the call failed. Absent on success.
shownNoRecords returned on this page. Omitted otherwise.
noticeNoComposed guidance: station ID normalization, limit clamping, missing values and non-standard completeness on this page, requested datatypes no row carries, unlabeled units, no records, and paging. Omitted when none applies.
resultsNoNormals records ordered by date, then by requested datatype.
stationNoThe bare GHCN-Daily station ID that was read.
exhaustedNoTrue when offset is past the end of a non-empty response — the page is empty but records exist. Omitted otherwise.
truncatedNoTrue when more records exist beyond this page. Omitted otherwise.
totalCountNoRecords in the whole response, before offset and limit.
granularityNoThe normals product that was read.
effectiveQueryNoThe NCEI dataset, station, datatypes, and month that were requested.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial non-obvious behavior: no token required, values kept in NCEI native units and never converted, per-record completeness flags (S/R/P/E) with years-of-data semantics, -9999 mapped to missing=true, and both unknown-station and no-normals cases returning no records. Pagination behavior is only implicit, which keeps it short of a 5.

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?

A single dense paragraph that front-loads purpose, then distinctions, then data caveats; every clause carries information (units, flags, coverage counts, error behavior). It is somewhat long and could be broken into sentences for scannability, but there is no filler.

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?

Complete for a six-parameter read tool: annotations cover the safety profile, the input schema is fully described, and an output schema exists so return values need no explanation here. The description closes the remaining gaps an agent would hit — unit handling, missing-value encoding, station coverage, and empty-result causes.

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?

With 100% schema coverage the baseline is 3, but the description adds selection-relevant meaning: stationId is a GHCN-Daily ID, only ~15,600 stations have monthly/daily/annual-seasonal normals, only ~470 have hourly, and precipitation-only stations carry no temperature normals. It adds little for limit/offset/month, which the schema already documents thoroughly.

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 ("Fetch") and resource ("one station's 1991–2020 U.S. Climate Normals"), pins the scope to a single station, and explicitly contrasts it with the sibling's superseded 1981–2010 NORMAL_* datasets. An agent can distinguish this from noaa_climate_fetch_data 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 Guidelines5/5

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

Gives the operative use case ("comparing an observed day, month, season, or year against normal") and names the alternative it must not be confused with, stating the rule that selects it (NORMAL_* is the superseded baseline). It also routes ID discovery to noaa_climate_find_stations and confirmation to noaa_climate_get_station.

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.