Skip to main content
Glama
ant-intl

Antom MCP Server

Official
by ant-intl

create_refund

Initiate a full or partial refund for a successful payment. Multiple refunds are allowed as long as the total does not exceed the original amount.

Instructions

The tool is used to initiate a refund against a successful payment. The refund can be full or partial. A transaction can have multiple refunds as long as the total refund amount is less than or equal to the original transaction amount. If the refund request is out of the refund window determined in the contract, the refund request will be declined.

    Args:
        refund_request_id: The unique ID assigned by the merchant to identify a refund request.Maximum length: 64 characters
        payment_id: The unique ID assigned by Antom for the original payment to be refunded.Maximum length: 64 characters
        refund_amount_currency: The currency used for the corresponding payment of the refund. The value is a 3-letter currency code that follows the ISO 4217 standard.
        refund_amount_value: The amount to charge as a positive integer in the smallest currency unit. (That is, 100 cents to charge $1.00, or 100 to charge JPY 100, a 0-decimal currency).Value range: 1 - unlimited
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refund_request_idYes
payment_idYes
refund_amount_currencyYes
refund_amount_valueYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Discloses refund limits and window enforcement, but with no annotations, it omits idempotency, side effects, or error handling specifics.

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?

Concise, well-structured, with purpose, conditions, and parameter details in a logical order without redundancy.

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?

Covers core behavior and parameter semantics; could mention return value structure or error scenarios, but output schema exists and complexity is low.

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

Parameters5/5

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

Each parameter is described with purpose, format, and constraints (e.g., refund_amount_value as smallest currency unit), adding significant value beyond the schema titles.

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?

The description clearly states the tool initiates a refund against a successful payment, distinguishing it from siblings like cancel_payment or create_payment_session.

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?

Provides conditions for use (full/partial refund, multiple refunds allowed, refund window) but lacks explicit when-not-to-use or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ant-intl/global-antom-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server