MCP Server for EduChain Assignment - exposes educational tools that generate multiple-choice questions, lesson plans, and flashcards
The server presents three read-only educational tools with basic parameter definitions. However, critical quality issues undermine production readiness: (1) All three tool names lack strong action verbs and are overly generic for their domain ('generate_mcq', 'generate_lesson_plan', 'generate_flashcards' do not clearly distinguish these tools from similar educational content generators). (2) Tool descriptions are present but superficial (30-60 characters), lacking WHEN to use, WHY to select this tool over alternatives, and WHAT data structure is returned. (3) Input schemas are visible and properly typed, but parameter descriptions are minimal (10-30 characters) and lack context about valid inputs, format constraints, or dependencies. (4) Output schemas are completely absent from the provided code, no documentation of what 'generate_mcq' actually returns beyond the mock implementation showing a list of question objects. (5) The educhain_tools.py implementation is incomplete (code is truncated), making it impossible to verify actual error handling, validation, or response structure. (6) No security considerations are documented despite these tools potentially calling external LLM APIs. (7) Parameter defaults are present (num: 5, level: 'Beginner') but not documented in schema, forcing agents to guess at default behavior.
Generates flashcards for studying a topic at a specified difficulty level
Generates a lesson plan for a given topic including objectives, outline, and activities
Generates multiple-choice questions on a given topic at a specified difficulty level
Missing output schema documentation. The provided code snippet is truncated at 'return { "too' and the actual response structure is not documented. LLMs cannot infer what fields to expect from generated content (e.g., does generate_mcq return {questions: [...]}, or {results: {...}, metadata: {...}}?). This violates the pattern requirement that tools document return types.
Weak tool naming. 'generate_mcq', 'generate_lesson_plan', and 'generate_flashcards' are generic verb_noun pairs but lack specificity for an educational domain. They do not distinguish themselves from competing tools: is this generating from scratch, retrieving pre-made content, or adapting existing material? Better names would be 'create_quiz_questions', 'create_instruction_plan', 'create_study_cards', or domain-specific prefixes like 'edu_generate_*' to signal educational context.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 32 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 25 | - | v1 |
Insufficient tool descriptions. All three descriptions are 30 - 60 characters, below the 10 - 1024 character recommended range and far below the production baseline of ~194 chars. Descriptions lack: (1) WHEN to use (vs. searching for existing material or using a template). (2) What data is returned and in what format. (3) Any mention of content quality, accuracy, or dependency on external LLM providers. Example: 'Generates multiple-choice questions on a given topic at a specified difficulty level' does not explain whether this is cached, real-time, or hallucinated content.
Parameter descriptions are trivial or missing context. The 'level' parameter is described as 'Difficulty level (e.g., \"Beginner\")', this includes an example value, which violates the guideline that examples should not be in descriptions; they should be enum constraints instead. Valid values (Beginner, Intermediate, Advanced?) are not enumerated. The 'topic' parameter lacks constraints on format or length. The 'num' parameter lacks min/max bounds (is 1000 valid? 0?). No parameter describes what happens if invalid input is passed.
No enumeration constraints on 'level' parameter. Free-form string input invites hallucinated or invalid values from LLMs (e.g., 'super hard', 'level 5', 'PhD'). The parameter should declare an enum: ['Beginner', 'Intermediate', 'Advanced'] or similar. Current schema shows type 'string' with no enum field, forcing agents to guess valid values.
No error handling guidance documented. The tools are read-only (no state mutation), but what if the LLM provider (EduChain) fails? What if the topic is too obscure or the request times out? The code and documentation provide no error recovery hints, categorization, or actionable guidance. An agent encountering a failure has no guidance on whether to retry, ask the user, or fall back to an alternative.
Missing parameter defaults documentation. The code shows num defaults to 5, and level defaults to 'Beginner', but these are not reflected in the schema description. Agents must infer behavior by reading implementation code, not schema metadata. Document defaults in the parameter descriptions or JSON schema 'default' fields.
Truncated source code prevents full evaluation. The educhain_tools.py file is cut off mid-return statement ('return { "too...'). The actual response structure is unknown. Without seeing the complete implementation, it is impossible to verify whether outputs include required chaining IDs, match promised descriptions, or handle edge cases. This forces scoring based on incomplete evidence.