Skip to main content
Glama
Leave Management MCP Server

Leave Management MCP Server

by tarun-gt

list_leave_requests

Retrieve leave requests filtered by status or employee ID to review and manage employee absences.

Instructions

List leave requests with optional status and employee filters.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_leave_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoALL
employee_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 behavioral burden, yet it says nothing about read-only semantics, default scope when filters are omitted (the schema hints at "ALL" but the description does not), result volume, or pagination. "List" weakly implies a safe read, but nothing is confirmed.

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 front-loaded sentence with no filler, which is well structured. It is arguably too terse given the missing parameter and behavioral detail, but nothing in it is wasted.

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 explained, but for a two-parameter list tool with zero schema coverage and no annotations the description is thin. It omits default behavior, accepted status values, and pagination, leaving real gaps an agent would need to call it confidently.

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%, so the description must compensate for both parameters. It names status and employee_id but adds no meaning: it does not say which status values are accepted, that "ALL" is the default, or what format employee_id takes.

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 opens with a specific verb and resource ("List leave requests"), so the agent knows exactly what operation it performs. It does not distinguish this tool from siblings such as review_leave_request or get_employee_leave_dates, leaving the boundary implicit.

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 phrase "with optional status and employee filters" implies the tool is for browsing leave requests but gives no explicit when-to-use guidance, no prerequisites, and no mention of the sibling tools that review or check leave instead. The agent must infer the 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.