Skip to main content
Glama

Request leave

rotacloud_create_leave_request
Destructive

WRITE: submit a leave request on behalf of an employee (sent as that user, for a manager to approve). POST /leave_requests with the User header.

Input Schema

NameRequiredDescriptionDefault
messageNoMessage from the employee to the manager.
user_idYesThe employee requesting leave (the request is made as this user).
end_dateYesLast day (yyyy-mm-dd).
end_am_pmNo'am' ends at midday (half day); default 'pm'.
start_dateYesFirst day (yyyy-mm-dd).
start_am_pmNo'pm' starts at midday (half day); default 'am'.
leave_type_idYesLeave type id (see rotacloud_list_leave_types; must be requestable).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only supply destructiveHint=true, so the description carries most of the behavioral burden and does add real value: it flags the operation as a WRITE, says the request is made 'as that user', and discloses the approval workflow and the User-header auth context. Missing details (irreversibility, conflict handling, response shape) are minor for a create operation.

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?

A single compact sentence, front-loaded with the 'WRITE:' marker and the core action, with no filler. Each clause (action, acting-as semantics, approval destination, endpoint/header) earns its place.

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 7-parameter write tool with full schema coverage, no output schema, and only one annotation, the description covers the essentials: what it does, who it acts as, and where the request goes. It stops short of describing success/error outcomes or validation constraints that would fully round it out.

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 schema already documents all seven parameters including the half-day am/pm enums. The description's 'sent as that user' and 'on behalf of an employee' reinforce the user_id semantics, but this is marginal over what the schema already states; baseline 3 is appropriate.

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+resource ('submit a leave request') with scope ('on behalf of an employee') and clarifies the workflow ('for a manager to approve'). It is clear what the tool does, though it does not explicitly name the sibling it complements (rotacloud_approve_leave_request) so differentiation is only implied.

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?

There is no explicit when-to-use or when-not-to-use guidance. The 'on behalf of an employee' phrasing hints at a manager acting for staff, but nothing tells the agent how this differs from list/get/approve/deny variants, nor what prerequisites (a requestable leave type) apply.

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.