Skip to main content
Glama

lease-schedule

Delete a loan from the register

loan_delete
Destructive

Remove one loan or lease from the register and give its free-tier slot back. Refused, with the entry named, if a journal has already been taken from it. Free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loanYesThe loan id, e.g. LOAN-2026-0001, or its exact name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already mark this as destructive, and the description adds useful behavioral context: the loan is removed from the register, a free-tier slot is recovered, and the operation is refused with the entry named if a journal has already been taken. This goes beyond the annotation data, though the final 'Free.' is somewhat cryptic.

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

Conciseness4/5

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

The description is compact and front-loads the core action and consequence. The second sentence adds the important refusal condition. The one-word 'Free.' is ambiguous and borderline redundant, preventing a perfect score.

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?

For a simple one-parameter destructive tool with no output schema, the description covers the action, the slot-recovery consequence, and the key failure condition. It could mention permanence or response details, but destructiveHint already signals the risk, so the description is reasonably complete.

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 coverage is 100%, and the loan parameter is already described with its type, max length, and an example ID/name. The description does not add additional parameter-level meaning, so the baseline score of 3 is appropriate.

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 ('Remove') with a clear resource ('one loan or lease') and states the consequence ('give its free-tier slot back'). This distinguishes it from sibling tools like loan_create, loan_list, and loan_journal, which serve different purposes.

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 the tool through its delete intent, and it provides a clear when-not condition: the deletion is refused if a journal has already been taken from the loan. However, it does not explicitly compare against alternatives or explain when another sibling like loan_repay_early might be more appropriate.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.