Skip to main content
Glama

get_historical_weather

Retrieve historical weather data for a location and date, including temperature, humidity, wind, and conditions.

Instructions

Get historical weather data for a location on a specific date. Returns temperature, humidity, wind, and conditions for that date.

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>",
      "date": "<date>"
    },
    "name": "get_historical_weather"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude (-90 to 90)
lonYesLongitude (-180 to 180)
dateYesDate to retrieve weather for (ISO 8601 format, e.g. 2026-01-15)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the return payload ('temperature, humidity, wind, and conditions'), which is genuinely useful given there is no output schema, but it omits units, data availability range, and any auth or rate-limit context for a historical archive lookup.

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?

Two tight sentences with the purpose front-loaded and no filler. The second sentence earns its place by sketching the return shape in the absence of an output schema.

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?

For a simple three-parameter read tool the definition is nearly sufficient, and listing return fields partly compensates for the missing output schema. The notable gap is historical data constraints — the available date range and units are things an agent would need before calling correctly.

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 100% and all three parameters (lat, lon, date) carry their own descriptions including ranges and ISO 8601 format. The description adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 states a specific verb and resource ('Get historical weather data') scoped to 'a location on a specific date', which distinguishes it in spirit from get_current_weather and get_daily_forecast. It stops short of naming those siblings explicitly, so the differentiation is inferred from the word 'historical' rather than stated.

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?

Usage is only implied: past dates for a given lat/lon. There is no explicit statement of when to prefer this over get_daily_forecast or get_hourly_forecast, and no note on whether the date must be in the past or how far back data exists.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.