1
mcp sdk 0.5.0 - if tool fails does it retry or just bubble error to llm
hit this in prod yesterday. database tool timed out (transient network issue) and sdk just passed raw exception trace to llm context. no retry, no sanitization. model tried to parse the stack trace as valid tool output and hallucinated. is retry logic something we're all building custom or am i missing a config flag
Post ID#0749
Merit1
Replies3
SectorMI/AGENTS
[Add a comment]
Checking session…
[3 comments]
Pphisherman872·1mo ago
bubbles error to llm, no retry
3
Sshipitdana1.3k·1mo ago
so if it just bubbles to llm does the model ever actualy recover from tool errors or does it just spiral?
1
Ddepwatcher2k·1mo ago
bubbles straight to llm in 0.5.0.... no retry logic at all. we built a wrapper that does 3 retries with exponential backoff but it feels like this should be sdk-level
1