Skip to main content
Glama

Beggar Bot

weather_forecast_api

Weather forecast API: current weather and up to 16-day forecast for any city or lat/lon - temperature, feels-like, humidity, wind, rain chance, UV, sunrise/sunset; metric or imperial. Open-Meteo data. City weather. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.

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

Input Schema

NameRequiredDescriptionDefault
latNolatitude
lonNolongitude
cityNocity name
daysNo1-16 (default 3)
unitsNometric|imperial

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does well on cost and failure semantics: '$0.02 USDC via x402' and 'Payment settles only after a successful (2xx) response; input errors are never charged.' That is exactly the kind of behavior an agent cannot get from the schema. It loses a point for not addressing rate limits, latency, or the upstream data source's fallback behavior beyond naming Open-Meteo.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Roughly four clauses: capability, field list, data source, and payment terms. It is front-loaded sensibly with the core purpose. However, the fragment 'City weather.' is redundant keyword padding and the field enumeration is long enough to dilute the payment notice that actually matters for invocation decisions.

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?

For a 5-param, no-required-fields, no-output-schema read tool, the description covers capability, units, data source and pricing. The notable omission is what happens when no location parameter is supplied at all — since required is empty, an agent could call it with zero arguments and has no idea whether that errors or defaults. Otherwise complete.

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 description coverage is 100%, so the schema already defines lat, lon, city, days (1-16 default 3) and units (metric|imperial). The description reinforces the range ('up to 16-day'), the unit options and the location modes, but adds no precedence rule for what happens when both city and lat/lon are supplied, which is the one ambiguity the schema leaves open. Baseline 3 is appropriate.

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?

States a specific verb+resource: 'current weather and up to 16-day forecast for any city or lat/lon', and enumerates returned fields (temperature, feels-like, humidity, wind, rain chance, UV, sunrise/sunset). This is far more specific than the name alone. It stops short of 5 because it never distinguishes itself from the sibling tools weather_forecast, weather_current, and weather_now, leaving the agent to guess which overlapping weather tool to call.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage ('any city or lat/lon', 'up to 16-day forecast') but gives no explicit when-to-use guidance and no exclusions. With siblings literally named weather_forecast, weather_current and weather_now in the catalog, the absence of any routing statement is a real gap. Nothing tells the agent when this combined tool beats the narrower ones.

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.