Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MOODLE_HOMENoOverride the directory where the token cache is stored (default is ~/.kntu-moodle-mcp/tokens.json).
MOODLE_LANGNoLanguage setting.
MOODLE_TOOLSNoTool allowlist.
MOODLE_READ_ONLYNoRead-only mode setting.
MOODLE_SECRETS_FILENoPath to the secrets.yaml file used for signing in (e.g. secrets.yaml).

Instructions

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

Tools for the KNTU Moodle (mdl.kntu.net.ua), acting as the signed-in student. If a tool returns AUTH_REQUIRED, use the moodle:login skill (auth_status / login). Content is mostly in Ukrainian.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
auth_statusA

Check whether the server is signed in to the KNTU Moodle (mdl.kntu.net.ua) and whether the token still works. Call this first when unsure; it never fails. If signedIn is false, follow the returned instructions to sign in.

loginA

Sign the user in to the KNTU Moodle with the credentials stored in secrets.yaml (read by the server; the password never appears in arguments or output). Takes no arguments: never pass or ask for a password. Errors: CREDENTIALS_MISSING (secrets.yaml not set up), INVALID_LOGIN (wrong credentials, do not retry).

logoutA

Forget the stored Moodle token on this computer and stop automatic re-login until login is called again. Only use when the user asks to sign out.

whoamiA

Get the signed-in student's profile and site details: full name, username, user id, site name, language, Moodle release, and how many web-service functions the token may call.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation4/5

Each tool has a distinct role: auth_status checks token validity, login/logout manage the session, and whoami returns profile data. auth_status and whoami overlap slightly since both reveal sign-in state, but the descriptions make the boundary clear (status check vs. full profile).

Naming Consistency3/5

Names mix conventions: `auth_status` is a namespaced snake_case identifier, `login`/`logout` are bare verbs, and `whoami` is a Unix-ism with no verb_noun structure. The set is still readable and each name is intuitive, but there is no predictable pattern an agent can extrapolate.

Tool Count3/5

Four tools is thin for a server branded as a full Moodle integration, though it is reasonable if the scope is deliberately auth-only. No tool feels redundant, so the count is borderline rather than excessive or trivial.

Completeness2/5

The auth lifecycle (status, login, logout, identity) is fully covered with no dead ends, but the Moodle domain itself is untouched — no course listing, assignments, grades, deadlines, or content access. An agent asked to do anything academic with Moodle would immediately fail.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues