Description
We are running a remote MCP server and we are seeing errors like:
mcp.server.fastmcp.exceptions.ToolError: Unknown tool: <unknown-tool-name>
I'm unsure why our users are trying to call our remote MCP server with the name of a tool that we don't manage. Regardless, we would like to handle these errors separately from a generic ToolError. For instance:
ToolNotFoundError: user error that shouldn't alert us.
ToolError: an error that could indicate an actual issue with our system that we should alert on and fix.
References
I couldn't find any issues related to this.
Description
We are running a remote MCP server and we are seeing errors like:
I'm unsure why our users are trying to call our remote MCP server with the name of a tool that we don't manage. Regardless, we would like to handle these errors separately from a generic
ToolError. For instance:ToolNotFoundError: user error that shouldn't alert us.ToolError: an error that could indicate an actual issue with our system that we should alert on and fix.References
I couldn't find any issues related to this.