Skip to main content
Glama

Add time off

add_time_off
Destructive

Records time off for the user or, on Pro, for an editor of a project the user owns: a vacation, sick leave or other, from a first day to a last day (a single day when no last day is given), for the whole working day or a number of minutes of each. Once approved it lowers that person's capacity in the Workload for the weeks it touches (Monday to Friday count). The user's own time off is a request (status pending, and those owners get a notification) when an owner of a project the user edits plans with the team calendar, and approved at once otherwise; time off recorded for an editor is approved. A span is at most 366 days. The note belongs to the person: only they can write it, so it is refused when the time off is for somebody else.

Input Schema

NameRequiredDescriptionDefault
kindNovacation, sick or other. Default vacation.
noteNoUp to 300 characters. Only the person writes it and only they read it back.
endDayNoThe last day off. Default: the first day, YYYY-MM-DD.
userIdNoWhose time off it is: the user (default) or an editor of one of the user's projects (Pro).
startDayYesThe first day off, YYYY-MM-DD.
minutesPerDayNoMinutes off each day (240 is half a working day), between 1 and the person's working day. null or missing: the whole working day.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only flag it as a non-read-only, destructive write in a closed world) it discloses the approval/pending state, that owners get a notification, that approved time lowers capacity in Workload for Mon–Fri weeks touched, the 366-day cap, and that the note is refused when the time off is for somebody else. That is substantial side-effect and authorization context an agent could not infer from structured fields.

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 actor and resource before the conditional rules, and every clause carries information (kinds, span, capacity effect, approval logic, note ownership). It is a single dense paragraph of long semicolon-joined sentences, which is harder to parse than it needs to be, but nothing is filler.

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 mutating, multi-actor tool with no output schema, the description covers the outcomes an agent must anticipate: resulting approval status, notification side effect, capacity change, span limit, and the note-permission failure mode. Nothing material for correct invocation is missing.

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 already 100%, so the baseline is 3, and the description adds real semantics on top: the note is private to the subject and refused when recording for another person, and a single day applies when no last day is given. It does not add detail on minutesPerDay or userId beyond what the schema already says.

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?

States a specific verb and resource (records time off), the two actors it can act on (the user, or on Pro an editor of a project the user owns), and the accepted kinds and date span. It is clearly distinguishable from siblings like approve_time_off, update_time_off, list_time_off and remove_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 Guidelines4/5

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

Gives explicit conditions: own time off becomes a pending request when an owner of an edited project plans with the team calendar, otherwise approved at once, while time off for an editor is approved immediately. It also states constraints (366-day maximum, note only writable by the subject) but does not name the sibling to use when correcting or cancelling an existing entry.

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