Skip to main content
Glama

Cancel a time-off request

cancel_time_off_request

Withdraw a pending time-off request, deleting it and returning the held balance. Confirm request details before use.

Instructions

Withdraws a time-off request. WRITES to Woffu: a pending request is deleted outright and the balance it held is returned. requestId comes from list_time_off_requests. This cannot be undone, so confirm with the user which request it is — by type and dates — before calling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestIdYesThe request to cancel, from list_time_off_requests.
Behavior4/5

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

Without annotations, the description fully bears the burden. It discloses that it WRITES to Woffu, deletes outright, returns balance, and is irreversible ('cannot be undone'). It does not specify permissions or state restrictions beyond 'pending', but covers major behavioral traits.

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?

Three concise sentences, each serving a distinct purpose: purpose, effect, and usage warning. No unnecessary words; well-structured and front-loaded.

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?

For a simple tool with one parameter and no output schema, the description covers all necessary aspects: what it does, how it works, irreversible nature, and guidance on using requestId from a sibling tool. Complete for effective selection and invocation.

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% with description for requestId. The tool description adds that requestId comes from list_time_off_requests, providing helpful source context beyond the schema. Baseline 3 plus extra value.

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 clearly states the verb 'Withdraws' and the resource 'time-off request'. It distinguishes from sibling tools like edit_time_off_request and request_time_off by being a cancellation action.

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?

The description explicitly warns that cancellation cannot be undone and instructs to confirm with the user which request by type and dates. It also references list_time_off_requests for obtaining the requestId, providing clear when-to-use guidance.

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