Trying to get an idea of how this is used.
AQL stands for Agentic Query Layer.
AQL lets an AI agent ask questions about real system data through approved tools instead of direct database access.
A Moodle MCP server is the connector that makes selected Moodle actions available to an AI client through MCP.
The roles are:
- Moodle stores the course, user, enrollment, grade, and activity data.
- MCP lets an AI client discover and call approved tools.
- Our Moodle MCP server exposes selected Moodle API actions as MCP tools.
- AQL is the broader layer for controlled AI queries across Moodle and, later, other systems.
For example, someone could ask:
Which learners in this course are active but falling behind?
AQL routes the question through our Moodle MCP server, uses approved Moodle data, and returns structured information the AI can summarize.
The AI never gets direct database access, and it never gets a chance to edit LMS data unless an approved write tool is explicitly built and enabled.
Short version: AQL is the query layer. Our Moodle MCP server is the first connector.