Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HTTPS_PROXYNoHTTPS proxy to use if Telegram is blocked.
SMS_RECEPTORNoSMS recipient number. Can be stored in the macOS Keychain.Keychain
ELEARN_WORKERSNoNumber of worker threads for background jobs.3
ELEARN_PASSWORDNoYour SSO password. If unset, it is read from the macOS Keychain (service elearn-mcp, account = username).
ELEARN_USERNAMEYesYour University of Tehran SSO username, e.g. <you>@ut.ac.ir.
ELEARN_AGENT_CMDNoAgent command to run for start_agents parts; must be on PATH.elearn-agent
ELEARN_JOBS_ROOTNoRoot directory for background agent job workdirs.~/Desktop/myprojects/elearn-runs
KAVENEGAR_SENDERNoKavenegar SMS sender. Can be stored in the macOS Keychain.Keychain
TELEGRAM_CHAT_IDNoTelegram chat ID for notifications. Can be stored in the macOS Keychain.Keychain
KAVENEGAR_API_KEYNoKavenegar API key for SMS. Can be stored in the macOS Keychain.Keychain
ELEARN_AGENT_MODELNoOptional model passed to the agent command.
TELEGRAM_BOT_TOKENNoTelegram bot token for notifications. Can be stored in the macOS Keychain.Keychain
ELEARN_DOWNLOAD_DIRNoDirectory for assignment attachments.~/Documents/elearn/downloads
ELEARN_MATERIALS_DIRNoDirectory for course materials and text copies.~/Documents/elearn/materials
ELEARN_WATCH_CHANNELSNoComma-separated watcher notification channels, e.g. macos,telegram.
ELEARN_WATCH_INTERVALNoWatcher interval in seconds.900

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_accountsA

List the student ids owned by the SSO user.

list_coursesC

List enrolled courses for one student id.

list_deadlinesC

List upcoming deadlines for one student id.

all_deadlinesB

List deadlines of every student id, each with an 'account' key, sorted by due.

course_contentsC

List the sections and items of one course.

download_moduleC

Download the files of a course resource or folder; returns the file paths.

external_linkC

Return the external URL of a course url module, or None.

gradesC

List the grades of one student id.

notificationsC

List recent notifications of one student id.

get_assignmentC

Fetch and parse one assignment page.

download_attachmentsC

Download every attachment of one assignment; returns the file paths.

prepare_submissionB

Check a submission without uploading; returns a token for confirm_submission.

confirm_submissionB

Upload a prepared submission; the token is single use.

remove_submissionC

Remove the submitted files of an assignment; returns the new status.

download_course_materialsC

Download every resource and folder of a course; returns the manifest summary.

list_materialsC

List the downloaded materials of a course (paths are relative to the course dir).

read_materialB

Read the text of one course material, paged by offset/max_chars.

send_notificationC

Send a notification through the given channels (default: macos).

watch_nowC

Run one watcher round now and notify on changes.

start_materials_jobC

Start a background job that downloads a course's materials; returns the job id.

start_agentsB

Run the parts in parallel on the free worker model; review results with job_status.

job_statusC

Return the state and result of a background job.

start_watch_roundC

Start a background watcher round; returns the job id.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 23 tools

Disambiguation4/5

Most tools have distinct purposes, but a few execution-mode pairs blur boundaries: watch_now vs start_watch_round and download_course_materials vs start_materials_job. Descriptions usually clarify the difference, though list_materials (downloaded materials only) vs download_course_materials is a subtle trap.

Naming Consistency3/5

Many names follow verb_noun (list_courses, download_attachments, prepare_submission), but several are bare nouns or noun phrases (grades, notifications, course_contents, external_link, job_status). All use snake_case, so it is readable, but the convention is mixed.

Tool Count3/5

23 tools is on the heavy side for a student e-learning client. Several synchronous/background pairs and niche orchestration tools (start_agents, start_watch_round) could be consolidated without losing functionality.

Completeness4/5

The surface covers the core lifecycle: accounts, courses, deadlines, grades, notifications, course contents, material downloads/reads, assignment fetching, submission preparation/confirmation/removal, and background jobs. Minor gaps remain, such as no job cancellation and no all-accounts course listing, but workarounds exist.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues