Skip to main content
Glama

Manage Bet Codes

Merge 2–30 Bet Codes Into One

mbc_merge_codes

Combine 2 to 30 booking codes (from the same or different bookmakers) into one deduplicated booking code on a target bookmaker. Reports any skipped, dropped, or conflicting games. Costs 2 credits for the first code, plus 1 credit for each other code on the target bookmaker and 2 credits for each code from another bookmaker; refunded if no code is created.

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": {
      "pairs": "<pairs>"
    },
    "name": "mbc_merge_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairsYes2 to 30 (bookmaker, code) pairs to merge.
targetNoTarget bookmaker key or alias (defaults to the first pair's bookmaker).

Output Schema

NameRequiredDescriptionDefault
billingNo
successNo
target_codeNo
selections_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (which only signal non-read-only, open-world, non-idempotent, non-destructive), the description discloses deduplication behavior, conflict/skip reporting, the full credit cost formula differentiated by source bookmaker, and a refund guarantee if no code is created. That is exactly the operational context an agent needs before committing a paid mutation.

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 tight sentences: the operation and its scope first, then the cost/refund terms. No filler, no repetition of the title, and the economically critical information is not buried.

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?

An output schema exists, so return values need no explanation; the description instead covers what matters for a paid merge — dedup, conflict reporting, pricing tiers, and refund. Nothing an agent needs to invoke this correctly is missing.

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%, so the schema already documents both 'pairs' (with 2–30 bounds and nested bookmaker/code) and 'target' with its default. The description reinforces the 2–30 range and the cross-bookmaker allowance but adds no syntax, format, or validation detail beyond the schema, so the baseline 3 applies.

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 opens with a specific verb and resource ('Combine 2 to 30 booking codes ... into one deduplicated booking code on a target bookmaker') and names the input variety (same or different bookmakers). An agent can distinguish this from siblings like mbc_split_code or mbc_convert_code purely from this sentence.

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 context is implied by the constraints (2–30 codes, cross-bookmaker allowed) and by the target-default rule, so an agent can infer this is the consolidation operation. However, it never states when to prefer this over alternatives such as mbc_split_code or single-code conversion, nor any prerequisite or exclusion.

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.