Skip to main content
Glama

Detailed weather forecast up to 16 days

hava_detay
Read-onlyIdempotent

Returns detailed hourly and daily weather: feels-like temperature, dew point, rain/showers/snow, sea-level and surface pressure, visibility, wind speed and gusts, plus elevation of the grid point. Use hava for a quick current + 7-day summary. 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/detay. Requires a paid plan (free plan returns 403). Costs 2 request units 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_detay"
  }
}

Input Schema

NameRequiredDescriptionDefault
ilNoProvince: name, slug or plate code, e.g. 'ankara', 'Düzce', 81.
gunNoDays of daily forecast (1–16, default 7).
ilceNoDistrict name within `il`, e.g. 'Kadıköy'. Omit for the province centre.
saatNoHours of hourly forecast (0–384, default 48).
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. Changed7 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."
    • addedInput schema / properties / gun / description
      Added value: +"Days of daily forecast (1–16, default 7)."
    • 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'."
    • addedInput schema / properties / saat / description
      Added value: +"Hours of hourly forecast (0–384, default 48)."
  2. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered structurally. The description still adds genuine non-annotation context: the cost of 2 request units per call, the 403 behavior on free plans, the GET endpoint, and that responses are Turkish JSON with `source` and `guncelleme` fields. Return format is only briefly sketched rather than fully described, keeping it from a 4.

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?

Front-loads purpose and payload contents, then alternative, then location contract, then operational facts (endpoint, plan, cost). Four tight sentences with no filler; the field enumeration earns its space by justifying the choice against `hava`.

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 7-parameter, all-optional tool with no output schema, the description covers the location-selection contract, the paid-plan gate, per-call cost, and the response language/shape. An agent can select and invoke it correctly without further guesswork.

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 baseline is 3, but the description adds real meaning the schema does not: that the three location modes are mutually exclusive and only one should be supplied, plus the Turkish-character normalization rule ('Düzce' = 'duzce'). It stops short of explaining how `saat` and `gun` interact with each other's ranges.

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?

Opens with a specific verb and resource ('Returns detailed hourly and daily weather') and enumerates the payload fields, so an agent knows exactly what it gets beyond the sibling. It directly distinguishes itself from `hava`, which is described as the quick current + 7-day summary.

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?

Explicitly routes the agent: use this for detail, use `hava` for a quick summary. It also states the alternative location-identifier modes and the constraint to give exactly one ('Location (give one)'), plus the prerequisite that a paid plan is required since free plans return 403.

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