Skip to main content
Glama

MagicMarkets

create_betslip

Create a betslip: register interest in one selection so it gets quoted. This is step one of two — a betslip costs nothing and commits nothing, but an order needs one. Take bet_type verbatim from list_event_offers. Betslips are short-lived and carry no price at creation, so set wait_seconds to poll for the quote.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sportYesSport code, e.g. 'fb'.
bet_typeYesBet type string, copied from list_event_offers.
event_idYesEvent ID, e.g. '2026-06-15,1001,2002'.
user_dataNoOpaque tag stored with the betslip (max 512 chars).
betslip_typeNo'normal' (default) or 'lay'.
wait_secondsNoPoll up to this long for a quote (default 5).
exclude_dangerNoOnly quote from sources holding no bets in danger status.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
legsNo
sportYes
pricesYes
is_openYes
warningNo
bet_typeYes
event_idYes
next_stepNo
best_priceNo
betslip_idYes
expires_atYes
live_scoreNo
betslip_typeYes
close_reasonNo
total_availableNo
expires_in_secondsYes
bet_type_descriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the bar is lower. The description still adds real context beyond them: betslips are short-lived, carry no price at creation, and wait_seconds controls polling for the quote, which explains the non-obvious latency behavior.

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?

Roughly three sentences, front-loaded with the core action and followed by lifecycle and parameter guidance. Efficient, though the bet_type-from-list_event_offers point slightly duplicates the schema description.

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 safety, so the description only needs to cover the lifecycle and usage context it does cover well (one-selection scope, no cost, expiry, polling). Minor gaps remain on expiry duration and failure behavior, but the essentials for correct invocation are present.

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%, so parameters are already documented (including bet_type 'copied from list_event_offers' and wait_seconds 'Poll up to this long for a quote'). The description largely restates the bet_type and wait_seconds semantics rather than adding new syntax or constraints, so baseline 3 is appropriate.

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 (create) plus resource (betslip) and scopes it precisely as 'register interest in one selection so it gets quoted'. This clearly distinguishes it from siblings like place_order and get_betslip.

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?

Explicitly frames it as 'step one of two', notes that a betslip 'costs nothing and commits nothing, but an order needs one', and instructs taking bet_type verbatim from list_event_offers. This gives clear when-to-use and prerequisite context, though it never names place_order as the follow-up tool.

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.

Resources