Skip to main content
Glama

compare_gateway_fees

Compare transaction fees across Stripe, Razorpay, and LemonSqueezy for any amount and currency, get itemized cost breakdowns and the lowest-fee gateway.

Instructions

Evaluates and compares the transaction processing fees, percentage cuts, fixed interchange fees, and estimated net payouts across Stripe, Razorpay, and LemonSqueezy for a given transaction amount and currency. Returns an itemized fee breakdown for each supported gateway alongside the recommended lowest-cost provider.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesThe gross transaction amount in minor currency units (e.g., 10000 for $100.00 or ₹100.00) to calculate fee deductions against.
currencyYesThree-letter ISO 4217 currency code (e.g., "USD", "INR", "EUR", "GBP") to evaluate currency-specific processing rate tiers.
Behavior4/5

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

The tool is read-only, and the description emphasizes evaluation and comparison with no side effects. However, it does not explicitly state that it makes no modifications or external calls, which could be worth mentioning for full transparency. The absence of side-effect annotations is offset by the clear intent.

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 concise, composed of two sentences that cover the input, the process, and the output. No redundant or extraneous information is included. It is well-structured and easy to read.

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

Completeness5/5

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

The description fully explains the tool's purpose, inputs (amount and currency), and outputs (itemized fee breakdown and recommended provider). Since there is no output schema, the description adequately covers what the caller should expect. No critical information about the tool's behavior is missing.

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

Parameters4/5

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

The schema descriptions for both parameters are highly detailed, providing units (minor currency units), examples, and valid currency codes. The tool description adds no extra parameter information but relies on the schema, which is already comprehensive. Since schema coverage is 100%, a baseline of 3 is appropriate, but the schema's clarity raises the score to 4.

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's function: comparing transaction fees across Stripe, Razorpay, and LemonSqueezy for a given amount and currency. It distinguishes itself from sibling tools that handle payment link creation, webhooks, analytics, itemized invoices, and refunds, making its specific purpose unambiguous.

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 implicitly indicates when to use this tool—whenever a fee comparison across these gateways is needed. It does not explicitly contrast with alternatives, but the distinct purpose and the mention of the recommended lowest-cost provider make the usage context clear. A brief note on when not to use it would have earned a 5.

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/pritam825/unified-pay-cli'

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