Skip to main content
Glama

x420_weather_current

Read-onlyIdempotent

Current weather (global): Current conditions for any coordinate on Earth: temperature, feels-like, humidity, precipitation, cloud cover, pressure, wind speed/gusts/direction and a plain-language condition from the WMO code, imperial or metric. Source: Open-Meteo. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.001 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: conditions, temperature, feels_like, humidity_pct, precipitation, wind_speed, wind_gusts, observed, timezone.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "x420_weather_current"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYeslatitude
lonYeslongitude
unitsNoimperial (default) or metric

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Discloses a critical non-obvious behavior the annotations cannot convey: this hosted instance does not pay and does not return the deliverable, it validates input and returns payment instructions (pay_to, network, price, x402 URL). It also spells out the exact 402/PAYMENT-SIGNATURE retry protocol, the price, the data source, and the paid deliverable shape — far beyond the readOnly/openWorld/idempotent hints.

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 the capability, then the payment mechanics, then the deliverable — a logical order with little filler. The legal/advice boilerplate sentence and repeated price negotiation details cost tokens but are arguably load-bearing for an x402 tool.

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 3-parameter tool with no output schema, the description covers everything an agent needs: the metrics returned, units, source, cost, and the exact two-step payment flow required to actually obtain data. Nothing material is missing.

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 coverage is 100%, so lat, lon and units are already documented, and the description only echoes 'imperial or metric' without adding format constraints or range guidance for coordinates. Baseline 3 is appropriate since the schema does the work.

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+resource ('Current conditions for any coordinate on Earth') and enumerates the exact metrics returned, which distinguishes it from the forecast and alerts siblings without needing their schemas.

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

Usage Guidelines4/5

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

Gives clear context for when the tool applies (present-moment conditions at a coordinate) and explicitly names an alternative execution route — running the local x420-mcp server with your own wallet key to pay automatically. It does not explicitly contrast against x420_weather_forecast or x420_weather_alerts, so sibling exclusions are left to inference.

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