Skip to main content
Glama
Leave Management MCP Server

Leave Management MCP Server

by tarun-gt

get_employee_leave_dates

Retrieve an employee's leave dates by employee ID. Optionally filter by approval status or month prefix to check scheduled time off.

Instructions

Retrieve leave dates for an employee.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "employee_id": "<employee_id>"
    },
    "name": "get_employee_leave_dates"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoAPPROVED
employee_idYes
month_prefixNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does not meet it. It omits the meaningful behavior implied by the schema's 'status' default of APPROVED (i.e., that non-approved leave is excluded by default), says nothing about permissions or scope, and gives no hint that results are limited or filtered.

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?

A single short sentence with no filler or redundancy. It is efficient, though its brevity comes at the cost of the details the tool actually needs.

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

Completeness2/5

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

An output schema exists, so return values need not be described, but for a three-parameter tool with zero schema coverage and no annotations the description is far too thin. The filtering behavior and default status are the critical missing pieces.

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% across three parameters, and the description only loosely implies employee_id. It never explains the status filter (and its APPROVED default) or what format month_prefix expects, so two of three parameters remain undocumented anywhere.

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

Purpose3/5

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

The description has a real verb and resource ("Retrieve leave dates"), so the basic operation is intelligible. But it does not say which leave records are meant (approved only? all statuses?), nor does it distinguish this from siblings like list_leave_requests or check_leave_balance, leaving the agent to guess at scope.

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 call this versus list_leave_requests, check_leave_balance, or check_date_availability, and no stated prerequisites. The agent must infer selection criteria from tool names alone.

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