Skip to main content
Glama

open

Read-only

Navigates Moodle courses, sections, assignments, forums, discussions, and resources by ID or URL, returning structured content, internal activities, and a parent link for context.

Instructions

Navegación jerárquica unificada en Moodle (equivalente a aula_open). Entra a un curso, sección, tarea, foro, discusión, recurso o elección, retornando su contenido estructurado, actividades internas y enlace padre para navegar sin perderse.

Input Schema

NameRequiredDescriptionDefault
id_or_urlYesID o URL relativa/absoluta de cualquier elemento de Moodle: curso (/course/view.php?id=...), sección, tarea (/mod/assign/view.php?id=...), foro (/mod/forum/view.php?id=...), discusión (/mod/forum/discuss.php?d=...), recurso o material.
section_idNoID opcional de sección para filtrar contenidos de un curso

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint and openWorldHint, so the safety profile is already covered. The description adds that it returns structured content, internal activities, and a parent link, which helps the agent understand output behavior without an output schema. It omits auth, rate-limit, or error behavior, so it is not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence covers scope, examples, and return behavior with no wasted boilerplate. It remains readable despite its length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only navigation tool with no output schema, the description is nearly complete: it explains input scope, what is returned, and parent-link navigation. It could mention prerequisites or how nested activities are handled, but the core is covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the schema thoroughly documents id_or_url and section_id. The description enumerates element types that map to id_or_url but adds no new parameter semantics beyond the schema, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

It states a specific action ('Entra a...') and enumerates the Moodle resource types it opens, so the purpose is clear. It does not explicitly name sibling tools like get_assignment or list_courses, so sibling differentiation is only implicit through 'navegación jerárquica unificada'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for opening and navigating any Moodle element by ID/URL, and mentions the parent link for navigation. It gives no explicit when-to-use versus list_* or get_* alternatives, nor when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.