Sample queries
Contents
Use these HogQL queries after you install the SDK and capture $mcp_tool_call events. See the event reference for property definitions.


Top tools per server
Error rate per tool
P95 latency per tool
Intent samples split by source
How much of your traffic is supplying explicit context vs falling back to your intentFallback callback?
Active sessions per client
Conversation IDs are on by default, but clients must echo the handle to group calls across requests. Clients that ignore it can inflate the session count.
Advertised tools that never get called
This query finds tools in tools/list responses that agents never called.
Unmet user requests (requires reportMissing: true)
What were users trying to do that your tools couldn't satisfy?
Tool call volume by client and tool, daily
Use this query to show daily call volume on a dashboard.