Skip to main content
Glama

CharlieHR MCP by usefulapi

List leave requests

charliehr_list_leave_requests
Read-only

List leave requests of the whole company (id, team member, approver, status, request type, start/end date, amount and units, duration, details). Optionally only those in a date window. GET /leave_requests.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1 (default 1). Pass the previous reply's next_page.
end_dateNoEnd date, yyyy-mm-dd. Must be used together with start_date.
per_pageNoResults per page, 1-25 (default 25).
start_dateNoOnly items overlapping this window: start date, yyyy-mm-dd. Must be used together with end_date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the field inventory an agent can expect back, but says nothing about pagination limits or result volume beyond what the schema already encodes.

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?

Two sentences, zero filler: scope and returned fields first, the optional filter second, and the HTTP route as a trailing identifier. Nothing is repeated from the schema.

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?

With no output schema, the inline field list (id, team member, approver, status, type, dates, amount, duration, details) usefully compensates. Pagination and date-pairing rules live in the schema and safety hints in annotations, so the definition is nearly complete; only the sibling disambiguation is missing.

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 page, per_page, start_date and end_date are already fully documented, including the overlap semantics and the pairing constraint. The description's lone mention of a "date window" adds nothing beyond that; baseline 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 verb and resource ("List leave requests") plus the scope ("of the whole company") and enumerates the returned fields. The company-wide scope implicitly distinguishes it from charliehr_list_team_member_leave_requests, but the sibling is never named, so an agent must infer the split.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Optionally only those in a date window" signals the one filtering use case, but there is no explicit statement of when to prefer this over charliehr_list_team_member_leave_requests or charliehr_get_leave_request. Usage is implied rather than directed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.