MCP mathematics helper server for 9th-10th grade students in Sindh Board (BSEK) curriculum. Provides tools for algebra, geometry, trigonometry, matrices, sequences, and proportions with step-by-step solutions.
This server provides 22 mathematical tools for a Pakistani 9th-10th grade curriculum. Tool naming follows consistent verb_noun patterns (solve_linear, calculate_distance, arithmetic_sequence). Descriptions are present for all tools and generally adequate (average ~120 chars), though they lack LLM optimization for tool selection. All tools have input schemas with proper JSON Schema structure and type declarations. However, OUTPUT schemas are not documented, the code shows return strings but no structured field documentation. Error handling is present but minimal; most error messages are generic ('Error: solve nahi hui'). Parameter validation exists but descriptions lack constraint documentation (ranges, enums, formats). The tools are read-only and compose well as a modular math toolkit. Most tools follow single-responsibility principles. The server is domain-appropriate but shows signs of educational scaffolding (Urdu comments, beginner-focused) rather than production-grade polish.
Calculate the area of a triangle given its three vertices. Uses the formula: Area = |x₁(y₂-y₃) + x₂(y₃-y₁) + x₃(y₁-y₂)| / 2
Calculate terms and sum of an Arithmetic Progression (AP). AP mein consecutive terms ka difference constant hota hai. Formula: aₙ = a + (n-1)d, Sₙ = n/2 [2a + (n-1)d]
Evaluate a basic arithmetic expression. Supports: +, -, *, /, **, sqrt, parentheses
Calculate the distance between two points. Uses the distance formula: d = √[(x₂-x₁)² + (y₂-y₁)²]
Evaluate an expression with given variable values.
Expand an algebraic expression.
Output schemas not documented, tools return strings but no structured field documentation provided to guide LLM downstream composition
Parameter descriptions lack constraint documentation, no min/max for numeric params, no enum values for categorical choices, no format specifications for strings
Error messages are generic and non-actionable, 'solve nahi hui' and 'Error: check syntax' do not guide the LLM on recovery steps or valid input formats
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 69 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 45 | - | v1 |
Factorize an algebraic expression.
Find unknown values in an Arithmetic Progression. Provide any 3 known values to find the unknowns.
Calculate terms and sum of a Geometric Progression (GP). GP mein consecutive terms ka ratio constant hota hai. Formula: aₙ = a × r^(n-1), Sₙ = a(rⁿ - 1)/(r - 1) for r ≠ 1
Get the definition of a mathematical term.
Add two matrices of the same dimensions.
Calculate the determinant of a square matrix.
Multiply two matrices.
Calculate the transpose of a matrix.
Calculate the midpoint between two points. Uses the midpoint formula: M = ((x₁+x₂)/2, (y₁+y₂)/2)
Solve a proportion problem. Solves a:b = c:d (or a/b = c/d) where one value is unknown (use 'x' or variable).
Simplify a ratio a:b to its simplest form.
Simplify a mathematical expression.
Simplify or factorize an algebraic expression. Automatically determines whether to simplify or factor based on the expression.
Calculate the slope of a line passing through two points. Uses the slope formula: m = (y₂-y₁)/(x₂-x₁)
Solve a linear equation.
Solve a quadratic equation.
Tool descriptions are functional but not optimized for LLM tool selection, they lack 'when to use this tool instead of similar tools' or prerequisite dependencies
No pagination or batch processing, tools accept single inputs; tools like evaluate_expression that might be called in loops lack batch variants