Skip to main content
Glama

Arbifold Odds API

Get closing

get_closing
Read-only

Closing prices for an event that has started (for closing line value).

markets: 'main' (default), 'player', 'alternate', 'all' or comma-separated keys. player: keep only one player's outcomes in player markets. region: 'au' = only Australian bookmakers (no overseas books or exchanges); blank = everyone. top_prices: bookmakers kept per outcome, best first, as [bookmaker, price] (0 = the full API reply).

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": {
      "event_id": "<event_id>"
    },
    "name": "get_closing"
  }
}

Input Schema

NameRequiredDescriptionDefault
playerNo
regionNo
marketsNomain
event_idYes
top_pricesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety profile is covered. The description adds real behavioral context — region filtering semantics, per-outcome bookmaker limiting, "best first" ordering, and that top_prices=0 returns the full API reply — but says nothing about error behavior if the event hasn't started, despite that being the key boundary condition.

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?

Purpose is front-loaded in the first sentence, followed by compact per-parameter lines with no filler. The list format is efficient, though the parameter lines could be visually separated a bit more cleanly.

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?

With no output schema, no annotations beyond safety hints, and 0% schema coverage, the description does the heavy lifting: it explains the result shape ([bookmaker, price]) and every optional parameter's effect. The missing pieces are event_id semantics and what happens when the event has not started.

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 0%, so the description carries the full burden, and it documents four of five parameters with meaning beyond the schema (markets key list and default, player scoping, region='au' vs blank, top_prices cap and the 0 special case). Only event_id is left implicit.

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?

"Closing prices for an event that has started" states a specific resource (closing prices) and scope (already-started events), which distinguishes it from live-odds siblings like get_odds/get_event_odds. It stops short of naming an alternative, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The parenthetical "(for closing line value)" plus "an event that has started" implies the when: use it after an event begins to compute CLV. However, no explicit when-not, no prerequisites, and no named alternative for pre-event or live pricing is given.

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