Skip to main content
Glama

delete_leave_period

DestructiveIdempotent

Remove a leave period by ID to free its days for declarations again; requires confirm=true.

Instructions

Delete a leave period, which frees its days for declarations again.

Input Schema

NameRequiredDescriptionDefault
idYesThe leave period's identifier.
confirmNoMust be `true` to delete. Ignored when reading.

Output Schema

NameRequiredDescriptionDefault
idYesWhat was deleted.
kindYesThe kind of object that was deleted.
deletedYesAlways true: a failure is an error, not a `false`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds domain-specific behavioral context beyond them: deletion has the side effect of re-freeing the period's days for declarations. It stops short of stating irreversibility or the confirm requirement.

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, front-loaded sentence with zero filler; the verb and resource lead and the effect follows immediately.

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?

With annotations covering the destructive/idempotent profile, a 100%-covered schema, and an output schema for return values, the description only needs purpose and effect — both present. It could mention that 'confirm' must be true, but the schema already carries that requirement.

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%, with both 'id' and the mandatory 'confirm' flag fully documented in the schema. The description adds no parameter-level detail, so the baseline of 3 applies.

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?

Names a specific verb ('Delete') and resource ('a leave period'), and adds the consequence that its days become available for declarations again. It is clearly distinguishable from the other delete_* siblings by resource, but it does not explicitly route against alternatives such as update_leave_period.

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: the note about freeing days for declarations hints at why an agent would delete rather than update or keep the period, but there is no explicit when-to-use/when-not guidance or named alternative. Adequate but with clear gaps.

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