Skip to main content
Glama

early_create_leave_for_user

Create approved leave for a team member by specifying user, leave type, and dates; requires Admin or Owner role.

Instructions

Create an approved leave for a team member. Requires Admin/Owner role.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "params": "<params>"
    },
    "name": "early_create_leave_for_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare the mutation/safety profile (readOnly=false, idempotent=false, destructive=false). The description adds two facts annotations cannot convey: the created leave is auto-approved (bypassing any approval step) and the caller must hold Admin/Owner role. It omits edge behavior such as overlap handling or whether notifications are sent, so it is strong but not exhaustive.

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?

Two short sentences, with the action stated first and the permission requirement second. Nothing is padded or redundant.

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?

An output schema exists, so return values need not be described, and the role requirement is covered. Still, for a mutation tool with five nested input fields, the description leaves open the crucial semantic of "approved" (does it skip approval entirely?) and says nothing about the required fields.

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?

The description says nothing about user_id, type_id, start_date, end_date, or the optional note. Schema coverage is reported at 0% for the top-level parameters, and the description does not compensate by explaining ID formats, date ordering expectations, or how note is used.

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 names a specific verb and resource ("Create an approved leave") plus the target ("for a team member"), which distinguishes it from a self-service create in the sibling list. It stops short of explicitly naming the sibling it differs from, so an agent must infer the distinction.

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?

"Requires Admin/Owner role" gives one concrete precondition for use, which is more than nothing. However, there is no guidance on when to pick this over early_create_leave or early_approve_leave, and no stated exclusion for cases like leave that should go through the normal approval flow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.