Skip to main content
Glama

The Cap Gap

Team cap space

get_team_cap_sheet
Read-onlyIdempotent

One NHL or PWHL team's salary cap sheet this season: cap, committed money, cap space, dead cap, LTIR, the biggest contracts with term, and The Cap Gap's value gap on each (positive is a bargain), plus the team's best and worst value contract. Use for 'how much cap space do the Leafs have', 'Oilers cap', 'worst contract on the Canucks'. Team is an abbreviation (TOR, EDM, VAN) or a full name (Toronto Maple Leafs); PWHL codes include BOS, MIN, MTL, NY, OTT, TOR, SEA, VAN, DET, HAM, VGS, SJ.

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": {
      "league": "<league>",
      "team": "<team>"
    },
    "name": "get_team_cap_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamYesTeam abbreviation or name, e.g. TOR or Toronto Maple Leafs
leagueYesnhl or pwhl. The PWHL is the Professional Women's Hockey League.

Output Schema

NameRequiredDescriptionDefault
capYes
kindYes
ltirYes
pageYes
teamYes
leagueYes
seasonYes
sourceYesThe Cap Gap (thecapgap.com)
dead_capYes
max_roomYes
cap_spaceYes
committedYes
contractsYes
team_nameYes
season_noteYes
best_value_contractYes
worst_value_contractYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds behavior beyond that: it is a single-team snapshot scoped to the current season, and it defines the sign convention of the value gap ("positive is a bargain") which is essential to interpret output correctly. No mention of what happens on an unknown team code or a league/team mismatch.

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 resource and its returned fields, then example queries, then accepted identifier formats — a sensible order with no filler sentences. The PWHL code enumeration is the longest element but is functionally useful rather than padding.

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?

For a two-parameter, fully documented read tool with an output schema, the description covers scope, contents and value-gap sign convention. The only residual gap is failure behavior for an invalid or cross-league team code, which is minor given the enum on league and the listed codes.

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 100% and already explains both parameters, so the baseline would be 3. The description earns extra credit by expanding team identifier semantics beyond the schema: it accepts an abbreviation or full name and lists the valid PWHL codes (BOS, MIN, MTL, NY, OTT, TOR, SEA, VAN, DET, HAM, VGS, SJ), which reduces the risk of passing an unsupported value.

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?

"One NHL or PWHL team's salary cap sheet this season" names the exact resource, scope (single team, current season) and enumerates the returned fields: cap, committed money, cap space, dead cap, LTIR, biggest contracts, value gap, best/worst value contract. That scope cleanly separates it from the player-level siblings (get_player_contract_value, compare_players, list_value_leaders) without needing to name them.

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?

Three concrete user phrasings ("how much cap space do the Leafs have", "Oilers cap", "worst contract on the Canucks") make the intended trigger obvious. It does not state exclusions or point to siblings for player-level lookups, so an agent must infer that player questions belong elsewhere.

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