MCP server for managing employee leave balances and leave applications
LeaveManager has 3 tools with basic definitions but significant quality gaps. All tools have descriptions (10-60 chars, below the 50-200 char baseline for LLM optimization) and input schemas with typed parameters. However, descriptions lack actionable context (WHEN to use, prerequisites, state-modifying intent). Output schemas are undocumented, LLMs cannot plan downstream calls or extract structured data. Error handling is minimal (generic 'not found' strings). No parameter validation guidance, no enum constraints, no pagination for history. The apply_leave tool modifies state but doesn't explicitly warn of irreversibility. Tool names are clear (verb_noun pattern) but descriptions are too terse to guide LLM selection.
Apply leave for specific dates (e.g., ["2025-04-17", "2025-05-01"])
Check how many leave days are left for the employee
Get leave history for the employee
Output schemas undocumented. All tools return plain strings; LLMs cannot parse structured data or plan chained calls. No documented return type, field names, or format.
Descriptions too terse (<60 chars). Missing WHEN to use, prerequisites, and state-modifying intent. 'Check how many leave days are left' lacks context for LLM selection vs similar tools.
apply_leave modifies state but description does not warn of irreversibility. LLMs cannot distinguish safe retries from destructive operations.
No error recovery guidance. 'Employee ID not found' gives LLM no next step. Should suggest 'Try listing employees first' or provide available IDs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | 2026-07-28+ | v2 |
get_leave_history returns unbounded list (no pagination). Large histories blow context window. No limit parameter, no cursor, no total count.