Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LEAP_LOCALENoLanguage of learner-facing text. Overrides the locale setting in config/default.yaml.zh-CN

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
create_sessionA

Create a learning session. learner_id is required (P0 is single-learner).

Domain-grounding switches are stored per session, not globally. When domain_grounding_warn_user is true the returned notice must be shown to the user before the grounding stage starts.

find_sessionA

Find existing sessions by learner and optionally topic.

Use this to recover a session id after a chat window is reopened.

get_session_infoB

Return session state, the latest goal, node count and the next lifecycle step.

save_learning_goalC

Persist the learning goal and its constraints (lifecycle Stage 1).

get_learning_goalA

Return the most recently saved learning goal for a session.

set_learning_configurationA

Apply a learner's requested learning mode (section 32).

Pass the learner's own words in request - e.g. "以项目实战为主", "我要准备考试", "只学核心内容,尽快学会". Recognised modes are project_based / exam_prep / core_only / balanced. Stored as session-level Learning Configuration + Policy Overrides; the program is never modified, and unrecognised requests are reported back.

get_learning_configurationA

Return the session's active learning mode, overrides and preferences.

generate_diagnosticB

Return a diagnostic blueprint.

Rejected by the State Guard until Domain Grounding is completed, unless the session was created with allow_skip_domain_grounding=true.

submit_diagnosticC

Record one diagnostic answer as a learner attempt.

get_diagnostic_resultC

Return the stored diagnostic summary plus every diagnostic attempt.

save_diagnostic_resultC

Persist the diagnostic summary and mark the diagnostic phase complete.

decompose_topicC

Return a DAG template. Node content is generated by the host agent's LLM.

save_knowledge_nodesC

Persist knowledge nodes. Each unit_tag must respect unit_concept_budget.

save_knowledge_edgesC

Persist knowledge edges. The DAG is validated first and rejected if invalid.

get_knowledge_nodesC

List knowledge nodes, optionally filtered by teaching unit.

get_knowledge_edgesB

List knowledge edges (prerequisite / support / extension / related).

validate_knowledge_dagB

Validate the stored DAG: cycles, dangling edges, self-loops, isolated nodes.

get_teaching_contextC

Return the full teaching context in one call to reduce round trips.

get_available_strategiesB

List the pedagogical strategies available to the policy engine.

get_available_actionsA

List the concrete teaching actions the host agent may execute.

get_plugin_infoA

Report which implementation backs each pluggable seam (section 35).

Covers state estimation, assessment aggregation, policy, review scheduling, storage and artifact storage.

evaluate_pedagogical_policyB

Evaluate the policy for the current state without persisting a decision.

commit_pedagogical_decisionB

Record the decision actually acted on, for later replay.

get_decision_logC

Read the pedagogical decision history for a session.

generate_assessmentC

Return an assessment blueprint with the rubric dimensions to score.

assess_responseA

Validate dimension scores and compute the weighted overall_score.

Does not persist anything. transfer and hint_dependency are excluded from the aggregate by design.

assess_misconceptionC

Record an active misconception in its authoritative table.

resolve_misconceptionB

Mark a misconception as resolved and refresh the cached snapshot.

get_mastery_statusC

Return the server-estimated learner knowledge state.

get_assessment_historyC

Return past assessment results, including the raw answer for audit.

generate_transfer_probeC

Return a transfer-probe blueprint (near / variation / far / integrated).

get_review_stateB

Return review items with current retrievability and due status.

schedule_reviewB

Create a review item for a node if one does not exist yet.

submit_reviewB

Submit an FSRS rating (1=Again, 2=Hard, 3=Good, 4=Easy) and reschedule.

get_due_reviewsB

List due review items.

A non-empty result does not block new learning globally - blocking is a per-node Policy + State Guard decision.

recalculate_review_scheduleC

Recompute retrievability for every review item of a learner.

start_unitC

Set the current teaching focus to a unit or node.

check_advance_unitB

Dry-run the State Guard for an advance request without changing state.

submit_attemptC

Record a learner attempt and return its attempt_id for assessment.

commit_assessmentB

Commit assessment evidence and update learner state server-side.

raw_answer and assessor_type are mandatory: the original learner response is stored for audit and never discarded. mastery_probability is computed by the runtime, not supplied by the caller.

advance_unitC

Request the next unit.

Every node sharing the unit_tag must pass its own node-level guard; one failure rejects the whole request. There is no unit table.

rollback_unitB

Move the teaching focus back to an earlier node.

record_transfer_resultC

Record a transfer probe result; transfer_type is near/variation/far/integrated.

record_reflectionC

Store a learner reflection as an artifact.

complete_sessionC

Set the session status (active/paused/completed/abandoned).

save_benchmark_reportB

Save the agent's domain grounding report and unlock diagnostics.

The full text is stored as an artifact of type agent_benchmark_report; structured claims go to benchmark_claims.

save_benchmark_claimC

Save one structured knowledge claim with its source and confidence.

get_evidenceC

Return grounding report metadata, claims and sources for a session.

validate_claimC

Check whether a claim is linked to a real evidence source.

record_source_conflictC

Record conflicting sources instead of silently choosing one.

save_artifactC

Save a learning artefact (HTML, Markdown, chart, code, report...).

get_artifactC

Fetch an artefact by id.

list_artifactsA

List artefacts for a session, optionally filtered by type.

get_obsidian_structureA

Return the static Obsidian vault specification.

Specification only - the runtime never reads or writes local vault files.

get_web_component_specA

Return the static web-component specification.

Specification only - the runtime never generates HTML or reads front-end sources.

export_session_dataC

Export the full session bundle as JSON, optionally to a file path.

generate_final_reportB

Generate the closing report, separating observed evidence from estimates.

get_learning_metricsC

Return the section 26.1 learning-outcome indicators.

Covers Immediate Performance, Delayed Retention, Transfer Performance, Time/Attempts to Target Evidence, Hint Dependency, Misconception Resolution, Confidence Calibration and Learning Gain.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 58 tools

Disambiguation3/5

Most tools target distinct resources and actions, but several pairs overlap: get_review_state and get_due_reviews both report due review items, and get_session_info and get_teaching_context both return session/teaching state. The descriptions help separate them, but with 58 tools an agent is still at risk of misselecting between closely grouped get/save/generate/submit operations.

Naming Consistency5/5

Tool names follow a highly consistent snake_case verb_noun pattern throughout: get_session_info, save_knowledge_nodes, submit_diagnostic, commit_assessment, advance_unit, record_reflection. Despite the large number of tools, the naming convention is uniform and predictable, making the surface easier to navigate.

Tool Count2/5

With 58 tools, the surface is far beyond the 3-15 range that typically indicates a well-scoped server. Many operations could be consolidated (e.g. get_review_state/get_due_reviews, save/get pairs), and the sheer count will burden the agent's tool-selection step even if each tool is individually useful.

Completeness5/5

The tool set covers the full learning lifecycle: session creation, goals, configuration, domain grounding, diagnostics, knowledge graph management, teaching, assessment, review scheduling, misconception tracking, transfer probes, artifacts, evidence, export, and final reporting. There are no obvious dead ends or missing core operations for the apparent domain.

Maintenance

ActivityMaintained
ResponsivenessNo issues