Skip to main content
Glama

Manage Bet Codes

Convert Bet Code (1 to 6 Targets)

mbc_convert_code

Convert a booking code from one source bookmaker to 1 target bookmaker or a synchronous batch of up to 6 target bookmakers. Costs 2 credits per target that produces a code; failed targets are automatically refunded. For every bookmaker at once, use mbc_convert_to_all.

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>",
      "from_bookmaker": "<from_bookmaker>",
      "to_bookmakers": "<to_bookmakers>"
    },
    "name": "mbc_convert_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesSource booking code (e.g. '7B9A2F').
to_bookmakersYesOne target bookmaker or a list of 1 to 6 (e.g. ['1xng', 'bet9ja']).
from_bookmakerYesSource bookmaker key or alias (e.g. 'sportybet').

Output Schema

NameRequiredDescriptionDefault
sourceNo
billingNo
successNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / from_bookmaker / description
      Previous value: -"Source bookmaker key or alias (e.g. 'sportybet', 'bet9ja', '1xng', 'stake')."New value: +"Source bookmaker key or alias (e.g. 'sportybet')."
    • changedInput schema / properties / to_bookmakers / description
      Previous value: -"Target bookmaker key/alias or list of 1 to 6 targets (e.g. '1xng' or ['1xng', 'bet9ja', 'msport'])."New value: +"One target bookmaker or a list of 1 to 6 (e.g. ['1xng', 'bet9ja'])."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, open-world, non-idempotent, non-destructive operation. The description adds genuinely non-derivable behavior: 2 credits charged per target that actually produces a code, automatic refunds for failed targets, and that batches execute synchronously. Auth requirements and error semantics for a fully failed conversion are not covered.

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?

Three sentences, each earning its place: capability first, then cost/refund economics, then the sibling disambiguation. Front-loaded and free of padding.

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?

An output schema exists and annotations cover the safety profile, so the description doesn't need to explain return values. It complements them with cost and refund behavior and the batch limit, though it could say more about partial-failure results and whether credits are charged up front.

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 100%, with per-parameter descriptions and examples (source code format, bookmaker key/alias, list of 1-6). The description only restates the 1-or-up-to-6 target constraint already expressed by the schema's minItems/maxItems, so it adds little beyond the structured fields.

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+resource (convert a booking code) with an explicit scope (one target or a synchronous batch of up to 6) and distinguishes itself from mbc_convert_to_all. An agent can tell exactly what this does and where its boundary is without opening the schema.

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?

Gives clear routing guidance: use this for 1-6 targets, use mbc_convert_to_all for every bookmaker at once, with the selecting condition stated. It stops short of stating prerequisites (valid source code, account credit balance) or what to do if a code cannot be converted at all, so it isn't fully exhaustive.

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.