EIA diesel fuel surcharge
get_fuel_surcharge[Truck fuel: EIA diesel surcharge] U.S. EIA weekly on-highway diesel for the U.S. or a PADD (default Rocky Mountain, PADD 4): price per gallon, week-over-week change, and per-mile surcharge max(0, current - base) / mpg, plus the EIA release date. Public weekly page, no API key. Cached until the next Monday/Tuesday release. Source: U.S. EIA. ?padd=4&base=5.5&mpg=6. $0.005 USDC. Paid: $0.005 USDC on Base, paid in-band via x402 MCP (@x402/mcp; _meta "x402/payment"). Also at GET https://micro-saas-agent.onrender.com/api/truck/fuel-surcharge.
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": {
"base": "<base>",
"mpg": "<mpg>"
},
"name": "get_fuel_surcharge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mpg | Yes | ||
| base | Yes | ||
| padd | No | ||
| pass | No | Optional GW8 day pass token (from buy_day_pass / POST /api/pass/day); skips per-call payment |