Skip to main content
Glama

Deferred Wave payment deletion

wave_delete_payment
Destructive

Requests deletion of a Wave Accounting payment by payment ID and optional business ID, failing closed with a typed error and no provider calls until deletion is verified.

Instructions

A79 FAIL-CLOSED DEFERRED in Phase1; typed error and ZERO provider calls. Unaccepted for full FR6 until gated Phase2/3 origin verification. No processor probe/provenance ledger.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "paymentId": "<paymentId>"
    },
    "name": "wave_delete_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentIdYes
businessIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.5/5.0
Behavior1/5

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

Annotations declare destructiveHint=true and openWorldHint=true, while the description asserts 'ZERO provider calls' and 'No processor probe', implying the call currently has no side effects. That is a direct conflict about what the tool actually does, so an agent cannot tell whether invoking it destroys anything. Flagged as an annotation contradiction.

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

Conciseness2/5

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

The text is short but dense with unexplained acronyms and phase references rather than front-loading the action and effect. Nearly every clause requires internal context to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent payment operation with no output schema and fully undocumented parameters, the description omits what gets deleted, what the 'typed error' contains, and under what conditions the call succeeds. The definition is not sufficient to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description says nothing about paymentId or businessId, including whether businessId scopes or is required for authorization. Both parameters are effectively undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states a plain verb+resource; it is written in internal ticket jargon ('A79 FAIL-CLOSED DEFERRED in Phase1', 'FR6', 'provenance ledger'). An agent can only infer 'delete a payment' from the tool name and title, not from the description text itself.

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

Usage Guidelines2/5

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

'Unaccepted for full FR6 until gated Phase2/3' hints that the tool is not yet usable for its full purpose, but it gives no actionable condition such as when an agent should call this versus wave_update_payment or wave_record_payment. There is no when-to-use or when-not-to-use guidance an agent can act on.

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