Skip to main content
Glama

draconic21 x402 Data Tools

Weather (National Weather Service + MET Norway, live, worldwide)

weather
Read-onlyIdempotent

[PAID — 0.004 USDC on Base via x402] Current conditions + short forecast, worldwide. U.S. coordinates (all 50 states, D.C., U.S. territories) read live from the National Weather Service's own public API (api.weather.gov) — U.S. government data — plus active alerts. Every other location reads live from MET Norway's global Locationforecast model (api.met.no), CC BY 4.0/NLOD-licensed public data — current + forecast only, no alerts (MET Norway's public feed has no alerts product). Neither is a resold vendor feed. Body { lat, lon } (or lat/lng) for anywhere in the world, or { location } / { city } for a full U.S. street address (resolved via the Census Geocoder — U.S. only; a bare "City, State" may not resolve; non-U.S. place names are never resolved this way — pass lat/lon for any non-U.S. location). Optional { forecast_days: 1-7, alerts: true|false (U.S./NWS only) }. Response includes provider (nws|met_norway) and the required attribution string. Cached 10 minutes per query. $0.004 USDC on Base, paid via x402 by the calling agent's own wallet. Call with no payment_header first to receive the payment requirements; your own wallet pays, never this server's.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude (-90..90), anywhere in the world. Alias: latitude. Mutually exclusive with location/city.
lonNoLongitude (-180..180), anywhere in the world. Aliases: lng, long, longitude. Mutually exclusive with location/city.
alertsNoInclude active NWS alerts, default true. U.S./NWS locations only.
locationNoFull U.S. street address (best results) or city/state, e.g. '1600 Pennsylvania Ave NW, Washington, DC'. U.S. ONLY. Alias: city. Resolved via the Census Geocoder -- a bare 'City, State' may not resolve; pass lat/lon for guaranteed resolution or for any non-U.S. location.
forecast_daysNo1-7, default 3.
payment_headerNoOptional. Omit on your first call to receive the x402 payment challenge for free. After your own wallet/x402 client signs against that challenge, call this same tool again with the SAME business arguments plus this field set to the header your x402 client produced (typically { name: "PAYMENT-SIGNATURE", value: "<base64 payload>" }). This server never holds a wallet and never pays on your behalf.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations are present (readOnly, openWorld, idempotent, non-destructive), but the description adds substantial context beyond them: cost, the x402 paywall handshake, 10-minute caching per query, required attribution string, licensing, and which provider returns alerts. This is exactly the extra behavioral detail the annotations cannot express, and nothing contradicts them.

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-loaded with the one-line purpose before elaborating on sources and payment. It is dense but nearly every clause carries information; the main redundancy is the price/payment restated at both start and end, which slightly pads an otherwise information-rich paragraph.

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 paid, multi-source tool with no output schema, the description covers what an agent needs: the payment flow, geographic routing logic, return fields (provider, attribution), caching, and provider-specific limitations. Nothing material for correct invocation 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 description coverage is 100%, so the schema already documents every parameter including aliases, ranges, and the U.S.-only caveat. The description restates much of this (lat/lon vs location, forecast_days, alerts U.S./NWS-only) rather than adding syntax or format detail. Baseline 3 is appropriate since the structured schema does the heavy lifting.

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 and scope: "Current conditions + short forecast, worldwide." It is immediately distinguishable from weather_preview via the explicit paid marker ("[PAID — 0.004 USDC on Base via x402]") and names its data sources (NWS + MET Norway). An agent can tell what it does and that it differs from the free preview sibling without opening the schema.

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?

Provides strong routing guidance: U.S. coordinates go to NWS with alerts, everything else to MET Norway without alerts, and it explains that address resolution is U.S.-only ("non-U.S. place names are never resolved this way"). It also explains the unpaid-first workflow. It stops short of explicitly naming weather_preview as the free alternative, so it lacks a true when-not clause.

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