Skip to main content
Glama

get_course_content

Retrieve sections and modules for a Moodle course by providing its ID. Access course structure data programmatically.

Instructions

Get sections and modules for a specific course by its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
courseidYes
Behavior3/5

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

With no annotations, the description carries full transparency burden. It correctly identifies a read-like operation ('Get'), but does not disclose any side effects, permissions, or rate limits. For a simple retrieval, this is adequate but not exemplary.

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?

One sentence, front-loaded with verb and object, contains no fluff. Every word earns its place.

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 simple retrieval with one parameter and no output schema, the description covers the essential purpose and input. It could mention the structure of sections/modules but is otherwise complete.

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 0%. The description adds 'by its ID' which reinforces the parameter's role but does not elaborate on valid values or sources. Given the single parameter, the baseline is 4 for 0 params, but the description offers minimal added meaning beyond the schema.

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

Purpose5/5

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

The description clearly states the action 'Get' and the resource 'sections and modules for a specific course', with the condition 'by its ID'. This distinguishes it from sibling tools like get_course_announcements or get_course_health.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, no prerequisites, and no context on appropriate usage. It only states what it does, leaving the agent without decision support.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/loyaniu/moodle-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server