Skip to main content
Glama

Deferred Wave payment update

wave_update_payment

Updates an existing Wave payment by ID within a business; returns a typed error instead of calling a provider when the gated workflow is deferred.

Instructions

A79 FAIL-CLOSED DEFERRED in Phase1; typed error and ZERO provider calls. Unaccepted for full FR6 until gated Phase2/3 origin verification. No caller assertion enables it.

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_update_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentIdYes
businessIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/5.0
Behavior3/5

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

Beyond the annotations, the description discloses genuinely useful behavior: the call fails closed, returns a typed error, and makes zero provider calls, so the agent knows nothing is mutated. That is real added context. The tension is that annotations declare openWorldHint=true and destructiveHint=false while the text promises zero provider calls and no effect, and the specific error type is never named.

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?

It is short, but the brevity comes from compressing into unexplained acronyms and phase references rather than from front-loading the operational fact. The most important sentence ('fails closed, returns a typed error, makes no provider calls') is buried mid-string behind 'A79'.

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

Completeness2/5

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

For a mutation tool with no output schema and no parameter documentation, the definition covers only that the tool is disabled. It omits what error the caller will receive, whether the deferred state is permanent, and what the tool will do once enabled, leaving the agent to guess at the entire failure contract.

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% for 2 parameters (required paymentId, optional uuid businessId), so the description must carry the burden and it says nothing at all about either. No format, no meaning of businessId scoping, no example.

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 never says this updates a Wave payment or what fields a payment update would touch. The title ('Deferred Wave payment update') is the only clue, and the body is internal ticket jargon (A79, FR6, Phase1/2/3). An agent learns the tool is disabled, but not what it does.

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?

'No caller assertion enables it' and 'Unaccepted for full FR6 until gated Phase2/3' imply the tool cannot be usefully invoked yet, which is a de facto when-not-to-use signal. However, it never names the sibling to use instead (e.g. wave_record_payment or wave_delete_payment) and never states the precondition in plain operational terms.

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