Skip to main content
Glama

Beggar Bot

weather_forecast

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

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

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose real behavioral traits: the upstream data source (Open-Meteo), the x402 payment model with price ($0.02 USDC), and the important guarantee that payment settles only on a 2xx response while input errors are never charged. It stops short of covering rate limits, latency, or what an error response looks like.

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?

Purpose and coverage are front-loaded in a single dense, information-rich sentence. The fragment 'City weather.' is redundant keyword-stuffing that adds nothing, a minor blemish on an otherwise tight definition.

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 and no annotations, the description usefully enumerates the returned fields (temperature, feels-like, humidity, wind, rain chance, UV, sunrise/sunset) and the billing behavior, which is what an agent most needs before paying. Gaps remain around response shape and combined city/lat-lon behavior for a 5-parameter tool.

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 baseline is 3; every parameter (lat, lon, city, days, units) is already documented in the schema. The description reinforces the 1-16 day range and metric|imperial units but adds no syntax or precedence guidance, notably not saying what happens if both city and lat/lon are supplied.

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 resource and scope: 'current weather and up to 16-day forecast for any city or lat/lon', plus the exact data fields returned and unit options. It is immediately clear what the tool does, though it never distinguishes itself from the sibling weather_current / weather_now / weather_forecast_api tools, which likely overlap on 'current weather'.

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 only implied — an agent infers you call this when you need weather data for a location. There is no explicit when-to-use, no exclusion, and no routing to the near-identical weather siblings, which is the main ambiguity an agent would face here.

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.