Skip to main content
Glama

Manage Bet Codes

Resolve Games Into a 10-Minute Booking Plan

mbc_resolve_picks

Validate 1 to 50 games on a target bookmaker and create a 10-minute plan_id for mbc_book_code. Each pick carries event_id plus either a key or a canonical market and outcome. When event_id is omitted, send home_team and away_team. Send both when the target event id differs. Returns per-game status ('resolved', 'ambiguous', 'not_found', 'market_missing', 'odds_changed', 'not_bookable'). Spends 1 work unit per pick against the daily cap. Costs 0 credits.

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": {
      "bookmaker": "<bookmaker>",
      "picks": "<picks>"
    },
    "name": "mbc_resolve_picks"
  }
}

Input Schema

NameRequiredDescriptionDefault
picksYesEach game: event_id plus either key or market and outcome. When event_id is omitted, send home_team and away_team. Send both when the target event id differs; line and odds are optional.
strictNoRequire all games to resolve (default true).
bookmakerYesTarget bookmaker key or alias (e.g. 'sportybet').
accept_odds_changeNoAccept moved odds beyond 1% tolerance (default false).

Output Schema

NameRequiredDescriptionDefault
picksNo
statusNo
plan_idNo
summaryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / picks / description
      Previous value: -"Each game: event_id or home_team and away_team, plus key or market and outcome; line and odds are optional."New value: +"Each game: event_id plus either key or market and outcome. When event_id is omitted, send home_team and away_team. Send both when the target event id differs; line and odds are optional."
    • addedInput schema / properties / picks / items / properties / away_team / description
      Added value: +"Optional when event_id is from the target bookmaker. Required when event_id is absent or the target event id differs."
    • addedInput schema / properties / picks / items / properties / event_id / description
      Added value: +"Event ID from mbc_search_events (e.g. 'sr:match:123'). It anchors the fixture."
    • addedInput schema / properties / picks / items / properties / home_team / description
      Added value: +"Optional when event_id is from the target bookmaker. Required when event_id is absent or the target event id differs."
    • changedInput schema / properties / picks / items / properties / key / description
      Previous value: -"Selection key from mbc_get_event_markets. Send it with event_id in the same pick."New value: +"Selection key from mbc_get_event_markets. Preferred for team totals and native-only markets. Send it with event_id in the same pick."
    • changedInput schema / properties / picks / items / properties / market / description
      Previous value: -"Canonical market (e.g. '1X2', 'Over/Under', 'Both Teams To Score', 'Double Chance')."New value: +"Canonical market (e.g. '1X2', 'Over/Under', 'Both Teams To Score', 'Double Chance'). Use key for team totals and native-only markets."
  2. Changed2 schema fields changed
    • changedInput schema / properties / bookmaker / description
      Previous value: -"Target bookmaker key or alias (e.g. 'sportybet', '1xng', 'bet9ja')."New value: +"Target bookmaker key or alias (e.g. 'sportybet')."
    • changedInput schema / properties / picks / description
      Previous value: -"1 to 50 games to resolve."New value: +"Each game: event_id or home_team and away_team, plus key or market and outcome; line and odds are optional."
  3. Changed3 schema fields changed
    • addedInput schema / properties / picks / items / properties / key
      Added value: +{
      +  "description": "Selection key from mbc_get_event_markets. Send it with event_id in the same pick.",
      +  "type": "string"
      +}
    • removedInput schema / properties / picks / items / properties / market_id
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / picks / items / properties / outcome_id
      Removed value: -{
      -  "type": "string"
      -}
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare a mutating, open-world, non-idempotent operation, and the description adds quota behavior that annotations cannot convey: 'Spends 1 work unit per pick against the daily cap' and 'Costs 0 credits.' It also enumerates all six return statuses (resolved, ambiguous, not_found, market_missing, odds_changed, not_bookable), which tells the agent how partial failures surface.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, limit, and output artifact, then compactly lists input modes, statuses, and cost. The pick-shape sentences largely restate the nested schema descriptions, which is mild redundancy, but no sentence is wasted on filler.

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?

For a 4-parameter tool with an output schema, this covers everything an agent needs: batching limits, identity requirements, per-game failure statuses, quota cost, and the lifecycle of the 10-minute plan_id. Return-format detail is correctly left to the output schema.

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, but the description adds the combinatorial rule that the schema only states piecemeal: 'Each pick carries event_id plus either a key or a canonical market and outcome.' It also flags the match-identity rule ('Send both when the target event id differs'), though it leaves the strict and accept_odds_change flags to the schema.

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 and resource: 'Validate 1 to 50 games on a target bookmaker and create a 10-minute plan_id.' It also names the downstream consumer (mbc_book_code) and the input alternatives (event_id + key, or market/outcome, or team names), so it is clearly distinguishable from sibling tools like mbc_search_events or mbc_get_event_markets.

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?

The description positions the tool in a workflow by tying the produced plan_id to mbc_book_code and by naming the fallback paths for identifying a game ('When event_id is omitted, send home_team and away_team'). It does not explicitly say when not to use it or name alternatives for validation, so it falls short of full when/when-not guidance.

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.