Skip to main content
Glama

Update Timeoff Policy

update_timeoff_policy
Destructive

Updates a time off policy using POST /timeoffs/policies/:policy_id/update. Limitations: sensitive write operation; requires confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
notesNo
usersNo
confirmYesRequired explicit confirmation for this sensitive operation.
base_urlNoOptional TrackingTime API base URL override, for example https://api.trackingtime.co/api/v4.
api_tokenNoAlias of app_password
policy_idYes
account_idNoTrackingTime workspace/account ID. Required when the user belongs to multiple workspaces.
access_tokenNoOAuth 2.0 bearer access token
app_passwordNoTrackingTime app password

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the danger profile is largely pre-supplied. The description reinforces this with "sensitive write operation; requires confirm=true," adding the confirmation gate, but it does not explain what an update overwrites, how partial updates behave, or what happens to omitted 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?

Two short sentences, front-loaded with the action and endpoint before the caveat. No filler or repetition, though the endpoint path adds little for an agent that already has the tool binding.

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?

For a non-idempotent, destructive mutation with 10 parameters and no output schema, the description is only minimally sufficient: it covers the confirmation requirement but not which fields are updatable, whether updates are merge or replace, or the effect on policy membership. Annotations carry the safety story, so the gap is not severe, but the description could say considerably more.

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

Parameters2/5

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

With 10 parameters and only 60% schema description coverage, the description should compensate, yet it only references policy_id (implicitly, via the URL path) and confirm. The complex anyOf "users" parameter, whose array-of-objects vs array-of-IDs vs string forms imply different membership semantics, is left entirely unexplained.

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 states a specific verb and resource ("Updates a time off policy") plus the exact REST path, which clearly distinguishes it from create_timeoff_policy, get_timeoff_policy, and list_timeoff_policies. It stops short of explicitly naming those siblings, but the verb+resource pair is unambiguous.

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?

It gives one concrete precondition ("requires confirm=true") and flags the operation as sensitive, which tells the agent when the call will be rejected. However, it offers no guidance on when to pick this over other policy or timeoff mutation tools, nor any prerequisites such as permissions or workspace scoping.

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.