Skip to main content
Glama

delete_leave_type

Deactivate a leave type by providing its ID. Prevents deletion of the last active leave type to maintain at least one leave type.

Instructions

Delete (deactivate) a leave type. Cannot delete the last active one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leave_type_idYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses a behavioral constraint—cannot delete the last active leave type—but does not mention permissions, side effects, or what happens on deletion (e.g., if leave types in use are affected).

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 description is a single sentence that efficiently conveys the action and a key constraint. No unnecessary words.

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?

The tool is simple (one parameter, no output schema), but the description lacks parameter explanation and return value info. For a deletion tool, basic completeness might include what the response indicates (e.g., success/failure), which is missing.

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?

Schema description coverage is 0%, so the description must add meaning beyond the schema. However, the description does not mention the leave_type_id parameter at all, leaving the agent with only the schema name and type (integer). This is insufficient for understanding the parameter's role or format.

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 clearly states the action: 'Delete (deactivate) a leave type.' It also adds a specific constraint ('Cannot delete the last active one'), which distinguishes it from other tools like update_leave_type or create_leave_type.

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?

The description implies when to use (for deletion) but provides no explicit guidance on when not to use or alternatives. The constraint about not deleting the last active one gives some usage context, but no direct comparison to siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mlequime/timetastic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server