Skip to main content
Glama

Open-Meteo Historical Climate MCP

Calculate heating and cooling degree days

calculate_degree_days
Read-onlyIdempotent

Calculate cumulative heating degree days (HDD) and cooling degree days (CDD) from ERA5 daily mean temperatures for energy modeling.

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>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "calculate_degree_days"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesEnd date in YYYY-MM-DD format.
latitudeYesWGS84 latitude.
longitudeYesWGS84 longitude.
start_dateYesStart date in YYYY-MM-DD format.
base_temp_cNoBase reference temperature in Celsius (default 18.0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description adds useful context by stating the calculation is cumulative and based on ERA5 daily mean temperatures, but it does not describe return format, handling of invalid dates, or any rate limits. With annotations carrying the safety profile, this is an adequate but not rich behavioral disclosure.

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 a single, well-structured sentence that front-loads the core purpose and includes only relevant details (data source and use case). There is no redundant or filler text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The definition covers the tool's purpose and data source, and annotations cover safety traits. However, with no output schema, the description does not explain what the return values look like (e.g., whether it returns daily cumulative values or a single total, or the units). This is a notable gap for a calculation tool.

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%, so the input schema already documents all five parameters including the optional base_temp_c with its default. The description adds no parameter-level meaning beyond what the schema provides, which is acceptable given the high 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?

The description uses a specific verb ('Calculate') and names the exact metrics ('cumulative heating degree days (HDD) and cooling degree days (CDD)'), the data source ('ERA5 daily mean temperatures'), and the intended use ('for energy modeling'). This clearly distinguishes the tool from siblings that retrieve raw weather or climate statistics.

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 phrase 'for energy modeling' provides a general usage context, but the definition gives no explicit guidance on when to choose this tool over siblings like get_historical_daily_weather or analyze_climate_period_stats. No exclusions or alternatives are mentioned.

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.