Skip to main content
Glama

get_employee_leave_balance

Retrieve an employee's current leave balance using their employee ID, so HR teams can verify available leave before approving time-off requests.

Instructions

Get the leave balance of an employee.
:param emp_id: Employee ID
:return: Leave balance message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emp_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full behavioral burden. It does not disclose permissions, rate limits, data freshness, or whether the operation is read-only, beyond the weak implication from the verb 'Get'. The ':return:' line mentions a message but adds no behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short, front-loaded with the main purpose, and free of filler. The docstring-style ':param' and ':return' lines are compact, though somewhat redundant given the input and output schemas.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple getter with one parameter and an output schema, the description covers the basic purpose, parameter meaning, and return nature. However, it omits usage guidance and behavioral details, and the parameter documentation is minimal, leaving gaps in a no-annotation context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the only parameter description is ':param emp_id: Employee ID', which merely restates the schema title 'Emp Id' without adding format, source, or validation details. With low coverage, the description fails to compensate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Get') and resource ('leave balance of an employee'), which clearly distinguishes it from siblings like apply_leave and get_leave_history. However, it does not explicitly name or contrast with those alternatives, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance on when to use this tool versus alternatives such as get_leave_history or apply_leave. It only states what the tool does, with no context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.