Skip to main content
Glama

action_holiday

Approve, decline, or cancel holiday bookings. Optionally add a reason and suppress notification emails.

Instructions

Approve, decline or cancel a holiday.

Args: holiday_id: The holiday ID (or a holiday token). action: Approve, Decline, Delete (cancel this booking) or DeleteGroup (cancel the whole group booking). reason: Optional reason, typically used when declining/cancelling. suppress_emails: Suppress notification emails when actioning.

Raises a webhook event if webhooks are configured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
reasonNo
holiday_idYes
suppress_emailsNo
Behavior4/5

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

Discloses webhook event side effect and notes that reason is typically used for declining/cancelling. Suppress_emails is explained. Lacks mention of permissions or reversibility, but given no annotations, this adds good value.

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?

Concise bullet-style list of parameters. No redundant information. Would benefit from a brief note on usage context, but otherwise efficient.

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

Completeness3/5

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

Covers purpose and parameters well but lacks return value description, error handling, or permission requirements. For a mutation tool with no output schema and no annotations, the description could provide more context.

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

Parameters5/5

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

Adds significant meaning beyond the schema: explains each parameter's purpose (holiday_id, action values, reason usage, suppress_emails). Clarifies distinction between 'Delete' and 'DeleteGroup'. Schema coverage is 0%, so description fully compensates.

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?

Explicitly states the verb 'Approve, decline or cancel' and the resource 'a holiday'. Distinguishes from siblings like book_holiday (create) and list_holidays (read) by focusing on modifying existing holidays.

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?

Indicates the tool is for approving, declining, or canceling holidays but provides no explicit comparison to alternative tools (e.g., delete_department) or conditions for use.

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/mlequime/timetastic-mcp'

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