Skip to main content
Glama

The Cap Gap

Is a player overpaid?

get_player_contract_value
Read-onlyIdempotent

Look up one NHL or PWHL player's contract and The Cap Gap's verdict: cap hit (PWHL: salary), what the production is worth per season, the gap between the two (positive means underpaid, a bargain; negative means overpaid), contract term and the latest regular season. Use for 'is X overpaid', 'what is X worth', 'X contract', 'X cap hit', 'how much does X make'. Retired players return what is on file. Each result includes a link to the full breakdown.

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

Input Schema

NameRequiredDescriptionDefault
nameYesPlayer's full or partial name, e.g. Connor McDavid
leagueNoOptional. Leave out to search both leagues.
player_idNoOptional league player id from find_player, with league

Output Schema

NameRequiredDescriptionDefault
gapYes
callYes
kindYes
nameYes
pageYes
teamYes
worthYes
coversYes
leagueYes
sourceYesThe Cap Gap (thecapgap.com)
cap_hitYes
verdictYes
contractYes
positionYes
headshotsYes
pay_labelYes
priced_onYes
team_colorYes
recent_lineYes
season_noteYes
value_percentileYes

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 establish readOnly, idempotent, non-destructive, closed-world behavior, so the description's job is to add domain context - and it does: the sign convention for the gap (positive = bargain, negative = overpaid), the edge case that retired players return on-file data, and that each result links to a full breakdown. It does not address how ambiguous or multiple name matches are resolved, which is the main remaining gap.

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 action and its return fields, then usage triggers. The quoted example-phrase list is slightly padded but each phrase targets a distinct real query phrasing, so it largely earns its space.

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-value enumeration is a bonus rather than a requirement, and the description still summarizes the key fields. Combined with full schema coverage and rich annotations, the only missing piece is disambiguation behavior for ambiguous player names.

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%, with each of the three parameters documented in the schema itself, including the league enum and the player_id cross-reference to find_player. The description adds no meaning beyond that - notably it says nothing about how partial-name matching behaves or whether league is required when player_id is supplied - so the baseline 3 applies.

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 ('Look up one NHL or PWHL player's contract') and enumerates exactly what comes back: cap hit, production value, gap, term, latest season. The explicit framing of the gap sign convention makes the tool's output unambiguous and differentiates it from a plain player lookup like find_player.

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?

Provides concrete trigger phrases ('is X overpaid', 'what is X worth', 'X cap hit', 'how much does X make') that clearly mark the intended call context. It stops short of naming alternatives such as compare_players or list_value_leaders or stating when not to use it, so it earns a 4 rather than 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