Skip to main content
Glama

Leave request message

leave_request_message
Read-onlyIdempotent

Write the short, polite message asking a manager for the leave days of a break, in the same words as the Leave Hacker app. Pass the dates to book; the break's first and last day are worked out from the weekends (and bank holidays, if you pass region) either side unless you pass them.

Input Schema

NameRequiredDescriptionDefault
regionNoOptional, to count bank holidays next to the dates: england-and-wales, scotland or northern-ireland for UK bank holidays (from gov.uk), or a two-letter ISO 3166-1 country code such as IE, US, DE for other countries' public holidays (from Nager.Date).
break_endNoLast day off, if known (yyyy-MM-dd).
break_startNoFirst day off, if known (yyyy-MM-dd).
dates_to_bookYesThe working days to book as leave (yyyy-MM-dd).

Output Schema

NameRequiredDescriptionDefault
breakYes
notesYes
messageYes
datesToBookYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive). The description adds genuinely useful behavior: the message is phrased in the app's own wording, and break_start/break_end are derived from weekends and bank holidays unless supplied. It stops short of describing the output shape, but an output schema exists.

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 sentences, front-loaded with the purpose, with no filler. The second sentence is dense but every clause (derivation, region, override) carries information.

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 4 parameters at full schema coverage and an output schema present, the description covers the remaining gap: how break boundaries are computed and what the tool actually returns conceptually. Nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning beyond the schema: it explains the derivation rule linking dates_to_book, region, and the optional break_start/break_end parameters, which the schema alone does not convey.

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 deliverable: 'Write the short, polite message asking a manager for the leave days of a break.' This clearly separates it from computation siblings like best_days_to_book and plan_leave_year, though it never names a sibling explicitly.

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 by the deliverable ('write the message'), and it tells you to 'pass the dates to book', but there is no explicit when-to-use/when-not guidance or reference to the sibling tools it complements.

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.

Resources