LLM failed after calling a tool from a user-defined MCP server

The symptom is identical to this other topic (for which there are no answers yet):