IBM Granite Forecast ($0.05)
ibm_granite_forecastForecast numeric time series zero-shot from timestamped values and a cadence to return future horizon predictions without training.
Instructions
Zero-shot time-series forecasting via IBM Granite TTM (Tiny Time Mixer). Provide a numeric series with ISO-8601 timestamps and a cadence, receive the forecast horizon. No training required. Suitable for revenue, traffic, sensor, energy, and financial series. Use this to project a numeric series of at least 64 timestamped points forward; it returns numbers only, so pass the result to ibm_granite_analyze if you need commentary. No IBM Cloud account required — pay $0.05 USDC per call via x402.
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": {
"timestamps": "<timestamps>",
"values": "<values>",
"freq": "<freq>"
},
"name": "ibm_granite_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| freq | Yes | Cadence of the series as a pandas-style frequency string. Examples: 1min, 5min, 15min, 30min, 1h, 2h, 4h, 12h, 1D, 1W, 1ME. | |
| label | No | Human label for the series (e.g. "daily_revenue_usd"). Returned in output for traceability. | |
| values | Yes | Numeric series aligned to timestamps, oldest to newest. Must be the same length as timestamps. | |
| timestamps | Yes | ISO-8601 timestamps at a uniform cadence, oldest to newest (e.g. ["2025-01-01T00:00:00Z", ...]). | |
| prediction_length | No | Number of steps to forecast ahead. Defaults to the model horizon (typically 96 for 1h data). |