Skip to main content
Glama
Leave Management MCP Server

Leave Management MCP Server

by tarun-gt

submit_leave_request

Submit a new leave request with employee ID, leave type, start and end dates, and reason so the absence can be recorded for review or approval.

Instructions

Apply for a new leave request.

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": {
      "employee_id": "<employee_id>",
      "leave_type": "<leave_type>",
      "start_date": "<start_date>",
      "end_date": "<end_date>",
      "reason": "<reason>"
    },
    "name": "submit_leave_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYes
end_dateYes
leave_typeYes
start_dateYes
employee_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and supplies almost nothing. It does not state whether the request is created in a pending/approval state, whether overlapping or insufficient-balance requests are rejected, what permissions are needed, or whether submission is reversible or cancellable.

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

Conciseness3/5

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

The single sentence is front-loaded and free of waste, but its brevity reflects under-specification rather than disciplined editing. There is no structural element such as a usage condition or a note on required fields to anchor the agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation tool with five required parameters and zero annotation coverage; the only thing not needed is return-value explanation, since an output schema exists. The description should at minimum cover validation behavior and the approval workflow implied by "request", and it covers neither.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for five required parameters, so the schema supplies only bare titles. The description compensates for none of it — no format hints for start_date/end_date, no indication of the leave_type vocabulary, and no explanation of how employee_id is sourced.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Apply for a new leave request" names a specific verb (apply) and resource (leave request), so the basic action is identifiable. However, it offers no differentiation from siblings like review_leave_request or list_leave_requests beyond the word "new", leaving scope 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?

The description contains no when-to-use guidance, no prerequisites, and no mention of alternatives. An agent cannot tell from this text whether to check leave balance or date availability first, even though those siblings exist.

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