Skip to main content
Glama

ScorpTech x402 Tools

Credit Payoff

credit_payoff
Read-onlyIdempotent

Credit-card and revolving-balance payoff in exact cents. Give a balance, an annual percentage rate, and a fixed payment (or a minimum that is the greater of a percent of the new balance and a floor). Returns the months to zero, total interest, total paid, and a yearly rollup. Interest each month is round-half-up of balance × APR / 12. The last payment is the remaining balance plus that month's interest. Refuses a payment that does not cover the interest. Returns JSON with: months, payment, totalInterest, totalPaid, years, method, scheduledPayment, payoffDate. Price: $0.002 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/credit-payoff

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": {
      "balance": "<balance>",
      "ratePct": "<ratePct>"
    },
    "name": "credit_payoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
startNoFirst payment date YYYY-MM-DD. Later payments fall on the same day, clamped to the month end
balanceYesCurrent balance, decimal
paymentNoFixed payment per month
ratePctYesAnnual percentage rate, e.g. 19.99
minFloorNoMinimum payment floor used with minPercent, default 0
minPercentNoInstead of a fixed payment: percent of the new balance (after interest)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description discloses rounding behavior, last-payment handling, refusal conditions, return fields, pricing, and an HTTPS endpoint. This is rich behavioral context for correct invocation.

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 dense but front-loaded, moving from core purpose to mechanics, return values, and access details without filler. Every sentence contributes useful information for invoking or interpreting the tool.

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?

For a six-parameter financial calculation with no output schema, the description supplies the missing return structure, rounding rules, refusal behavior, and pricing. Nothing essential for correct use appears to be omitted.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning by explaining the relationship between payment, minPercent, and minFloor. It clarifies that minPercent applies to the new balance after interest and that the minimum is the greater of percent and floor.

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 states a specific computation: credit-card and revolving-balance payoff in exact cents. It clearly identifies the inputs and outputs, so an agent can tell exactly what the tool does.

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?

It explains how to supply either a fixed payment or a minimum payment defined as the greater of a percent of the new balance and a floor. It also states that payments not covering interest are refused, giving clear usage conditions, though it does not name alternatives.

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