Skip to main content
Glama

When I Work MCP by usefulapi

Create a time-off request

wheniwork_create_time_off_request
Destructive

Create a time-off request for a user (default the calling user). It starts pending; cancel it with wheniwork_update_time_off_request (status 1). Get type ids from wheniwork_list_time_off_types. When I Work: POST /2/requests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paidNoWhether it is paid time off.
hoursNoHours of paid time off to use.
type_idNoTime-off type id (Personal, Sick, Holiday...).
user_idNoWho is taking time off (default the calling user).
end_timeYesEnd of the time off, full date-time.
start_timeYesStart of the time off, full date-time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare destructiveHint=true, so most behavioral burden falls on the description, which usefully discloses that the request "starts pending" rather than being auto-approved and points to the cancel mechanism. It adds real lifecycle context beyond the annotations, though it does not cover approval flow, notifications, or overlapping-request handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the action and default, then lifecycle, then the type-id source, then the raw endpoint. No filler; every clause carries 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?

For a six-parameter creation tool with no output schema and annotations covering only destructiveness, the description supplies the missing lifecycle and prerequisite-routing context. It is essentially complete for correct invocation, with only edge-case behavior (overlaps, approval side effects) left unstated.

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 description coverage is 100%, so the parameters are already documented, giving a baseline of 3. The description only restates the calling-user default and points to the sibling tool for type_id values, adding minimal meaning beyond the schema.

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 ("Create a time-off request") plus the default target user, which cleanly separates it from wheniwork_get_time_off_request, wheniwork_list_time_off_requests, and wheniwork_update_time_off_request. An agent can identify the operation without opening the schema.

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?

Names the prerequisite sibling (wheniwork_list_time_off_types for type ids) and the alternative path for undoing the action (wheniwork_update_time_off_request with status 1). It lacks an explicit "do not use when..." framing, but the routing context is strong and actionable.

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.