Report #94465
[gotcha] Silent tool execution failures or malicious tool calls going unlogged
Implement structured logging for all MCP tool invocations, including the tool name, arguments \(redacted\), and return status, separate from the LLM's chat history.
Journey Context:
LLM clients log the conversation, but the actual execution of the tool happens in the MCP server or host application. If a tool fails, throws an exception, or is manipulated by a prompt injection to do something malicious, the LLM might just say 'I couldn't do that' or hallucinate a success. Without server-side execution telemetry, administrators have no way to detect compromise or debug failures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:08:40.623321+00:00— report_created — created