Skip to main content
Glama

finance

Agent: Delete payment link

delete_payment_link
Destructive
    Delete one of the user's saved payment links permanently. After
    deletion, payment discussions for that context fall back to the
    account's bank link.

    Args:
        payment_link_id: The link's id.

    Returns:
        {"success": True, "deleted_id": ...} or an error when not found.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payment_link_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: deletion is permanent and payment discussions for that context fall back to the account's bank link. It also discloses the return shape, though it doesn't cover error conditions in detail.

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 body is short, front-loaded with the core action, and the consequence follows immediately. The Args/Returns scaffolding is somewhat boilerplate given the schema already defines the argument, but overall it is efficient and readable.

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 no output schema, the description supplies the return shape, and for a destructive mutation it discloses permanence and the downstream fallback behavior. Error handling is mentioned only vaguely ('an error when not found'), which is the main residual gap.

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% for the single parameter, so the description must compensate. 'payment_link_id: The link's id' largely repeats the parameter name and adds no format, source, or lookup guidance (e.g., where to obtain the id), doing little to compensate for the coverage gap.

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?

States a specific verb and resource ('Delete ... saved payment links permanently'), which clearly separates it from save_payment_link and list_payment_links. It does not explicitly name sibling tools or contrast against them, so it falls just short of a 5.

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 implied by 'one of the user's saved payment links,' and the fallback sentence conveys a consequence of using it. However, there is no explicit when-to-use/when-not guidance and no named alternative (e.g., prefer save_payment_link over 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