Skip to main content
Glama

early_delete_leave

DestructiveIdempotent

Permanently deletes a leave record by ID; use it to remove leave entries, with Admin/Owner rights required to delete another user's leave.

Instructions

Delete a leave. Irreversible. Requires Admin/Owner for other users' leaves.

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_delete_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
Behavior4/5

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

The annotations already flag destructiveHint=true, so irreversibility is technically covered, but the description usefully restates it as a warning and adds permission semantics (Admin/Owner required for other users' leaves) that the annotations do not convey. It does not mention side effects such as balance/accrual adjustments or notifications.

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 terse sentences, zero filler, with the action and the destructive warning front-loaded ahead of the role caveat. Nothing could be removed without losing 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?

An output schema exists, so return values need no explanation, and the description covers the critical facts: the operation is destructive and role-gated. Only minor gaps remain, such as what happens to associated balances or records after deletion.

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?

There is one parameter (leave_id) with effectively 0% descriptive coverage in the schema, so the description must carry the burden. It says nothing about the identifier's form or where to obtain it, only implicitly distinguishing whose leave can be targeted via the role note.

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 opens with a specific verb+resource ('Delete a leave'), which separates it from approve/deny/create leave siblings by action alone. It stops short of naming any sibling explicitly, so differentiation relies on the reader knowing what those other tools do.

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?

Usage is only implied: delete a leave, and you need Admin/Owner for other users' leaves. There is no explicit guidance on when to delete versus deny or otherwise cancel a leave, and no stated prerequisites beyond the role requirement.

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