Skip to main content
Glama

Retry Payment

retry_payment
Destructive

Create a replacement hosted Razorpay, Cashfree, PhonePe, or Paytm checkout for a failed or terminated attempt after signed-in browser approval, reserving stock/rewards. Does not capture payment.

Input Schema

NameRequiredDescriptionDefault
attempt_idYes
confirmation_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The description adds real context beyond the annotations: it discloses the precondition (signed-in browser approval), the side effects (reserving stock/rewards), and an explicit non-behavior ('Does not capture payment'), which usefully qualifies the destructiveHint=true mutation. It still doesn't address reversibility or idempotency of the newly created checkout.

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?

A single dense sentence leads with the action and follows with the precondition, side effects, and non-behavior. The gateway-name list is slightly padded but the sentence is front-loaded and free of filler.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and the annotations cover the safety profile. The remaining gap is the total absence of parameter guidance for a non-idempotent, destructive mutation, which the description never compensates for.

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% and neither parameter is named or explained. 'Attempt' and 'signed-in browser approval' only obliquely hint at attempt_id and confirmation_id, leaving the agent to guess which identifier to supply and where to obtain it.

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?

Concrete verb ('Create a replacement hosted ... checkout') plus a precisely scoped resource (a failed or terminated payment attempt) and the gateway options. It does not differentiate itself from the closely related sibling resume_payment, so it stops 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 Guidelines4/5

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

States the selecting condition clearly: use it for a failed or terminated attempt, and only after signed-in browser approval. It gives no explicit when-not guidance or pointer to resume_payment / cancel_payment_attempt as alternatives, so it lacks exclusions.

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