Skip to main content
Glama

List leave requests

breathehr_list_leave_requests
Read-only

List leave requests (pending, approved, rejected and cancelling requests) with employee, dates, half days, type, status and notes. Filter by employee, department and start-date range. GET /leave_requests.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1 (default 1). Pass the previous reply's next_page.
end_dateNoOnly requests starting on or before this date (yyyy-mm-dd).
per_pageNoResults per page, 1-100 (default 25).
start_dateNoOnly requests starting on or after this date (yyyy-mm-dd).
employee_idNoOnly this employee's requests.
department_idNoOnly requests of employees in this department.
exclude_cancelledNoLeave out cancelled requests.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 useful behavioral content by disclosing the status set returned (notably that cancelling requests appear) and the underlying GET /leave_requests endpoint, but says nothing about auth, rate limits, or result volume.

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?

Two compact sentences: the resource and returned fields first, then the filters, with the endpoint appended. Every clause carries information; the trailing 'GET /leave_requests.' is marginally redundant but harmless for an API-backed tool.

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 description does the work of naming the returned fields (employee, dates, half days, type, status, notes), and pagination is covered by the schema's page/per_page descriptions. It is close to complete for a filtered read tool, with only auth/permission context 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 all seven parameters are already documented in the schema, including pagination and date semantics. The description restates the main filter dimensions without adding format or interaction detail beyond the schema, so the 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) and enumerates the statuses covered (pending, approved, rejected, cancelling), which is more precise than the title alone. It does not explicitly contrast itself with the singular sibling get_leave_request, though the List/Get split makes the distinction reasonably clear.

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?

The description names the filter dimensions (employee, department, start-date range), which implies when this tool is appropriate, but it gives no explicit when-to-use guidance or exclusions versus siblings such as get_leave_request or list_absences. Usage is inferable rather than stated.

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.