Skip to main content
Glama

Create Timeoff Policy

create_timeoff_policy
Destructive

Creates a time off policy using POST /timeoffs/policies/add. 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
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.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false. The description adds useful context beyond that – it flags the operation as 'sensitive' and discloses the required confirm=true gate, which the annotations do not convey. It omits reversibility and what the created policy affects, keeping it from a 5.

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 tight sentences with the action front-loaded and the caveats second; nothing is padded. It is effectively sized for the operation, though it could fold the endpoint detail away as it adds little for an agent.

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 mutation tool with no output schema and 9 parameters at 67% coverage, the annotations plus the confirm disclosure cover the safety profile adequately. However, the description says nothing about workspace scoping (account_id) or the shape of the policy being created, leaving meaningful gaps.

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 coverage is 67%, above the midpoint, so baseline 3 applies. The description only restates the confirm=true requirement already documented in the schema and adds no meaning for parameters like users, account_id, or the auth aliases.

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 ('Creates a time off policy') and even names the endpoint, so the operation is unambiguous and distinguishable from siblings like create_timeoff or update_timeoff_policy. It does not explicitly contrast against those siblings, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description gives a precondition (confirm=true) but no when-to-use or when-not-to-use guidance, and never routes the agent toward or away from alternatives such as create_timeoff or update_timeoff_policy. Usage is only implied by the required confirmation flag.

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.