{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_execute",
"tool_input": {
"statement": "INSERT INTO content_config (type, name, slug, description, content, version, status, prompt_id, sort_order)\nSELECT \n 'critic',\n name,\n LOWER(REPLACE(REPLACE(name, ' ', '-'), 'ü', 'ue')),\n CONCAT('Kritiker für: ', SUBSTRING(JSON_UNQUOTE(JSON_EXTRACT(fokus, '$[0]')), 1, 80)),\n JSON_OBJECT('fokus', JSON_EXTRACT(fokus, '$')),\n '1.0',\n IF(is_active = 1, 'active', 'draft'),\n prompt_id,\n sort_order\nFROM critics",
"database": "ki_content"
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"denied\",\n \"affected_rows\": 0,\n \"error\": \"Statement type not allowed. Allowed: ALTER, CREATE, DROP, TRUNCATE, SET\",\n \"execution_ms\": 0.0\n}"
}
]
}