qm_data_weather
Fetches current weather and a 7-day forecast for any latitude/longitude, enabling trip planning and location-aware event scheduling. Requires paid x402 access via the two-call payment flow.
Instructions
Current weather plus a 7-day forecast for a latitude/longitude — trip planning, event scheduling, or any location-aware task. Give coordinates; qm_data_geocode translates place names. Price: $0.01 USDC on Base via x402 (the live 402 challenge is authoritative). Two-phase: call without 'payment' to get the live payment requirements (payTo, amount, accepted networks); pay from your own wallet, then re-call with 'payment' set to the base64-encoded x402 payload — the data comes back in the tool result. This tool never pays, never touches private keys, and never holds funds. Resale permitted: you may resell this data output at your own price.
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": "qm_data_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude (-90 to 90). | |
| lon | Yes | Longitude (-180 to 180). | |
| payment | No | Base64-encoded x402 v1 payment payload (the signed ExactEvmPayload JSON). Omit on the first call to receive the payment requirements; sign in your own wallet / x402 client, then re-call with this set. The server only forwards it to the rail — it never signs, never holds funds, never touches private keys. |