Skip to main content
Glama

Manage Bet Codes

Bulk Convert Multiple Bet Codes

mbc_bulk_convert

Queue 2 to 20 source booking codes across all or selected target bookmakers and return a job id. Each slip's own source bookmaker is excluded from its targets. Costs 2 credits per successful (code, target) pair; failed pairs cost 0 credits. Read partial and final codes with mbc_get_jobs.

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": {
      "codes": "<codes>"
    },
    "name": "mbc_bulk_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesYes2 to 20 source slips to bulk convert.
targetsNoOptional target bookmaker keys. Omit to convert each slip to all eligible bookmakers.

Output Schema

NameRequiredDescriptionDefault
idNo
kindNo
statusNo
resultsNo
progressNo
credits_usedNo
estimated_creditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • removedInput schema / properties / include_card
      Removed value: -{
      -  "description": "Set true to render a combined PNG share card containing all slips (1080 px wide, as tall as the content).",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / billing
      Removed value: -{
      -  "type": "object"
      -}
    • addedOutput schema / properties / credits_used
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / estimated_credits
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / kind
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / pairs
      Removed value: -{
      -  "type": "integer"
      -}
    • addedOutput schema / properties / progress
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / results
      Added value: +{
      +  "type": "array"
      +}
    • removedOutput schema / properties / slips
      Removed value: -{
      -  "type": "array"
      -}
    • addedOutput schema / properties / status
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / success
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / successful_pairs
      Removed value: -{
      -  "type": "integer"
      -}
  2. Changed2 schema fields changed
    • changedInput schema / properties / codes / description
      Previous value: -"2 to 4 source slips to bulk convert."New value: +"2 to 20 source slips to bulk convert."
    • changedInput schema / properties / codes / maxItems
      Previous value: -4New value: +20
  3. Changed1 schema field changed
    • changedInput schema / properties / include_card / description
      Previous value: -"Set true to render a combined 1080x1920 PNG share card containing all slips."New value: +"Set true to render a combined PNG share card containing all slips (1080 px wide, as tall as the content)."
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the credit model (2 credits per successful pair, 0 for failed pairs), the async job-id pattern with mbc_get_jobs as the poll target, and the rule that each slip's own source bookmaker is excluded from its targets. These are operationally essential facts an agent cannot derive from readOnlyHint/openWorldHint/idempotentHint alone.

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 tight sentences, front-loaded with the action and scope, then cost, then the result-retrieval path. Every sentence carries distinct, non-redundant information.

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?

Covers scope, cost, exclusion behavior, and the follow-up call, which is everything needed to invoke and continue a job-based bulk operation. An output schema exists, so the description does not need to enumerate job fields.

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 baseline is 3, and the description earns above that by explaining the semantics of omitting targets (convert to all eligible) and the per-slip exclusion of the source bookmaker. It does not explain the from_bookmaker alias format, but that is already covered by the schema.

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: queue 2-20 booking codes for conversion across all or selected target bookmakers, returning a job id. The bulk scope is clear and implicitly separates it from single-code conversion siblings, though no alternative is named explicitly.

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 operating context: queue now, then read partial and final codes with mbc_get_jobs, and omit targets to convert to all eligible bookmakers. It lacks an explicit contrast such as 'for a single code use mbc_convert_code', so the agent must infer the boundary from the 2-20 minimum.

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.