Skip to main content
Glama

Approve Timeoff

approve_timeoff
Destructive

Approves or rejects a time off request using GET /timeoffs/approve/:timeoff_id?token=:token. This endpoint is global and does not prefix account_id. Limitations: sensitive write operation; requires confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes
actionNo
statusNo
confirmYesRequired explicit confirmation for this sensitive operation.
approvedNo
base_urlNoOptional TrackingTime API base URL override, for example https://api.trackingtime.co/api/v4.
api_tokenNoAlias of app_password
timeoff_idYes
access_tokenNoOAuth 2.0 bearer access token
app_passwordNoTrackingTime app password

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 openWorldHint=true, so the safety profile is largely covered. The description adds genuinely useful context beyond that: it is a 'sensitive write operation', demands explicit confirm=true, and warns that the endpoint is global and does not prefix account_id — a non-obvious routing detail. It stops short of describing irreversibility or failure behavior.

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?

Three tight sentences, front-loaded with the verb/resource and then the routing and safety constraints. No filler, though the raw endpoint string is somewhat mechanical.

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 10-parameter destructive mutation with no output schema, the description covers safety and scoping adequately but leaves parameter semantics gaps and does not address what happens to the request after approval/rejection. Minimum viable rather than complete.

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?

Schema coverage is only 50%, so the description should compensate, but it only surfaces token and timeoff_id (via the URL) and confirm. It says nothing about the action/status/approved/access_token/app_password parameters, leaving several fields ambiguous — notably the overlapping action enum and approved boolean.

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?

The description states a specific verb pair ('approves or rejects') and resource ('time off request'), and even names the underlying endpoint. An agent can distinguish it from siblings like create_timeoff, update_timeoff, get_timeoff and delete_timeoff without opening any schema.

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 notes the operational constraint ('requires confirm=true') and the endpoint's global scoping, but gives no guidance on when to use this versus update_timeoff or delete_timeoff, nor any prerequisite/role context. Usage is implied rather than stated.

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.