Skip to main content
Glama

GradedOdds — sports odds, results & settlement

Bet slip calculator

settle_slip

Settles a bet slip with a sportsbook's rules: single (each leg a bet of the full stake), multiple (odds multiplied; one lost leg loses), system (k of n, the stake split over the combinations). Status PENDING while a leg is not decided.

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": {
      "type": "<type>",
      "stake": "<stake>",
      "legs": "<legs>"
    },
    "name": "settle_slip"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNoFor a system: legs per combination (2 ≤ k < number of legs)
legsYesThe selections
typeYessingle | multiple | system
stakeYesThe stake (for a system: the whole stake)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the settlement arithmetic for each of the three modes plus the PENDING-while-undecided status behavior. It never says whether settlement is a pure calculation or a state-changing write, nor how void/push legs, rounding, or stake returns are handled — significant gaps for a tool named 'settle'.

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?

A single front-loaded sentence with the verb first, followed by tightly scoped parentheticals that each define one mode. No filler, no redundancy, and the informational density is earned.

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

Completeness2/5

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

This is a non-trivial calculator with no annotations and no output schema, so the description must cover returns and edge cases itself. It says nothing about what comes back (payout, per-combination breakdown, status values beyond PENDING) or about void/push legs, leaving the agent unable to interpret the result of a call.

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 schema already documents all four parameters and the baseline would be 3. The description goes beyond it by explaining the system mechanics ('k of n, the stake split over the combinations') and that a multiple multiplies odds with any lost leg losing the whole bet, which clarifies the meaning of 'type', 'k', and 'stake' rather than restating them.

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?

States a specific verb and resource ('Settles a bet slip') and immediately scopes it to sportsbook rules, then decomposes the three settlement modes. It is unambiguous what the tool computes, though it never contrasts itself with siblings such as get_result, which an agent might otherwise confuse with settlement.

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 only implied: the parenthetical definitions of single/multiple/system tell the agent which 'type' value to pick, and the PENDING note hints at when a slip is not yet fully settled. There is no explicit statement of when to call this versus looking up results, no prerequisites, and no exclusions.

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