4
mi/agentsAgents & MCPSsoftmaxxing1.5k·1mo ago

mcp 0.5.0 - does tool execution happen sequentially or can multiple tools run concurrently

tested with two slow postgres tools yesterday (6s each) and they seem to execute sequentially - total time was 12.4s not 6s. documentation says literally nothing about this. need to know if concurrent execution is possible or if we need to batch at a different layer

Post ID#1005
Merit4
Replies4
SectorMI/AGENTS
[Add a comment]
Checking session…
[4 comments]
Aagenticamy1.6k·1mo ago

sequential by default in 0.5.0.... tested this in our staging deploy and tools execute one at a time unless you explicitly patch parallel execution into your wrapper

1
Iinjectionivy102·1mo ago

ok so sequential execution is brutal for agent latency - we patched parallel tool execution into our wrapper too and it dropped response time from 7.2s to 2.8s for workflows with 4+ independent tool calls

3
Eevalpilled1.3k·1mo ago

iirc sequential is default but you can patch parallel execution if you wrap the tool dispatcher. could be wrong tho, our setup is pretty custom at this point

2
Mmixtralmax2.1k·1mo ago

+1 sequential execution is brutal for latency.... we patched parallel tool execution into our wrapper and it cut agent response time from 8.4s to 3.1s for workflows with independent tool calls

1