Skip to main content
Glama

SteadyMetric Public Tools

Payment fee comparison

calculate_payment_fees
Read-onlyIdempotent

Compare the amount retained under two supplied percentage-plus-fixed fee schedules. Numeric scenarios only. Enter your actual provider schedule. Default numbers are fictional, not quotes. Taxes, foreign exchange, minimum fees, refunds, gas and cross-border charges are included only if you add them to the supplied fee assumptions. A negative retained amount is possible.

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": {
      "amount": "<amount>",
      "rate_a": "<rate_a>",
      "fixed_a": "<fixed_a>",
      "rate_b": "<rate_b>",
      "fixed_b": "<fixed_b>"
    },
    "name": "calculate_payment_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesPayment amount (USD)
rate_aYesOption A rate (%)
rate_bYesOption B rate (%)
fixed_aYesOption A fixed charge (USD)
fixed_bYesOption B fixed charge (USD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, and the description still adds real behavioral context: which charges are excluded unless explicitly added (taxes, FX, minimum fees, refunds, gas, cross-border) and that a negative retained amount is a possible outcome. That negative-result warning is especially valuable since there is no output schema.

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?

Sentences are short and the core purpose is front-loaded, with caveats following in a sensible order. The line 'Default numbers are fictional, not quotes' is slightly confusing since all five parameters are required and the schema defines no defaults, which costs a point.

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 simple pure-computation tool with five fully documented required parameters and complete annotations, the description covers scope limits and the possible negative result. The only gap is that no return shape is described, which is acceptable given the tool's simplicity but would help for a comparison output.

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 confirms rates are percentages and charges are fixed amounts and frames the A/B pairing as two competing schedules, but it adds no format, unit, or constraint detail beyond what the schema already states.

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 and resource: 'Compare the amount retained under two supplied percentage-plus-fixed fee schedules.' Combined with 'Numeric scenarios only,' an agent can immediately tell this is a two-option fee comparison calculator, distinct from the other calculate_* siblings (AI margin, retry cache cost, seat renewal).

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?

The description directs the agent to 'Enter your actual provider schedule' and warns that default/example numbers are fictional, which is genuine input guidance. However, it never says when to pick this tool over the sibling calculators, nor does it define a when-not condition; usage is implied by the scenario rather than stated.

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