Skip to main content
Glama

Edit a time-off request

edit_time_off_request

Update dates, times, or comments of a submitted time-off request. Leave type remains fixed; create a new request to change it. Only provide the fields you want to change.

Instructions

Changes the dates, times or comment of an existing request. WRITES to Woffu. requestId comes from list_time_off_requests. The leave type cannot change here — cancel and file a new one for that. Pass only what changes; anything omitted keeps its current value. A whole-day request takes from/to; an hourly one takes startTime/endTime. Re-validated against Woffu before saving, so a weekend, a holiday or an overdraw is refused. Confirm the change with the user before calling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoNew last day, inclusive (YYYY-MM-DD). Whole-day requests.
fromNoNew first day (YYYY-MM-DD). Whole-day requests.
commentNoReplacement note.
endTimeNoNew end (HH:MM). Hourly requests.
requestIdYesThe request to change, from list_time_off_requests.
startTimeNoNew start (HH:MM). Hourly requests.
Behavior5/5

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

No annotations provided, but description fully discloses: writes to Woffu, re-validates against Woffu, can refuse weekends/holidays/overdraw, and only pass changed fields (others keep current value).

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?

Concise, front-loaded with main action, then details. Every sentence adds value with no redundancy.

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?

Given 6 parameters, no output schema, and no annotations, description covers all necessary context: two request modes, re-validation, and constraint on leave type. Sufficient for an edit operation.

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%, but description adds value: explains whole-day vs hourly request modes, that from/to are for whole-day, startTime/endTime for hourly, and requestId comes from list_time_off_requests. Only minor improvement needed.

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?

Description clearly states it edits an existing time-off request, changing dates/times/comment. Distinguishes from siblings like cancel_time_off_request and request_time_off.

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

Usage Guidelines5/5

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

Explicitly tells when to use (modify existing request) and when not (can't change leave type; cancel and file new). Mentions prerequisite (requestId from list_time_off_requests) and instructs to confirm with user before calling.

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