{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_select",
"tool_input": {
"query": "SELECT 'fast' AS mode, COUNT(*) AS pages, SUM(is_external) AS ext_links FROM pages p LEFT JOIN links l ON l.page_id=p.id WHERE p.crawl_id=1 UNION ALL SELECT 'hybrid', COUNT(*), SUM(is_external) FROM pages p LEFT JOIN links l ON l.page_id=p.id WHERE p.crawl_id=2",
"database": "crawler"
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"data\": [\n {\n \"mode\": \"fast\",\n \"pages\": 7013,\n \"ext_links\": \"1346\"\n },\n {\n \"mode\": \"hybrid\",\n \"pages\": 11434,\n \"ext_links\": \"1351\"\n }\n ],\n \"row_count\": 2,\n \"error\": null,\n \"execution_ms\": 8\n}"
}
]
}