Skip to main content
Glama

Closing line value for your bets

evaluate_clv
Read-onlyIdempotent

Grade up to 200 bets against the closing line: for each bet, the closing price (that book's, or the market best/median), CLV percent and P&L line. Name each race by race_id or venue + meeting_date + race_number, and each runner by runner_number or runner_name. Costs 5 credits per request. Plan: Plus and above.

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": {
      "bets": "<bets>"
    },
    "name": "evaluate_clv"
  }
}

Input Schema

NameRequiredDescriptionDefault
betsYes
referenceNobest

Output Schema

NameRequiredDescriptionDefault
dataYesThe API response, with links and empty fields removed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations cover safety (readOnly, idempotent, non-destructive), and the description adds the traits they cannot express: a 200-bet batch cap, 5-credit cost per request, and a Plus-tier plan requirement. It also discloses that the closing price can come from the bet's own book or the market best/median, which shapes expectations of the result.

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 tight sentences: the action and outputs come first, then naming conventions, then cost/plan constraints. No filler, no repetition of the title.

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 detailed, and the description covers scope, identity conventions, cost, and plan gating. It is only slightly short on edge behavior, e.g. what happens if a race or closing price cannot be resolved for a given bet.

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 reported as 0%, so the description must carry the load; it does explain the two accepted ways to name a race (race_id, or venue + meeting_date + race_number) and a runner (runner_number or runner_name), plus the best/median reference choice. It says nothing about price, stake, ref, or bookmaker semantics, leaving several bet fields undocumented in both places.

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 ('Grade up to 200 bets against the closing line') and enumerates the per-bet outputs (closing price, CLV percent, P&L). This clearly distinguishes it from read-only price siblings such as closing_lines or best_odds, which supply prices rather than grade a user's bets.

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?

It gives prerequisites ('Costs 5 credits per request. Plan: Plus and above') and a batch limit, which is useful context. However, it never says when to use this instead of closing_lines or how to obtain the race_id/closing data first, so routing between siblings is left to inference.

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.