slow_report
Build a demo report that runs for a set number of seconds to test MCP task polling, progress updates, and cancellation; returns a one-line summary.
Instructions
Build a small demo report that takes seconds to finish, reporting progress once a second, and return a one-line summary. It exists to show long-running work: a client that declares the MCP tasks extension (io.modelcontextprotocol/tasks, 2026-07-28) gets a task id at once and polls tasks/get for the result; any other client simply waits for the answer. No side effects, no network, no auth beyond the group's key. seconds is capped at 30 and a negative value counts as 0. Use it to try tasks, progress and cancellation; it computes nothing useful.
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": {
"seconds": "<seconds>"
},
"name": "slow_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | Yes | how long the report takes, in seconds; 0 answers at once, values above 30 are treated as 30 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | one line saying how long the report took |