Skip to main content
Glama

get_employee_leave_balance

Retrieve an employee's leave balance by providing their employee ID; the tool returns the leave balance message.

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
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states that the tool returns a 'leave balance message', which is vague and does not clarify side effects, error behavior, permission requirements, or whether the result is structured or plain text. The verb 'get' implies read-only, but the description does not explicitly confirm this or provide any additional 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.

Conciseness5/5

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

The description is highly concise and well-structured. It uses a single sentence to describe the action, followed by explicit :param and :return lines for the important contract points. There is no fluff, and the information is front-loaded in the opening sentence.

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?

The tool is simple, but the description has clear gaps: it does not explain when to use it over 'get_leave_history', does not describe the exact return format beyond 'message', and gives no behavioral details. Given the missing annotations and zero schema coverage, the description is minimally adequate but lacks the context needed for an agent to reliably distinguish and invoke this tool in all scenarios.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate. The :param line clarifies that 'emp_id' stands for 'Employee ID', which adds slight meaning beyond the schema's property name and title. However, it does not specify the format or constraints for the ID, and it is nearly redundant with the parameter name. The compensation is minimal but present.

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

Purpose5/5

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

The description clearly states the tool's function: 'Get the leave balance of an employee.' It uses a specific verb ('get') and resource ('leave balance') and distinguishes from siblings like 'get_leave_history' which covers historical records, not current balance. The :param and :return lines further clarify the tool's purpose.

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?

There is no guidance on when to use this tool versus alternatives like 'get_leave_history' or 'apply_leave'. The description does not mention prerequisites, exclusions, or any preference for which sibling to choose. The only context is the name and a basic description, leaving the agent to infer from the tool name alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jayeshm93/HRMS-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server