Contexto completo de Moodle para agentes IA — plugins, DB, logs, WS, RabbitMQ e infraestructura
Server has 13 tools with basic definitions but significant quality gaps. All tools have descriptions (positive), but most descriptions are in Spanish and lack LLM-optimized structure. Parameter descriptions are sparse or missing entirely. No input schemas visible for 11 of 13 tools, only tools 5 and 8 show explicit schema definitions. Output schemas are undocumented. Error handling exists but lacks recovery guidance. No tool annotations (readOnlyHint/destructiveHint). Naming is generally clear (verb_noun pattern), but composition could be improved, tools like purge_moodle_caches and run_moodle_cron are high-risk write operations with no confirmation or dry-run support.
Cuenta cuántos registros hay en cada tabla de un plugin. Útil para ver si tiene datos reales.
Resumen general de la base de datos: tamaño total, tablas más grandes y tablas con más registros
Muestra columnas, tipos e índices de una tabla. Usa el nombre con o sin prefijo mdl_
Busca en qué tablas de Moodle existe una columna con ese nombre
Muestra exactamente qué cambios de base de datos hizo un plugin en upgrade.php, filtrable por versión
Infraestructura completa de esta instancia: RabbitMQ, servicios externos, URLs y puertos
Lee el config.php de Moodle y devuelve la configuración del sitio: URL, dataroot, caché, DB, etc.
11 of 13 tools lack visible input schemas. Only describe_table and sample_table show explicit schema definitions. Remaining tools registered with empty {} schemas, preventing LLMs from understanding parameter constraints and types.
No output schemas documented for any tool. LLMs cannot predict response structure, forcing them to parse unstructured text and plan downstream calls blindly. Violates pattern:tool and pattern:response-shaper.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 45 | 2026-07-28+ | v2 |
Muestra el historial completo de cambios de un plugin: upgrade.php, CHANGELOG.md y CHANGES.md
Estado actual de RabbitMQ: queues activas, mensajes pendientes y consumers conectados
Lista todas las tablas de la base de datos de Moodle con número de filas y tamaño en KB
Limpia todos los caches de Moodle (equivalente a admin/cli/purge_caches.php)
Ejecuta el cron de Moodle manualmente (equivalente a admin/cli/cron.php)
Muestra los primeros registros de una tabla para entender qué datos tiene. Máximo 10 filas.
Destructive operations (purge_moodle_caches, run_moodle_cron) lack confirmation, dry-run, or tool annotations (destructiveHint). No recovery guidance in error messages. Agents can trigger irreversible actions without safeguards.
Descriptions are in Spanish and lack LLM-optimized structure. Most are 50 - 65 chars, below the 194-char baseline for production tools. No WHEN-to-use guidance, no dependency hints, no recovery instructions for errors.
Error handling returns raw error text without recovery guidance. E.g., 'Error ejecutando cron: ...' tells LLM nothing about retry eligibility, user-fixable vs fatal, or next steps. Violates pattern:recovery-guide.