Skip to main content
Glama

Weather forecast

weather_forecast
Read-onlyIdempotent

Get weather forecast for any city worldwide. Returns current conditions plus daily forecast up to 14 days (high/low, rain chance, UV, sunrise/sunset, packing advisories). ~1s.

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": {
      "city": "<city>"
    },
    "name": "weather_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity name (e.g. 'Rome', 'Tokyo', 'New York')
daysNoForecast days (1-14, default: 3)
unitsNoTemperature unit (default: celsius)celsius

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / days / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so safety is covered. The description adds value beyond them by disclosing the return payload (current conditions plus daily forecast for up to 14 days, with specific fields) and an expected latency of ~1s. It does not mention behavior for unknown cities or failure modes, which keeps it from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences, front-loaded with the purpose, then the return contents and latency. Every clause carries information an agent can use; nothing is redundant with the title.

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

Completeness4/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 correctly compensates by describing the return fields. For a read-only, three-parameter lookup tool this is nearly complete; only error handling and result-size considerations are missing, which are minor here.

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% and the days parameter already documents its 1-14 range, so the baseline is 3. The description reinforces the 14-day ceiling and clarifies that the forecast is daily, which adds modest meaning beyond the schema without contradicting it.

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 ("Get weather forecast") plus a global scope ("any city worldwide"), and the second sentence enumerates the returned data so an agent knows exactly what it gets back. No sibling tool offers weather, so no disambiguation is required.

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 implied by the scope statement ("for any city worldwide") and the latency note helps an agent decide whether to call it inline, but there is no explicit when-to-use/when-not guidance, no prerequisites, and no comparison to alternatives such as local_search.

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