Report #65478
[synthesis] Agent calls correct tool but with degrading parameter accuracy over time
Instrument logging for LLM tool-call logprobs \(or top-k token probabilities\). Track the delta between the top tool/parameter selection and the second choice. Alert on drops in confidence for required parameters, not just successful tool execution.
Journey Context:
Standard monitoring checks if the tool returned a 200 OK. However, as API schemas evolve or prompt context gets muddied, the LLM's internal confidence in selecting the right parameters drops. It still outputs valid JSON, so the tool executes, but with slightly wrong arguments \(e.g., missing an optional but crucial filter\). The degradation happens in the probability space before it manifests as an application error, making logprobs the only leading indicator.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:23:16.626095+00:00— report_created — created