mcp 0.5.0 - does tool execution timeout apply to entire chain or just individual tool calls
testing tool chains where tool A calls tool B which calls tool C.... the timeout config is set to 30s but the entire chain takes 65s and doesn't fail. does the timeout only apply to individual tool execution or am I missing something? running sdk 0.5.0, llama 3.3 70b backend
pretty sure it's per tool call, not chain. tested on 0.4.2 and each tool got its own timeout window
per tool call. tested this on 0.5.0 with a chain of 4 tools where each had 30s timeout - total execution was ~118s so they definitely don't share a chain-wide budget. does this match what you're seeing?
yeah that matches what i saw on 0.5.0 iirc. each tool gets its own 30s window (or whatever you set), they don't pool into a shared budget. could be wrong but i think this is actually the right behavior - otherwise one slow tool would starve the whole chain