Skip to main content
Glama

MagicMarkets

get_betslip

Read-onlyIdempotent

Get a betslip and its current price list. Quotes arrive asynchronously after creation, so a fresh betslip is normally unpriced — set wait_seconds to poll until a price lands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
betslip_idYesBetslip ID.
wait_secondsNoPoll up to this long for a quote (default 0).

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 read-only, idempotent, non-destructive, closed-world semantics, so the safety profile is covered. The description adds genuinely non-obvious behavior: quotes are delivered asynchronously and a fresh betslip is usually unpriced, which changes how an agent should call it.

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 sentences with zero waste. The core action is stated first, and the timing caveat plus the wait_seconds remedy follow immediately.

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, so return values need not be described. For a two-parameter read tool, the description covers the async timing gotcha and the remedy; only explicit sibling routing is missing.

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 baseline is 3. The description goes beyond the schema by explaining why wait_seconds exists (polling for a price that lands asynchronously), giving the parameter a purpose the terse schema hint does not.

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 ('Get a betslip and its current price list'), which is clear and concrete. It does not explicitly name the sibling it differs from (e.g., list_betslips), though the singular/plural distinction is inferable from the name.

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 an actionable usage condition: quotes arrive asynchronously, so a fresh betslip is normally unpriced and wait_seconds should be set to poll. It does not state when-not-to-use or name an alternative tool, so it stops short of full routing 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.

Resources