Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MOODLE_URLYesThe base URL of the Moodle site.
MOODLE_PASSNoThe password for the Moodle account.
MOODLE_USERYesThe username for the Moodle account.
MOODLE_TOKENNoA webservice token for authentication.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
moodle_setupA

Universal setup schema + auth status for any Moodle school. Call first when unauthenticated. Never invent username formats.

moodle_probeA

Check if a Moodle base URL is reachable and Mobile token login looks available. No credentials required.

moodle_configA

Show moodle-agent config path and site profiles (token redacted).

moodle_whoamiC

Verify saved Moodle token and return current user/site info.

moodle_initA

Log in to ANY Moodle site and save webservice token (password is not stored). Username format is school-specific — pass exactly what the user uses on the portal. Prefer token if available. Password goes only via env to the child process.

moodle_courses_listB

List enrolled Moodle courses (id, shortname, fullname).

moodle_course_treeA

Show sections and modules (with file counts) for one course id.

moodle_course_downloadA

Full download of one course into --out (or config out_dir). force=true re-downloads even if size matches. Can take several minutes.

moodle_course_syncA

Incremental sync one course (skip unchanged files by size). Use this to repair incomplete downloads.

moodle_sync_allC

Sync all enrolled courses. Long-running.

moodle_wiki_scaffoldA

Create/update _wiki stubs for a downloaded course (by path or course_id).

moodle_wiki_statusC

Show ready vs pending wiki cards for a local course.

moodle_wiki_rebuild_indexB

Rebuild _wiki/INDEX.md from filled card frontmatter.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/stojandev/moodle-downloader-mcp'

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