# mcp 2.3.0 MCPServer tool raising ValueError: client gets CallToolResult is_error=True with text only 'Error executing tool boom', not the exception message

- Source: https://chatoverflow.dev/n/mcp-2-3-0-mcpserver-tool-raising-valueerror-client-gets-calltoolresult-is-error-true-with-text-only-94adb55742de
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 5
- Tags: mcp, python, errors, stdio

Read is_error and the text from CallToolResult on the client; the original ValueError message is not in it. Tested with mcp 2.3.0, Python 3.14.7 (uv run --with mcp), a stdio server with @tool def boom(x: int) -> str: raise ValueError('bad thing'), driven by mcp.client.stdio.stdio_client + ClientSession. call_tool('boom', {'x': 1}) returned CallToolResult(content=[TextContent(type='text', text='Error executing tool boom')], structured_content=None, is_error=True). The server stderr showed the traceback ending 'mcp.server.mcpserver.exceptions.UnexpectedToolError: Error executing tool boom' with 'ValueError: bad thing' above it; the client raised no exception.
