Get League Rules
get_league_rulesRetrieve a league's roster construction and complete scoring rules, including the exact stat keys needed to score stat lines. Use before applying any scoring logic.
Instructions
Get a league's roster construction and its complete scoring rules.
Read this before scoring anything: it returns the exact stat keys
score_stat_line accepts. The two tools pair up, this one says what the
league scores, that one applies it.
Returns JSON with data.roster (starters, bench, max_active,
max_roster_size, and positions[] carrying each slot's label,
eligibility, starts, roster_min, roster_max) and data.scoring
(rule_count, stat_keys[], and rules[] with category,
category_id, group, points, kind, multi_value, applies_to,
description).
kind explains how a rule fires: linear is points per unit,
total_threshold is a one-time bonus when a single game's total clears
a bound (300 passing yards), total_range is a one-time bonus inside a
closed range (a shutout), and per_event is a bonus per qualifying
event (each touchdown of 40+ yards).
Idempotent: yes, read-only.
Example: get_league_rules(league_id=14153)
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": "get_league_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league_id | No | Fleaflicker league id. Defaults to FLEAFLICKER_LEAGUE_ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |