Skip to main content
Glama

Manage Bet Codes

Split Bet Code Into 2–20 Codes

mbc_split_code

Split one booking code into 2 to 20 codes on the same bookmaker; every game lands in exactly one new code. Costs 2 credits plus 1 per extra code; unused parts are refunded.

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": {
      "code": "<code>",
      "bookmaker": "<bookmaker>"
    },
    "name": "mbc_split_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesBooking code to split.
countNoNumber of codes, for 'equal' and 'by_batches'.
orderNo'mixed' keeps slip order (default); 'by_start_time' puts the earliest kickoff first.
countsNoGames per code, for 'custom'. Must sum to the slip's game count.
methodNo'equal' spreads games evenly (default); 'by_batches' keeps consecutive games together; 'target_odds' groups games to reach target_odds per code; 'custom' uses the counts list.
bookmakerYesBookmaker key or alias (e.g. 'sportybet').
target_oddsNoCombined odds per code (e.g. 5.0), for 'target_odds'.
playable_onlyNoDefault true: drop finished, postponed, and unbookable live games before splitting and report the counts. Set false only to refuse any drop.

Output Schema

NameRequiredDescriptionDefault
partsNo
billingNo
successNo
new_codesNo
feasibilityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / playable_only
      Added value: +{
      +  "default": true,
      +  "description": "Default true: drop finished, postponed, and unbookable live games before splitting and report the counts. Set false only to refuse any drop.",
      +  "type": "boolean"
      +}
  2. Changed6 schema fields changed
    • changedInput schema / properties / bookmaker / description
      Previous value: -"Bookmaker key or alias (e.g. 'sportybet', 'bet9ja', '1xng', 'msport')."New value: +"Bookmaker key or alias (e.g. 'sportybet')."
    • changedInput schema / properties / count / description
      Previous value: -"Number of output codes (2 to 20) when method is 'equal' or 'by_batches'."New value: +"Number of codes, for 'equal' and 'by_batches'."
    • changedInput schema / properties / counts / description
      Previous value: -"Exact game count for each output code (must sum to total games on the slip) when method is 'custom'."New value: +"Games per code, for 'custom'. Must sum to the slip's game count."
    • changedInput schema / properties / method / description
      Previous value: -"Split method: 'equal', 'by_batches', 'target_odds', or 'custom' (default 'equal')."New value: +"'equal' spreads games evenly (default); 'by_batches' keeps consecutive games together; 'target_odds' groups games to reach target_odds per code; 'custom' uses the counts list."
    • changedInput schema / properties / order / description
      Previous value: -"Game order: 'mixed' (original slip order) or 'by_start_time' (sorted by kickoff)."New value: +"'mixed' keeps slip order (default); 'by_start_time' puts the earliest kickoff first."
    • changedInput schema / properties / target_odds / description
      Previous value: -"Target combined odds per output code (e.g. 5.0) when method is 'target_odds'."New value: +"Combined odds per code (e.g. 5.0), for 'target_odds'."
  3. Changed1 schema field changed
    • addedOutput schema / properties / feasibility
      Added value: +{
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare that this is a non-read-only, non-idempotent, non-destructive open-world call; the description adds genuinely new behavioral context that annotations do not cover — a concrete credit price model ('2 credits plus 1 per extra code') and partial-failure refund behavior ('unused parts are refunded'). It says nothing about output shape, but an output schema exists, so that gap is acceptable.

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?

Two sentences, front-loaded with the action and its outcome guarantee, followed by the cost model. No filler, no restatement of the tool name, and every clause carries distinct information.

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 an 8-parameter mutation with full schema coverage and an output schema, the description supplies the economics and the correctness invariant an agent needs to decide and charge for the call. The remaining shortfall is contextual rather than mechanical: it never explains where the resulting codes or dropped games are reported, and it does not mention the playable_only default drop behavior, which is only discoverable in the schema.

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%, and the enums for method and order already carry their own explanations in the schema, so the description is not required to compensate. It reinforces only two facts — the code count range and the same-bookmaker constraint — without adding syntax, defaults, or interactions between method/count/counts parameters. Baseline 3 applies.

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 ('split one booking code into 2 to 20 codes on the same bookmaker') plus a precise outcome guarantee ('every game lands in exactly one new code'), so the operation is unambiguous. It stops short of naming an alternative such as mbc_merge_codes, so an agent must infer the inverse relationship from sibling names alone.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance: no statement about prerequisites (e.g. the code must exist, be unbooked, be unsettled), and no routing against mbc_merge_codes, mbc_convert_code, or mbc_convert_to_all. The only usage constraint conveyed is the implicit 2–20 code bound, which the schema already enforces.

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.