Skip to main content
Glama

LLPRO Finance

Build a card dispute outcome table: win rate and days to close by reason code, with sources and a signed record

card_dispute_outcome_table_win
Read-onlyIdempotent

Card dispute outcome table. Send one row per card dispute case you handled: network (visa, mastercard, amex, discover, other), reason code, outcome (won, lost, withdrawn, open), days to close, and optionally your own merchant label. Get back win rate (won out of decided cases, with a 95 percent interval) and days to close (median, 90th percentile, mean) by network reason code, by reason-code family across networks and by merchant label, the meaning of each Visa, Mastercard and American Express code, a flag for groups with too few cases, and the federal clocks (Regulation E 1005.11, Regulation Z 1026.13) with the date each rule was last amended. Set check_sources true to ask the eCFR whether either rule was amended since. Free. No model, nothing stored, signed record. Up to 500 rows. This version has no pooled data: the table is built from your rows only. Use merchant labels, never card numbers, names or emails. Not legal, banking or compliance advice. Docs: https://llpro.ai/card-dispute-outcome-table-win

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": {
      "outcomes": "<outcomes>"
    },
    "name": "card_dispute_outcome_table_win"
  }
}

Input Schema

NameRequiredDescriptionDefault
outcomesYes
min_casesNoA group with fewer decided cases than this is flagged too_few_to_rely_on. Default 20.
check_sourcesNoAlso read the eCFR version history of the two rules and report whether either was amended after the date this tool was written.

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=true, idempotentHint=true and destructiveHint=false, and the description usefully reinforces this with 'Free. No model, nothing stored, signed record' plus the 500-row cap and the explicit 'no pooled data' limitation. It also warns about the external eCFR check via check_sources (consistent with openWorldHint=true) and adds a privacy constraint 'Use merchant labels, never card numbers, names or emails'. It stops short of describing failure behaviour for malformed rows or what the signed record contains, so not a 5.

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 content is front-loaded with what to send and what comes back, and every clause carries information (row cap, privacy rule, disclaimer, docs URL). It is, however, one dense run-on block with comma-spliced lists ('win rate ..., days to close ..., the meaning of each ... code, a flag ..., and the federal clocks') that is harder to scan than it needs to be.

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 carries the burden of explaining returns and does so thoroughly: win rate with a 95% interval, median/90th percentile/mean days to close, groupings, code meanings, too-few-cases flag, and the regulation clocks. Combined with the schema's parameter descriptions and the read-only annotations, an agent has nearly everything needed; only edge-case/error behaviour is unaddressed.

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 coverage is 67%, so the schema already documents network, outcome, reason_code, days_to_close and merchant. The description adds little parameter-level detail beyond enumerating the network values and explaining that check_sources asks the eCFR about amendments; it does not clarify min_cases by name despite referencing 'a flag for groups with too few cases'. Its richest content (win rate, medians, grouping) describes outputs, not inputs.

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 gives a specific verb and resource: 'Send one row per card dispute case' and 'Get back win rate ... and days to close ... by network reason code'. It is precise about inputs and outputs, but never names a sibling tool or states why this table tool would be chosen over e.g. retailer_deduction_dispute_win or outcome_dispute, so sibling differentiation is absent.

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: 'Send one row per card dispute case you handled' tells the agent what to supply, and 'This version has no pooled data' hints at a scope limitation. However there is no explicit when-to-use / when-not-to-use guidance or pointer to an alternative tool for pooled benchmarks, which is what a 4 or 5 would require.

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