Skip to main content
Glama

Perfect Venue: Refund payment

perfect-venue_refund_payment

Perfect Venue: Refund an online payment in full or in part, with a reason. Refunds a payment that was made online, in full or in part, with a reason. Offline payments cannot be refunded here; they go back by the original payment method. Perfect Venue notes that a refund can take 5 to 7 business days to reach the guest, and takes the money from your connected payment account or bank account. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountNoAmount to refund. Omit for a full refund.
reasonYesReason for the refund.
payment_idYesOnline payment ID from list_payments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the write/open-world/non-destructive profile, and the description adds genuinely useful behavior: the 5-7 business day settlement to the guest, that funds are drawn from the connected payment or bank account, and that every call is user-confirmed by default. The 'Reaches other people: confirm with the user before each call' line surfaces a side effect the annotations do not encode. It stops short of stating failure modes (e.g., refunding an already-refunded payment).

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

Conciseness3/5

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

The purpose is front-loaded and the operational details follow logically, but the first two sentences are near-verbatim duplicates ('Refund an online payment in full or in part, with a reason' / 'Refunds a payment that was made online, in full or in part, with a reason'), and 'Perfect Venue notes that' is filler. One of six sentences is pure waste.

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 mutating financial tool with no output schema and full parameter coverage, the description covers the important ground: scope, exclusions, settlement timing, funding source, confirmation behavior, and the required Cotlet API key scope. Only edge-case/error behavior is left unspecified, which is a minor gap given annotations carry the safety profile.

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%, so all three parameters are already documented, including 'Omit for a full refund' for amount and 'Online payment ID from list_payments' for payment_id. The description adds no syntax, format, or constraint detail beyond the schema, so the baseline 3 applies.

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 (refund) and resource (online payment), with scope qualifiers (full or partial, with reason) that let an agent act without opening the schema. It also distinguishes itself from the offline path ('Offline payments cannot be refunded here'), which routes agents away from the sibling log_offline_payment.

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?

Explicitly gives a when-not: offline payments cannot be refunded here and 'go back by the original payment method'. Full-vs-partial usage is implied via 'in full or in part' plus the schema's amount semantics, but there is no explicit instruction on how to obtain the payment_id or when a partial refund is preferred over a full one.

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