Skip to main content
Glama

loadcontext

Retrieve structured academic details for courses, assignments, exams, and concepts. Track deadlines, study resources, and progress to plan effectively and stay organized.

Instructions

A powerful tool for retrieving comprehensive, structured information about specific educational entities, providing context-rich details tailored to academic needs.

When to use this tool:

  • Retrieving detailed information about courses, assignments, exams, and academic concepts

  • Exploring course materials, lecture schedules, and assignment deadlines

  • Preparing for upcoming exams by identifying key concepts and resources

  • Tracking assignment status and due dates

  • Understanding relationships between academic concepts

  • Examining course structures and learning resources

  • Planning study sessions around specific courses or topics

  • Reviewing term schedules and upcoming deadlines

  • Organizing academic resources by courses and concepts

  • Establishing context for effective learning and study planning

  • Viewing entity status information (not_started, in_progress, complete)

  • Checking priority levels for assignments and tasks

  • Understanding sequential relationships between academic entities

Key features:

  • Provides richly formatted, context-aware information about educational entities

  • Adapts output format based on entity type (course, assignment, exam, concept, term)

  • Presents both direct entity information and related academic elements

  • Shows time-sensitive information like due dates and exam schedules

  • Tracks loaded entities within the current session for continuity

  • Formats information in a clean, readable markdown structure

  • Automatically identifies relationships between academic entities

  • Displays status information via has_status relations

  • Shows priority levels via has_priority relations

  • Presents sequential relationships through follows relations

  • Highlights status of assignments and upcoming deadlines

  • Shows progress metrics for courses and assignment completion

Parameters explained:

  1. entityName: Required - The name of the entity to retrieve context for

  • Example: "Introduction to Computer Science", "Midterm Paper", "Binary Trees"

  1. entityType: Optional - The type of entity being retrieved

  • Default: "course"

  • Accepts values from valid entity types for the student domain

  • Helps the system format the output appropriately

  1. sessionId: Optional - The current session identifier

  • Typically provided by startsession

  • Used for tracking entity views within the session

Each entity type returns specialized context information:

  • Course: Shows code, status (via has_status), schedule, location, description, professor information, lectures, assignments (with status and priority), exams, key concepts, and resources

  • Assignment: Displays course, status (not_started, in_progress, complete), priority (low, high), due date, points, time remaining, instructions, related concepts, helpful resources, and your notes

  • Exam: Shows course, date, time remaining, location, format, duration, concepts to study, key lectures, and study resources

  • Concept: Displays difficulty level, description, related concepts (including sequential relationships), courses covering this concept, and learning resources

  • Term: Shows start date, end date, status, courses for the term (with completion percentages), and upcoming deadlines

  • Other Entity Types: Shows observations and both incoming and outgoing relationships within the knowledge graph

Status and Priority:

  • All entities include status values (not_started, in_progress, complete) retrieved via has_status relations

  • Relevant entities include priority values (low, high) retrieved via has_priority relations

  • Status information is used to calculate completion percentages and filter assignments

  • Priority information helps identify important tasks and assignments

Sequential Relationships:

  • Related entities may have follows relationships indicating recommended sequence

  • Course view shows sequenced lectures and assignments

  • Concept view shows prerequisite relationships between concepts

Return information:

  • Formatted markdown text with hierarchical structure

  • Sections adapted to the specific entity type

  • Related entities shown with their status, priority, and descriptions

  • Error messages if the entity doesn't exist or can't be retrieved

You should:

  • Specify the exact entity name for accurate retrieval

  • Provide the entity type when possible for optimally formatted results

  • Start with course entities to get a high-level overview of academic materials

  • Use assignment context to track deadlines and submission status

  • Prepare for exams by examining exam context for study resources

  • Explore concept context to understand relationships between academic topics

  • Review term context to plan your academic schedule

  • Pay attention to status values to identify incomplete assignments

  • Consider priority information when planning your study schedule

  • Follow sequential relationships to create effective learning paths

  • After retrieving context, follow up on specific entities of interest

  • Use in conjunction with startsession to maintain session tracking

  • Combine with endsession to document your learning progress

  • Remember that this tool only retrieves existing information; use buildcontext to add new entities

Input Schema

NameRequiredDescriptionDefault
entityNameYes
entityTypeNoType of entity to load, defaults to 'course'
sessionIdNoSession ID from startsession to track context loading

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "entityName": { "type": "string" }, "entityType": { "description": "Type of entity to load, defaults to 'course'", "enum": [ "course", "assignment", "exam", "concept", "resource", "note", "lecture", "project", "question", "term", "goal", "professor", "status", "priority" ], "type": "string" }, "sessionId": { "description": "Session ID from startsession to track context loading", "type": "string" } }, "required": [ "entityName" ], "type": "object" }

Other Tools from Student MCP Server

Related Tools

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/tejpalvirk/student'

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