Skip to main content
Glama

weather_degree_days

Read-only

Heating and cooling degree days forecast — Forecast heating (HDD) and cooling (CDD) degree days for the next week at a US location from the NWS 7-day forecast: per-day high, low, mean, HDD and CDD vs a base temperature (default 65 F, base= 40-80), weekly totals and averages, energy outlook HEATING/COOLING/MIXED/MILD and peak day. lat= and lon= (or place=). 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_degree_days"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes36.1627
lonYes-86.7816

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the description need not re-establish safety. It adds genuinely useful context beyond them: the upstream data source (NWS 7-day forecast), the full shape of the computed output (per-day high/low/mean, HDD/CDD, weekly totals, energy outlook categories, peak day), and the paid-call cost of $0.003 USDC via x402 on Base — material for an agent deciding whether to spend.

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?

Front-loaded with the core purpose and then enumerating outputs, with no filler sentence. It is, however, a single run-on construction dense with parentheticals and an appended pricing note, which is harder to scan than a short structured list would 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 does the necessary work of enumerating return fields (daily rows, weekly totals/averages, outlook category, peak day). The remaining gap is the parameter picture: the documented 'place' and 'base' inputs are absent from the schema, leaving an agent unsure which arguments are actually accepted.

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 coverage is nominally 100%, but the two property descriptions are only bare example values ("36.1627", "-86.7816"), so the description genuinely adds meaning by identifying them as latitude/longitude of a US location. It also introduces two inputs that do not exist in the schema — a 'place=' alternative and a 'base=' value range of 40-80 with default 65 — which could lead an agent to pass arguments the tool will reject; the mismatch cancels much of the added value.

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 and resource — forecast heating (HDD) and cooling (CDD) degree days for the next week — and immediately pins the scope to a US location sourced from the NWS 7-day forecast. Because degree days are a distinct product from the sibling weather_forecast, an agent can tell what this tool computes without opening the schema.

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?

The description carries a useful applicability constraint: US locations only, next-week horizon, single point from lat/lon. It does not, however, tell the agent when to choose this over weather_forecast, weather_outdoor_plan, or weather_global, nor what to do when the location is outside the US — the usage boundary is implied by the domain rather than stated.

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