Skip to main content
Glama
rajuprasad-dev

Keka employee MCP

get_pending_leave_encashment

Retrieve pending leave encashment requests for the signed-in employee to track approval status and amount due.

Instructions

Pending leave encashment requests for the signed-in employee.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one behavioral trait: results are limited to the signed-in employee (implicit auth scope). Beyond that it says nothing about whether this is read-only, ordering, pagination, or handling of an empty pending set.

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?

One short sentence with zero filler, and the resource is front-loaded before the scope qualifier. Nothing could be trimmed without losing meaning.

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

Completeness4/5

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

For a simple parameterless read with no output schema, the description adequately conveys what comes back and whom it covers. It is thin on return shape and ordering, but the tool's low complexity makes those omissions minor.

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

Parameters4/5

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

The tool takes zero parameters, so per the baseline there is nothing for the description to disambiguate. The schema is fully self-describing for a parameterless call.

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?

Names a specific resource (pending leave encashment requests) and scopes it to the signed-in employee, which distinguishes it from the broader get_leave_requests and get_leave_transactions siblings. The phrase is a noun fragment with no explicit verb, but 'get' is implied by the name and the intent is unambiguous.

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?

No when-to-use guidance, no conditions, and no pointer to alternatives such as get_leave_requests or get_leave_transactions for non-encashment leave data. The agent must infer the trigger entirely from the resource name.

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