Skip to main content
Glama

Update time off

update_time_off
Destructive

Changes the kind, the days, the minutes off each day or the note of a time off; what is not given stays as it was, and null minutes make it the whole working day again. A person changes their own (changing the kind, the days or the minutes of an approved or rejected one asks the owners for approval again); on Pro, the owner of a project changes the time off of its editors (the note stays the person's). The whole result is checked again: at most 366 days, ending on or after the first day.

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, YYYY-MM-DD.
startDayNoThe first day off, YYYY-MM-DD.
timeOffIdYesA time off of the user or of an editor of one of the user's projects.
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.2/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by disclosing partial-update semantics ('what is not given stays as it was'), the null-minutes reset to a whole working day, the re-approval side effect, the privacy boundary on notes, and the post-write validation rule (max 366 days, end on/after start). These are exactly the consequences an agent needs before calling a destructive mutation.

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, front-loaded with the change semantics before the permission and validation clauses. The nested parentheticals make it dense and slightly hard to scan, but every clause carries distinct information.

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?

Covers permissions, partial-update behavior, approval side effects and validation for a destructive mutation with no output schema. The only gap is that it never says what the response contains (the updated record vs just an acknowledgement), which matters modestly when the caller needs to confirm the new state.

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%, so the baseline is 3, but the description adds real meaning the schema lacks: the partial-update contract for every optional field and the fact that null minutes restores a full working day. It does not add anything for timeOffId beyond what the schema already states.

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 (changes) plus the exact mutable fields of a named resource (kind, days, minutes per day, note of a time off). It is clearly a mutation of an existing record, which implicitly separates it from add_time_off/remove_time_off, though no sibling is named.

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 concrete applicability conditions: a person edits their own time off, and on Pro a project owner can edit their editors' time off (note excluded). It also specifies that changing kind/days/minutes on an approved or rejected entry triggers re-approval. It stops short of explicitly naming alternatives like approve_time_off or remove_time_off, so no explicit when-not guidance.

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