Skip to main content
Glama

Fair Line: NFL bet pricing and angle backtests

Is this bet worth it? Fair odds, win chance and value of a spread, total or moneyline

price_line
Read-onlyIdempotent

Prices one NFL bet against a fair line: win, push and lose chances, the fair price, expected value per $100, break-even, and a quarter-Kelly stake with the uncertainty haircut, plus what buying or selling half a point is worth (key numbers 3 and 7 priced off real NFL margins, not a bell curve) and teasers. Default fair line is the consensus number; pass your own fair line, total or win probability to price your view. For 'is DAL -3.5 at -110 worth it', 'what are the fair odds on over 47.5', 'should I buy the hook to +3', 'what's KC +3 worth in a 6-point teaser', 'how much should I bet'. Information only: it computes; it never places a bet.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "price_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
betNoThe bet in plain words, e.g. 'DAL -3.5 -110', 'over 47.5', 'PHI ML +300', 'KC +3 teaser'. Parsed into the fields below; explicit fields win.
awayNoAway team, when naming a game.
homeNoHome team, when naming a game.
lineNoThe side's line, e.g. -3.5 or +7, or the total, e.g. 47.5.
sideNoFor totals.
teamNoTeam: abbreviation, city or nickname, e.g. DAL, Dallas, Cowboys.
priceNoAmerican price, e.g. -110 or +120 (decimal like 1.91 also works). Default -110.
marketNoMarket (default spread; total when side is over/under).
game_idNoGame id from slate_scan, e.g. 2026_12_PHI_DAL.
bankrollNoBankroll in dollars, to turn the Kelly fraction into a stake.
fair_lineNoYour own fair spread for this side, if you have one.
fair_totalNoYour own fair total.
teaser_priceNoTwo-team teaser price (default -120).
fair_win_probNoYour win probability for this side, 0-1.
teaser_pointsNoTeaser points, e.g. 6.
kelly_fractionNoFraction of Kelly (default 0.25).
opponent_priceNoThe other side's price, to strip the vig from a moneyline.

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 readOnlyHint, idempotentHint, non-destructive and closed-world, and the description reinforces rather than contradicts them with 'it computes; it never places a bet.' Beyond annotations it discloses meaningful behavior: the default fair line is the consensus number, key numbers 3 and 7 are priced off real NFL margins rather than a bell curve, and the Kelly stake carries an uncertainty haircut. It does not cover latency or the shape of the returned numbers, but with annotations carrying the safety profile this is solid.

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?

Front-loaded with the core verb phrase, then the output inventory, then override behavior, then example invocations, then the read-only disclaimer — a sensible order. The middle sentences are dense run-ons (the half-point/key-number clause packs a lot into one breath), but nearly every clause carries information an agent needs.

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 17 optional parameters, no output schema, and no required fields, the description must carry the return-value burden — and it does, listing the six or seven figures the tool computes. It also explains the defaults that let the agent call the tool with a single 'bet' string. What is missing is minor: no indication of what the response looks like structurally or how ambiguous 'bet' strings are handled when parsing fails.

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 coverage is 100%, so all 17 parameters are already documented, and the schema even notes that explicit fields override the parsed 'bet' string. The description adds modest framing — consensus as the default fair source and the fair_line/fair_total/fair_win_prob override path — but does not explain units, interplay between banker and line, or how teaser fields combine. Baseline 3 is appropriate when the schema does the heavy lifting.

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 — 'Prices one NFL bet against a fair line' — and then enumerates the exact outputs (win/push/lose chances, fair price, EV per $100, break-even, quarter-Kelly stake, half-point value, teasers). This is clearly distinguishable from the sibling research tools (splits, backtest, slate_scan), and it never leaves the agent guessing what computation happens.

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 concrete trigger phrasings ('is DAL -3.5 at -110 worth it', 'what are the fair odds on over 47.5', 'should I buy the hook to +3') and explains the default-vs-override decision (consensus fair line unless you pass your own fair line, total, or win probability). It also names slate_scan as the source of game_id. It stops short of an explicit exclusion ('do not use this for X') or naming an alternative tool for non-pricing questions, so it is not a 5.

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