Leave manager application for managing employee leave records and balances
Four tools with basic verb-noun naming (get_*, search_*) and present descriptions. However, descriptions are minimal (10-50 chars), parameter descriptions are absent or trivial, and no output schemas are documented. Input schemas are visible but lack detail. No error handling guidance, no parameter constraints (enums, ranges), and no indication of what fields are returned. Tools are read-only (low risk) but lack the structure needed for reliable LLM invocation. Baseline: 194 chars avg description; these average ~30 chars.
Get employee details by employee ID
Get remaining leave balance for an employee
Get all leaves for a specific month
Find all employees on leave on a specific date
Descriptions are 10 - 50 characters; rubric baseline is 194 chars. Too short to guide LLM selection. E.g., 'Get employee details by employee ID' lacks context on when to use this vs other tools, what fields are returned, or prerequisites.
No output schema documented. LLMs cannot plan downstream calls or extract fields. E.g., get_employee_details returns employee.to_dict() but the structure is unknown, does it include emp_id, name, location, leaves? Agents must guess.
Parameter descriptions missing or trivial. 'emp_id: Employee ID to search for' is circular, it restates the name without explaining format, constraints, or examples. Rubric baseline: 72 chars avg param annotation.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 42 | 2026-07-28+ | v2 |
No error handling guidance. get_employee_details returns {'error': '...'} on miss, but does not suggest recovery (e.g., 'Try search_employees_on_leave() to find valid IDs'). Agents cannot self-correct.
search_employees_on_leave accepts date_str but does not specify format constraints in description. Code expects YYYY-MM-DD, but description only says 'Date in YYYY-MM-DD format', no validation or error message if format is wrong.