Skip to main content
Glama
berthelius

Frihet MCP Server

Cancel Leave Request

leave_cancel
Idempotent

Cancel a leave request. Use before approval to withdraw, or after approval to trigger schedule rollback.

Instructions

Cancel a leave request. Typically used by the requesting employee before approval, or by HR after approval (which may trigger schedule rollback). / Cancela una solicitud de permiso (por el empleado o RRHH).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leaveIdYesLeave request ID / ID de la solicitud

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
typeNoLeave type slug (vacation, sick, personal, etc.)
reasonNo
statusNo
endDateNo
createdAtNo
decidedAtNo
decidedByNo
startDateNo
updatedAtNo
employeeIdNo
durationDaysNo
decisionReasonNo
Behavior4/5

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

Adds value beyond annotations by noting that HR cancellation may trigger schedule rollback. Annotations already indicate non-destructive, but description gives helpful behavioral nuance.

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 clearly state the purpose and usage. The Spanish translation is redundant but harmless. Well-structured and front-loaded.

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 simple tool with one parameter and an output schema (not shown), the description covers typical usage and side effects. Adequate without being overly detailed.

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 coverage is 100%, so the parameter leaveId is fully described in the schema. Description adds no additional meaning or example beyond the schema.

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?

The description clearly states the action (cancel) and resource (leave request), and distinguishes use by employee vs HR. However, it does not explicitly contrast with siblings like leave_approve or leave_reject, missing a chance to differentiate.

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?

Provides context: used by employee before approval or by HR after approval, with possible schedule rollback. But lacks explicit when-not-to-use or alternative tools, leaving some ambiguity.

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/berthelius/frihet-mcp'

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