Skip to main content
Glama

Typical Weather On Any Date

get_city_climate
Read-onlyIdempotent

What the weather is usually like in a city or at any point on a given day of the year, from the ERA5 climate archive 2021–2025 (median of 35 archive days: the date ±3 days over five years): day and night temperature, on how many of the 35 days there was precipitation, the usual sky, sea or large-lake water temperature, solar radiation for panels and the VanSky climate index; plus all 12 months and the best month to travel. Climate, not a forecast. Use it for dates beyond the coming week ("weather in Batumi in mid-September", "is the sea warm in Antalya in May") and for "when is the best time to go"; for today and this week use get_city_travel_weather. Omit date to get the month overview.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_city_climate"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude of any point, instead of a city.
lngNoLongitude of any point, instead of a city.
cityNoCity or town name in any language, e.g. Batumi, Antalya. Omit when passing lat and lng.
dateNoDay of the year, MM-DD or YYYY-MM-DD (the year is ignored), e.g. 09-18. Omit for an overview of all 12 months and the best month.
localeNoLanguage the user writes in (en, ru, de, fr, es, pt, tr). Set it on every call: the answer and the interactive card are shown in this language and units; without it the card falls back to the app's interface language.
country_codeNoISO 3166-1 alpha-2 country code to disambiguate the city (Barcelona ES vs Barcelona VE).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real value beyond that: the statistical construction (median of 35 days, date ±3 days over five years), the provenance, and the explicit 'not a forecast' caveat that prevents misuse of the numbers. It stops short of noting latency, coverage gaps for regions outside ERA5, or uncertainty ranges.

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 the data basis, then the field list, then the routing rules — a sensible order. It is a single very long semicolon-chained sentence, and the enumerated output fields could be trimmed since an output schema exists, but no clause is genuinely 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?

For a six-parameter, fully optional-parameter tool with annotations and an output schema, the description supplies everything needed: scope, provenance, the forecast-vs-climate boundary, sibling routing, and both call modes. Return values need not be explained given the output schema, yet the field list is a useful preview.

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 every parameter (lat/lng pair, city, date pattern, locale enum, country_code) is already documented in the schema, including the date format and the city-vs-coordinates exclusion. The description restates the date-omission behavior and the city-or-point choice but adds no syntax or format detail the schema does not already carry. Baseline 3 applies.

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 pair ('what the weather is usually like in a city or at any point') plus the exact data basis (ERA5 2021–2025, median of 35 archive days). It explicitly distinguishes itself from the sibling get_city_travel_weather and clarifies 'Climate, not a forecast', so an agent can separate the two 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 explicit when-to-use triggers ('dates beyond the coming week', 'when is the best time to go') with concrete example queries, and an explicit when-not with the alternative named ('for today and this week use get_city_travel_weather'). It also states the omit-date behavior, so both call modes are covered.

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.