Skip to main content
Glama

Delete a loyalty account

delete_loyalty_account
DestructiveIdempotent

Permanently delete a loyalty account by id. This permanently deletes the record — call this tool only after the user has explicitly confirmed the deletion.

Input Schema

NameRequiredDescriptionDefault
idYesID of the loyalty account to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is structured data; the description adds the confirmation requirement and reinforces irreversibility, which is genuinely beyond the annotations. It stops short of disclosing downstream consequences (whether related transactions/stays/loyalty data are cascaded) or behavior when the id does not exist.

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?

Two short sentences with the operation and the safety precondition front-loaded; nothing extraneous. Minor waste in repeating 'permanently' twice across the two sentences.

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 one-parameter destructive tool with annotations covering destructiveness and idempotency, the definition supplies the one thing annotations cannot: the human-confirmation gate. Missing only cascade/not-found behavior, which is a modest omission given no output schema exists.

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% and the single id parameter is fully documented in the schema. The description only restates 'by id' and adds no format, source, or validation meaning beyond what is already structured.

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?

States a specific verb and resource ('Permanently delete a loyalty account') plus the lookup key ('by id'). It is trivially distinguishable from siblings such as update_loyalty_account, list_loyalty_accounts, and the other delete_* tools, which act on different resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition: call only after the user has explicitly confirmed the deletion. This is real when-to-use guidance, but it never names the alternative action (e.g. update_loyalty_account for modification, or list_loyalty_accounts to verify the id before deleting).

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.

Resources