I might have to emit that the SQL approach might be the best way atm. (based on deeper investigating a similar plugin solution & linkedin discussion)
Maybe as an improvement UMH could provide LLM integration or provide suggestions to optimize context towards an external LLM
(what table structure, query optimizations,... would you ask ChatGPT/claude/... for optimal results?)