Skip to main content
Glama

Current weather and 7-day forecast

hava
Read-onlyIdempotent

Returns current conditions (temperature, humidity, pressure, cloud, wind, precipitation, UV, condition text), a 24-hour hourly forecast and a 7-day daily forecast. Use hava_detay for feels-like, dew point, visibility, gusts or forecasts up to 16 days. Location (give one): il province name, slug or plate code (e.g. 'istanbul', 'izmir', 34), optionally with ilce district name; or konum district slug (e.g. 'duzce-akcakoca'); or enlem + boylam for the nearest district. Turkish characters optional ('Düzce' = 'duzce').

Endpoint: GET /v1/hava. Available on all plans, including free. Costs 1 request unit per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.

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": "hava"
  }
}

Input Schema

NameRequiredDescriptionDefault
ilNoProvince: name, slug or plate code, e.g. 'ankara', 'Düzce', 81.
ilceNoDistrict name within `il`, e.g. 'Kadıköy'. Omit for the province centre.
enlemNoLatitude (WGS84); used with `boylam` to pick the nearest district.
konumNoDistrict slug from konumlar_bul / konumlar_iller_il_ilceler, e.g. 'duzce-akcakoca'.
boylamNoLongitude (WGS84); used with `enlem`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / boylam / description
      Previous value: -"Boylam"New value: +"Longitude (WGS84); used with `enlem`."
    • changedInput schema / properties / enlem / description
      Previous value: -"Enlem (en yakın konum)"New value: +"Latitude (WGS84); used with `boylam` to pick the nearest district."
    • changedInput schema / properties / il / description
      Previous value: -"İl adı, slug'ı ya da plaka kodu (ör. duzce, 81)"New value: +"Province: name, slug or plate code, e.g. 'ankara', 'Düzce', 81."
    • changedInput schema / properties / ilce / description
      Previous value: -"İlçe adı (il ile birlikte)"New value: +"District name within `il`, e.g. 'Kadıköy'. Omit for the province centre."
    • changedInput schema / properties / konum / description
      Previous value: -"Konum slug'ı (ör. duzce-akcakoca)"New value: +"District slug from konumlar_bul / konumlar_iller_il_ilceler, e.g. 'duzce-akcakoca'."
  2. First observed

TDQS

A4.6/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 openWorld, so safety is covered; the description adds genuinely new operational facts: endpoint GET /v1/hava, availability on all plans including free, a cost of 1 request unit per call, and Turkish-language JSON with source and `guncelleme` fields. What it omits is failure behavior (unknown province, ambiguous district, out-of-range coordinates), 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?

Front-loads what is returned, then the sibling alternative, then location modes, then endpoint/cost metadata — a sensible priority order. It is dense but each sentence carries information; the only mild redundancy is restating location examples that the schema already illustrates.

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?

With no output schema, the description compensates by listing the returned fields and noting the Turkish response with source and `guncelleme`. Combined with cost, plan availability and endpoint, an agent has everything needed to invoke it correctly for a read-only weather lookup.

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?

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning the schema does not: the three location modes are alternatives and only one should be supplied, and Turkish characters are optional ('Düzce' = 'duzce'). That resolves real ambiguity about how `il`, `ilce`, `konum` and the lat/long pair interact.

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 ('Returns current conditions..., a 24-hour hourly forecast and a 7-day daily forecast') and enumerates the returned fields. It explicitly distinguishes itself from the sibling hava_detay, so an agent can choose between 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 an explicit routing rule: use hava_detay for feels-like, dew point, visibility, gusts or forecasts up to 16 days. It also spells out the mutually exclusive location input strategies ('give one'), which is the main decision an agent has to make before calling.

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