Skip to main content
Glama

early_create_leave

Create a leave request for yourself by specifying leave type ID, start date, end date, and an optional note.

Instructions

Create a leave request for yourself.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

The description is consistent with annotations declaring a non-read-only, non-idempotent, non-destructive operation. Calling it a "request" and scoping it to the current user adds modest actor and workflow context, but it does not explain approval status, permissions, validation, or duplicate-request behavior.

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?

The single sentence is direct, front-loaded, and contains no unnecessary wording. Both the action and the important self-only scope are communicated efficiently.

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 simple create operation with an output schema, the definition is minimally sufficient: the agent knows the action and self-scope, while the schema supplies most payload details. It still leaves clear gaps around submission and approval behavior, date validation, and explicit routing to the for-user alternative.

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 adds no parameter guidance and therefore does not compensate for the reported 0% schema-description coverage. The nested schema does identify the required fields and ISO 8601 date formats, but neither schema nor description explains where to obtain type_id or whether the end date is inclusive.

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 uses a specific verb and resource: creating a leave request. The phrase "for yourself" also distinguishes it from the sibling early_create_leave_for_user, which is intended for requests involving another user.

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?

"For yourself" provides clear usage context: use this operation to submit the current user's own leave request. It does not explicitly direct agents to early_create_leave_for_user when acting on someone else's behalf or state any prerequisites.

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