callManyTool
Run up to 50 independent tool calls across servers in one bounded parallel batch, returning results in input order and preserving partial results on failures.
Instructions
Runs up to 50 tool calls in one bounded fan-out (8 concurrent) and returns results in input order. Use it when several calls are independent - across servers or within one - and you want one round trip instead of N. Each item is {server, tool, arguments}; server and tool names are the ones readToolFile shows. A failed item returns ok=false with its error and never cancels its siblings, so a partial result is still usable. Do NOT use it when one call depends on another call's result: write an executeTool script for that. BUDGET: optional timeout in seconds caps the whole batch; omitted uses MCP_GWAY_EXEC_TIMEOUT, then 120s. Unfinished calls return ok=false with error.type=TimeoutError.
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": {
"calls": "<calls>"
},
"name": "callManyTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | Yes | Independent tool calls to run in parallel. Results come back in this order. | |
| timeout | No | Wall-clock budget in seconds (float) for the whole batch. Omit to use MCP_GWAY_EXEC_TIMEOUT, then the 120s default. Finished calls keep their results; unfinished calls return ok=false with error.type=TimeoutError. |