Skip to main content
Glama
rajuprasad-dev

Keka employee MCP

get_expense_claims

Retrieve pending and past expense claims for the signed-in employee, filtered by date range, to review or reconcile reimbursements.

Instructions

Pending and past expense claims for the signed-in employee.

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

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and mostly does not: it does not state that this is a read-only operation, whether results are paginated or ordered, or how the date defaults apply. Only the subject scope (signed-in employee, pending + past) is disclosed.

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 fragment with zero padding. It is efficient, though being a fragment rather than a verb-led statement slightly weakens it.

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?

No annotations and no output schema mean the description must explain behavior and return expectations, and it does neither. For a query tool with two optional date filters, an agent still lacks guidance on result shape, ordering, and how this differs from get_pending_expenses.

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% and both parameters (fromDate, toDate) are fully documented in the schema with format and defaults, so the description adds nothing on parameters. Baseline 3 is appropriate.

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 identifies the resource (expense claims) and scope (pending and past, for the signed-in employee), which lets an agent distinguish it from get_pending_expenses. It omits an explicit verb, but the tool name supplies 'get' and the scope details add real information.

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 when-to-use guidance and no mention of alternatives, even though siblings like get_pending_expenses and get_expense_policy clearly overlap. The agent must infer that this is the broad date-ranged claim query versus the pending-only one.

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