{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_select",
"tool_input": {
"query": "SELECT COUNT(*) AS total, SUM(CASE WHEN meta_description IS NULL THEN 1 ELSE 0 END) AS missing_desc, SUM(CASE WHEN meta_description_length < 70 AND meta_description IS NOT NULL THEN 1 ELSE 0 END) AS desc_too_short, SUM(CASE WHEN meta_description_length > 160 THEN 1 ELSE 0 END) AS desc_too_long FROM pages WHERE crawl_id=4 AND http_status=200",
"database": "crawler"
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"data\": [\n {\n \"total\": 220,\n \"missing_desc\": \"138\",\n \"desc_too_short\": \"0\",\n \"desc_too_long\": \"20\"\n }\n ],\n \"row_count\": 1,\n \"error\": null,\n \"execution_ms\": 0\n}"
}
]
}