Skip to main content
Glama
Payware MCP Server

Payware MCP Server

Official
by payware

payware_data_cancel_report

DestructiveIdempotent

Cancel a queued Payware report generation request using its request ID. Only reports currently in QUEUED status can be cancelled.

Instructions

[Merchant] Cancel a running report generation. Only reports in QUEUED status can be cancelled.

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": {
      "requestId": "<requestId>"
    },
    "name": "payware_data_cancel_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
partnerIdNoPartner ID from payware dashboard. Uses PAYWARE_PARTNER_ID env var as default.partner_12345
requestIdYesThe request ID of the report to cancel (UUID format)
privateKeyNoRSA private key for authentication. Uses environment-specific private key as default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false. The description adds the important QUEUED-only constraint, but it does not explain the effect of cancellation on generated output, what happens when the report is not cancellable, or any authentication context beyond what the schema provides.

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?

The description is two short sentences with the action front-loaded and the critical status constraint immediately after. There is no redundant or filler text.

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 three-parameter mutation with full schema coverage and annotations covering safety traits, the description supplies the key eligibility rule. It is nearly complete, but it omits what the destructive cancellation does to report data and does not point to alternatives for non-QUEUED reports.

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 schema documents all three parameters, including the required requestId as a UUID. The description adds no additional parameter meaning, so the baseline score of 3 is appropriate.

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?

The description states a specific verb and resource: cancel a report generation. It also adds the scope condition that only QUEUED reports can be cancelled. However, 'running' is slightly inconsistent with QUEUED and it does not explicitly distinguish this tool from the sibling cancel_export.

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 description gives a clear precondition and implicit exclusion: only reports in QUEUED status can be cancelled. It does not name an alternative tool for other statuses or for exports, so it falls short of full alternative routing.

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

Deploy Server

Other Tools