Skip to main content
Glama

Approve time off

approve_time_off
Destructive

Approves a time off an editor of a project the user owns asked for: from then on it lowers that person's capacity in the Workload, and the person gets a notification. A Pro feature (the team calendar). Needs confirm: true; without it the result is a preview.

Input Schema

NameRequiredDescriptionDefault
noteNoUp to 300 characters for the person (why it was rejected). The person and the owners read it.
confirmNotrue performs the action. Without it (or with any value other than the boolean true) nothing changes and the result is a preview of the effects.
timeOffIdYesA time off of the user or of an editor of one of the user's projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false, and destructiveHint=true. The description adds valuable context beyond annotations: approval lowers the person's capacity in Workload, triggers a notification, requires confirm=true, and otherwise returns a preview. It does not discuss reversibility, but this is not contradictory.

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?

Front-loaded with the action and appropriately short. Its three sentences each add useful information about effects, Pro-feature context, and confirm behavior. The first sentence is slightly tangled but still concise.

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 an approval mutation with no output schema, the description covers the key effects and the preview behavior when confirm is omitted. It does not mention the note parameter or describe what a confirmed response looks like, but the essential behavioral context is present.

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 description coverage is 100%, so the schema already documents all three parameters. The description reinforces the confirm=true vs preview behavior, but adds no meaning beyond the schema for timeOffId or note. Baseline 3 is appropriate.

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?

States a specific verb and resource: approves a time off request from an editor on a project the user owns. The effect on capacity and notifications is clear, but it does not explicitly distinguish itself from siblings such as reject_time_off or approve_timesheet.

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 a prerequisite for execution: confirm must be true or the result is only a preview. It also notes this is a Pro feature. However, it does not explicitly say when to choose this over reject_time_off or other time-off tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources