Skip to main content
Glama
zerotaldev

io.github.zerotaldev/ozow

by zerotaldev

Cancel an Ozow payment request

ozow_cancel_payment
DestructiveIdempotent

Cancels an incomplete payment request, stopping the payer from using its link. The cancellation is irreversible.

Instructions

Cancel a payment request that has not been completed. Irreversible: the payer can no longer use that link.

Input Schema

NameRequiredDescriptionDefault
paymentIdYesThe payment id to cancel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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, but the description adds the concrete consequence that annotations cannot express: the payer's link becomes unusable and the action is irreversible. It does not describe the failure mode for an already-completed payment, which is the main remaining behavioral question.

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

Conciseness5/5

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

Two sentences, front-loaded with the action and followed immediately by the irreversibility warning. No filler or restatement of the title.

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 mutation with no output schema, the description covers purpose, precondition and consequence well. Minor gap: no mention of the error/behavior when cancelling an already-completed payment, and no note on whether the paymentId comes from ozow_create_payment or ozow_get_transactions.

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?

There is a single parameter with 100% schema description coverage ('The payment id to cancel'), so the schema carries the semantics. The description adds nothing about the payment id's format or where it comes from, which is acceptable given the coverage baseline.

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 ('Cancel a payment request') plus a scope condition ('that has not been completed'). No sibling tool overlaps with cancellation, so an agent can place it immediately relative to ozow_create_payment and ozow_get_transactions.

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?

The precondition 'has not been completed' tells the agent when this tool is applicable, which is the key usage signal for a cancel operation. It stops short of saying what happens if the precondition is violated or whether any verification step (e.g. ozow_get_transactions) should precede cancellation.

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