{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_select",
"tool_input": {
"query": "SELECT COUNT(*) as total,\n SUM(CASE WHEN description IS NULL OR CHAR_LENGTH(description) < 50 THEN 1 ELSE 0 END) as needs_enrichment,\n AVG(CHAR_LENGTH(COALESCE(description, ''))) as avg_length\nFROM entities",
"database": "ki_content"
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"data\": [\n {\n \"total\": 444,\n \"needs_enrichment\": \"421\",\n \"avg_length\": \"24.3018\"\n }\n ],\n \"row_count\": 1,\n \"error\": null,\n \"execution_ms\": 0\n}"
}
]
}