Skip to main content
Glama

NHL lineup optimizer

invoke_nhl_optimizer
Read-onlyIdempotent

Builds DraftKings NHL classic lineups (C, C, W, W, W, D, D, G, UTIL under $50,000, players from at least 3 teams and 2 games) from the BankrollSZN projections. gpp mode stacks a line or power play unit: pass stack like EDM PP1 or TOR F1, or leave it empty and the optimizer tries the top stacks of the slate by 90th percentile and keeps the best. It never rosters a goalie against its own stack, and no lineup has 2 or more skaters against its goalie (one is allowed). contest_type sets which ownership the gpp penalty and the ownership cap use. Supports locks, excludes, several lineups, a salary floor, an ownership cap and a per-team cap. Returns DK ids in slot order. Data refreshes every 30 minutes. DraftKings scoring.

Input Schema

NameRequiredDescriptionDefault
lockNoPlayer names that must be in every lineup.
modeNogpp scores ceiling minus an ownership penalty and stacks. cash scores the projection with no stack. Default gpp.
stackNoA stack to force, team plus unit, for example EDM PP1, TOR F1 or VGK F2. none turns stacking off.
excludeNoPlayer names to leave out.
lineupsNoNumber of lineups, 1 to 5. The free plan gets 1. Without stack, each lineup uses a different stack.
slate_idNoslate_id from nhl_list_slates. Default: the main classic slate.
min_salaryNoLeast salary to use. Default 45000.
min_uniqueNoWith a forced stack or no stacking: players each lineup must differ from every lineup before it. Default 3 for gpp, 1 for cash.
own_lambdaNoOwnership penalty in points per ownership percent for gpp. Default 0.15. This is a starting value, not a preset measured on contests.
contest_typeNoOwnership contest type. 150max (default) is the large field baseline. 20max, 3max and single adjust projected ownership with multipliers measured on DK contests, renormalized so the total stays the same. Early season leans on the NFL contest curve.
max_per_teamNoMost players from one team. Default 5.
max_total_ownNoCap on the summed ownership of the lineup, in percent.
stacks_to_tryNogpp without stack: how many of the top stacks to try. Default 6, most 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare a safe read-only, idempotent, non-destructive operation, and the description still adds substantial behavioral detail beyond them: goalie-vs-own-stack prohibition, the one-skater-against-goalie allowance, 30-minute data refresh, DK-id-slot-ordered returns, and the caveat that own_lambda is a starting value rather than a contest-measured preset. That is rich context the structured fields do not carry.

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?

One dense paragraph, but it front-loads the roster shape and hard constraints first, then modes, then optional knobs. Given 13 parameters and no required fields, the length is justified; every clause conveys a constraint or default rather than filler, though the single-block format is slightly wall-of-text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter optimizer with no output schema, the description covers the return contract ('Returns DK ids in slot order'), the constraint envelope, defaults, data freshness, and mode-dependent behavior. An agent has everything needed to invoke it correctly; no significant gap remains.

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 description coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema does not: what happens when stack is empty (optimizer tries top stacks by 90th percentile and keeps the best), how min_unique interacts with a forced stack, and how contest_type drives the ownership model and multipliers. Useful elaboration beyond the individual field docs.

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: 'Builds DraftKings NHL classic lineups' from 'the BankrollSZN projections', and enumerates the exact roster shape (C, C, W, W, W, D, D, G, UTIL under $50,000). The word 'classic' and the DK/salary framing distinguish it from sibling slates like invoke_nhl_showdown without needing to open a schema.

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 clear in-tool usage context: gpp vs cash mode ('gpp scores ceiling minus an ownership penalty and stacks. cash scores the projection with no stack'), when to pass a stack versus leaving it empty for auto top-stack selection. It does not explicitly name sibling alternatives (e.g., the showdown optimizer) for other slate formats, so it is clear context without exclusions.

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