Skip to main content
Glama
rajuprasad-dev

Keka employee MCP

get_leave_requests

Fetch leave requests for the signed-in employee on a given date, defaulting to today, to check their submitted leave status.

Instructions

Leave requests for the signed-in employee on one date.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forDateNoCalendar date in YYYY-MM-DD. Defaults to today on this machine.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read operation and scopes results to the signed-in employee, but does not state permission requirements, whether it returns all/pending/approved requests, pagination behavior, or any side effects.

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?

A single, front-loaded sentence with zero waste. It directly states the resource, scope, and date filter without any filler.

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?

With no annotations and no output schema, the description is too sparse for an agent to call the tool confidently. It does not explain what a leave request record contains, whether results are filtered by status, or how it relates to similar sibling tools.

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 100%, so the schema fully documents the forDate parameter (format, default). The description adds no parameter semantics beyond what the schema already provides, so the baseline of 3 applies.

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?

States a specific resource ('Leave requests'), scope ('signed-in employee'), and filter ('on one date'). It distinguishes from other leave tools (balance, transactions, stats) by focusing on requests. However, it uses a noun phrase rather than an explicit verb and does not name or contrast with siblings.

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?

Provides no when-to-use guidance, alternatives, or exclusions. The sibling list contains many similar request-retrieval tools (e.g., get_adjustment_requests, get_partial_day_requests) but the description offers no help in choosing among them.

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