Skip to main content
Glama

MagicMarkets

get_order

Read-onlyIdempotent

Get one order by ID, or by the request_uuid it was created with. Looking up by request_uuid works for six hours after placement and is the safe way to find out whether a timed-out placement actually succeeded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idNoNumeric order ID.
request_uuidNoThe request_uuid used at creation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
betsNo
legsNo
eventNo
priceNo
sportYes
stakeNo
closedYes
statusYes
bet_typeYes
order_idYes
user_dataNo
order_typeYes
want_priceYes
want_stakeNo
expiry_timeNo
profit_lossNo
close_reasonNo
keep_open_irYes
current_scoreNo
exchange_modeNo
placement_timeNo
bet_type_descriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds non-obvious behavioral context: request_uuid lookups only work for six hours and are useful for reconciling timed-out placements.

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, front-loaded with the primary lookup modes and immediately followed by the key constraint. Every sentence earns its place and nothing is repeated verbatim from the schema.

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?

The tool is a simple read lookup with an output schema and rich annotations; the description covers both parameters and the important request_uuid time boundary. No auth, return-value, or rate-limit detail is necessary given the structured fields already present.

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 description coverage is 100%, so the schema documents both parameters and sets a baseline of 3. The description adds semantic value beyond the schema by explaining the six-hour validity window for request_uuid and its role in checking timed-out placements.

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 states a specific verb and resource, and identifies the two lookup modes (by order_id or request_uuid). 'Get one order' naturally distinguishes it from the sibling list_orders, so an agent can select it without opening the schema.

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?

It gives clear context for when request_uuid lookup is valuable: within six hours after placement and as a safe way to verify a timed-out placement. It does not explicitly name alternatives such as list_orders, but the use case is specific enough to guide selection.

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