Skip to main content
Glama
rajuprasad-dev

Keka employee MCP

get_pending_attendance_count

Returns the number of pending attendance requests for the signed-in employee, optionally filtered by date range, to help track outstanding approvals.

Instructions

Count of the signed-in employee's pending attendance requests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toDateNoLast day, YYYY-MM-DD. Defaults to today on this machine.
fromDateNoFirst day, YYYY-MM-DD. Defaults to 1 January of this year.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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-only count scoped to the signed-in employee, but it does not state auth requirements, what counts as 'pending', or whether the date filters change the count semantics.

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 fragment with no wasted words. It immediately identifies the returned value and its scope.

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 low-complexity count tool with no required parameters and fully documented optional date filters, the description is mostly complete. It implies the return type via 'Count', though it still lacks usage context relative to its many 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 baseline is 3. The description adds no parameter meaning beyond what the schema already documents for the optional fromDate and toDate fields.

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 and scope: pending attendance requests for the signed-in employee, and signals that it returns a count. It does not distinguish itself from sibling tools like get_attendance_requests or get_pending_approvals, so the agent must infer when an aggregate count is preferred over a request list.

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 explicit when-to-use guidance, prerequisites, or named alternatives. The description implies a summary/dashboard use case but does not say to call this instead of get_attendance_requests or get_pending_approvals when only a number is needed.

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