Skip to main content
Glama

Create leave request

breathehr_create_leave_request
Destructive

WRITE: request leave for an employee (holiday by default, or other leave). It is created as a request, then follows the account's approval rules; the employee's approver is notified. Each call creates a new request. POST /employees/{id}/leave_requests.

Input Schema

NameRequiredDescriptionDefault
typeNoHoliday (default) or OtherLeave.
notesNoNotes for the approver.
end_dateYesLast day of leave (yyyy-mm-dd), same as start_date for one day.
half_endNoThe last day is a half day (default false).
half_startNoThe first day is a half day (default false).
start_dateYesFirst day of leave (yyyy-mm-dd).
employee_idYesBreathe employee id.
half_end_am_pmNoWhich half of the last day: am or pm (with half_end).
half_start_am_pmNoWhich half of the first day: am or pm (with half_start).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare non-idempotent, destructive, open-world writes, and the description reinforces this with "Each call creates a new request" plus genuinely new context: the request enters the account's approval workflow and the employee's approver is notified. It stops short of saying what happens on overlapping/duplicate leave or whether the write can be undone.

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?

Short, front-loaded with the WRITE marker and the core action, then four tight clauses covering default type, approval flow, notification, and non-idempotency, ending with the endpoint. No filler.

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 9-parameter mutation with no output schema and rich annotations, the description covers the workflow consequences well (pending request, approval rules, approver notification, non-idempotency). It does not say what the call returns (e.g. a request id) or how failures surface, which leaves a small gap for an agent chaining calls.

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 nine parameters are already documented (types, defaults, date patterns, half-day flags). The description only restates the default type (Holiday) and adds nothing about date format, half-day interaction, or the notes field, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with an explicit verb+resource ("request leave for an employee") and a WRITE marker, and the note that it "is created as a request, then follows the account's approval rules" cleanly separates it from sibling operations like breathehr_approve_leave_request and breathehr_reject_leave_request. An agent can tell what this does without opening the schema.

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?

Usage is implied rather than stated: the description makes clear this creates a pending request (as opposed to approving/rejecting), but never names the alternative tools or states when to prefer listing/getting a request instead. No exclusions or prerequisites (e.g. valid employee, available allowance) are given.

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.