Skip to main content
Glama
RohitKumarPattanayak

leave-manager-mcp-server

get_leave_balance

Check an employee's remaining leave days by providing their employee ID.

Instructions

Check how many leave days are left for the employee

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
employee_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 does mention the action is to 'Check', implying a read-only operation, but it does not explicitly state whether authentication is required, what happens if the employee_id is invalid, or the format of the returned data. It also does not confirm there are no side effects, which is critical without annotations.

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 a single, concise sentence with no redundant words. It is front-loaded with the action and resource, making it easy to parse. This is appropriately sized for the tool's simplicity.

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 with only one parameter and an output schema, so the description covers the core function. However, it misses usage context and does not explicitly frame it as a read-only operation. The absence of annotations and lack of comparison to siblings leaves gaps, but given the tool's simplicity, it is minimally viable.

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 description does not mention the employee_id parameter at all. The parameter name and type are self-explanatory, but the description adds no meaning about the expected format, whether it is an internal identifier, or any constraints. Given the low coverage, the description should compensate but fails to do so.

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 clearly states the tool's function: checking remaining leave days for an employee. It uses a specific verb ('Check') and resource ('leave days'), which distinguishes it from generic operations. However, it does not explicitly compare against sibling tools like get_leave_history or apply_leave, so the differentiation is implied rather than stated.

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. The description simply states what it does, but does not mention that it should be used for current balance checks, nor provide exclusions (e.g., for historical data use get_leave_history). This leaves the agent without clear decision-making context.

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/RohitKumarPattanayak/leave-manager-mcp-server'

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