Skip to main content
Glama

Truvana Tech Card Processing and POS Database

Credit card processing fee calculator

card_fee_calculator
Read-onlyIdempotent

A merchant's real card processing rate from one monthly statement: total card sales and total fees (and the number of card sales, if known). Returns the effective rate, cost per $100 and per year, and the same month at common example flat rates (2.6% + 15¢ (tapped or inserted); 2.9% + 30¢ (online); 3.5% + 15¢ (keyed in); examples, not anyone's quote). Interactive version: https://truvanatech.com/tools/card-fee-calculator

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": {
      "sales": "<sales>",
      "fees": "<fees>"
    },
    "name": "card_fee_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
feesYesTotal fees on the same statement, $
salesYesTotal card sales on the monthly statement, $
transactionsNoNumber of card sales that month, if the statement shows it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds real value beyond that by disclosing the return payload in detail and, importantly, flagging that the comparison flat rates are illustrative examples and not anyone's quote. It does not discuss precision or rounding, which is a minor gap.

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?

The definition is front-loaded with the core purpose and the return values follow immediately. The rate examples are packed into nested parentheticals that make the sentence dense, but each clause carries useful information. The closing URL is brief and relevant.

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?

With no output schema, the description correctly carries the burden of explaining what comes back, listing the rate, per-$100, per-year, and comparison figures. Combined with full schema coverage and annotations covering the safety profile, an agent has what it needs to call this correctly. Minor omissions are rounding/precision and the exact comparison assumptions.

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 the baseline is 3. The description reinforces that sales and fees must come from the same statement and that transaction count is optional when known, which is modest added meaning over the schema. It does not add units or edge-case behavior beyond what the schema already states.

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 names a specific verb and resource: it computes a merchant's effective card processing rate from one monthly statement's total card sales and total fees. It even enumerates the outputs (effective rate, cost per $100, cost per year, comparison at flat rates). It does not explicitly contrast itself with siblings like card_surcharge_rules or card_price_sign_check, so it falls just short of the top score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: use this when you have a monthly statement's total sales and fees. There is no explicit when-not guidance and no named alternative among the siblings. The pointer to an interactive version is a helpful extra, but it does not substitute for routing guidance.

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.