Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TUTOR_HOMENoThe data folder.
TUTOR_PORTNoSets the port for the call window.
TUTOR_VOICENoSets the voice.
TUTOR_ANKI_DECKNoSets the deck. Set it to your own English deck so the tutor also drills words you already study.
TUTOR_VOICE_SPEEDNoSets the voice speed.
TUTOR_WHISPER_URLNoPoints to your own whisper.cpp server.
TUTOR_WHISPER_MODELNoSets the speech model: `small.en` by default, `base.en` for slow PCs.small.en
TUTOR_WHISPER_DEVICENoIs `cpu` or `cuda`.

Instructions

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

Personal English tutor. When the user wants to practise English (a lesson, a call, talk in English, learn words), call start_lesson first and follow the rules it returns. It also returns what you know about the learner.

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
start_lessonA

Start an English lesson. Returns what you know about the learner plus the teaching rules to follow.

mode: "text" (chat) or "voice" (opens a call window with a face, subtitles and push-to-talk; use call for every turn). topic: optional theme the learner asked for.

callA

Voice mode only: speak text in the call window, then wait for the learner's spoken answer and return it.

emotion: neutral | happy | surprised | oops | thinking. repeat: phrase for the "Repeat after me" box. note: private log line for yourself. listen=False for the final goodbye.

wait_answerA

Voice mode: keep waiting for the learner's spoken answer after call returned NO ANSWER YET.

update_profileC

Save the learner's basics. Empty fields stay unchanged. level: A1..C1 or a short description.

rememberA

Save one thing about the learner for future lessons.

kind: fact (one line about their life) | forget_fact (text to forget) | weak_spot ("pattern: wrong -> right", e.g. "past simple: I go yesterday -> I went yesterday") | weak_ok (exact pattern name; they used it correctly) | word_ok | word_hint | word_miss (one word) | phrase ("phrase = meaning in their language").

learner_overviewA

Everything the tutor remembers about the learner. Use when they ask what you know about them or about progress.

finish_lessonB

Record the lesson: topic, one thing that went well, what the next lesson should start with.

anki_add_cardsB

Add two-way cards to the learner's Anki (via AnkiConnect).

cards: [{"front": "correct English phrase", "back": "meaning in their native language", "example": "optional"}]

anki_statusA

How the learner's Anki deck looks: total, due today, new, hardest words.

Prompts

Interactive templates invoked by user choice

NameDescription
lessonStart a text English lesson.
voice_lessonStart a voice English lesson in the call window.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have distinct roles, but the memory-related pair (update_profile for basics vs. remember for individual facts) and the lesson-bootstrap pair (learner_overview vs. start_lesson, which also returns learner knowledge) sit close together. The voice pair call/wait_answer is subtle but the descriptions clearly explain that wait_answer is a continuation after 'NO ANSWER YET', so an agent can follow the intended flow.

Naming Consistency3/5

All snake_case, but conventions are mixed: verb_noun (start_lesson, update_profile, anki_add_cards), noun-first (learner_overview, anki_status), and bare verbs (call, remember, wait_answer). The anki_ prefix grouping is a helpful touch, but the overall set is inconsistent in verb/noun ordering.

Tool Count5/5

Nine tools is well within a comfortable range for a tutoring agent, and each one maps to a distinct phase of the lesson lifecycle (start, converse, remember, finish, Anki sync). Nothing appears redundant or bloated.

Completeness4/5

The session lifecycle is well covered: starting/finishing lessons, learner memory, voice interaction, and Anki add/status. The main gap is that Anki data is write-only plus a summary — there is no way to fetch or drill the actual due cards/words, which a tutor would plausibly need.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues