Skip to main content
Glama

Request time off

request_time_off

Submit a time-off request for whole-day or hourly leave with automatic balance and calendar validation to prevent overdraws, weekends, or holidays.

Instructions

Files a time-off request in Woffu. WRITES to the user's record and their manager sees it. type is the leave type by name, exactly as get_time_off_balance lists it (e.g. "Vacaciones"). Whole-day types take from and optionally to for a range; the day count is whatever Woffu charges after its own weekends and holidays, so a Fri–Mon range may cost two days. Hourly types instead take a single from with startTime and endTime. The balance is checked before anything is filed, and whole-day requests are also validated against Woffu's calendar, so an overdraw, a weekend or a holiday is refused with a reason rather than filed. Half-day requests and types that require a document are not supported here. Before calling, show the user the type, dates and any times, and get their confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoLast day of a range, inclusive (YYYY-MM-DD). Whole-day types only. Defaults to `from`.
fromYesFirst day (YYYY-MM-DD).
typeYesLeave type by name, as get_time_off_balance lists it.
commentNoOptional note. Do not include unnecessary personal data.
endTimeNoEnd of an hourly request (HH:MM). Hourly types only.
startTimeNoStart of an hourly request (HH:MM). Hourly types only.
Behavior5/5

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

No annotations provided, but description fully discloses write nature, balance/calendar validation, refusal reasons, day count logic, and unsupported types. No contradictions.

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?

Single dense paragraph, front-loaded with core action. Every sentence is informative and non-redundant. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 6 params, 100% coverage, no output schema, description explains behavior, constraints, validation, unsupported types, and pre-call user confirmation. Very thorough for a write tool.

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%, baseline 3. Description adds meaning: differentiation between whole-day and hourly types, type must match get_time_off_balance, to defaults to from, comment personal data caution. Adds clear usage rules beyond schema.

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?

Clearly states it files a time-off request, WRITES to the user's record, and is seen by manager. Distinguishes from siblings by listing unsupported types (half-day, document requiring).

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

Usage Guidelines4/5

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

Gives clear context for when to use (filing time-off) and what types are supported. Lacks explicit 'when-not-to-use' or direct alternatives like 'use edit_time_off_request to modify', but context is sufficient for an agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alechagonzalo/woffu-adapter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server