Skip to main content
Glama

Pitch Time — Fair Youth Soccer Lineups

Generate a fair youth soccer lineup

generate_fair_lineup
Read-onlyIdempotent

Create a deterministic rotation with balanced minutes, goalkeeper duties and preferred positions. Returns each substitution window, player minutes and a shareable printable link. Duplicate names receive numbered suffixes. Without designated goalkeepers, everyone is available in goal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatYes
periodsNo2 halves (default) or 4 quarters.
playersYes
formationNoFull formation including GK, for example 1-2-3-1. Omit for the recommended formation.
gameMinutesNoDefaults: 7v7 50, 9v9 60, 11v11 70 minutes.
goalkeepersNoRoster names in keeper rotation order; combined with canPlayGK flags.
rotateGoalkeeperNoRotate at period breaks; defaults to true when more than one goalkeeper is designated.
segmentsPerPeriodNoEqual substitution windows per period; default aims for about 8 minutes per segment.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesYes
formatYes
minutesYes
periodsYes
segmentsYes
shareUrlYes
formationYes
gameMinutesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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. The description adds genuine beyond-schema context: output is deterministic, it produces substitution windows/player minutes/printable link, and it handles duplicate names via suffixes. It stops short of noting limits such as player-count bounds or formation fallback behavior.

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?

Four compact sentences, front-loaded with the core purpose before secondary behaviors like printing and name deduplication. No filler, though the return-format sentence is partly redundant given the output schema exists.

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 an 8-parameter deterministic generator with an output schema, the description covers the important behavioral edges (determinism, duplicate names, GK fallback) and omits return-value detail the output schema already supplies. An agent has enough to call it correctly.

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 75%, so most parameters are self-documented (periods, gameMinutes, goalkeeper rotation all carry descriptions). The description clarifies duplicate-name suffixing and the no-GK fallback, which lightly enriches players/goalkeepers semantics, but the bulk of parameter meaning stays in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create a deterministic rotation with balanced minutes, goalkeeper duties and preferred positions" gives a specific verb and resource with the key axes of the operation. It does not reference the sibling tools (calculate_playing_time, recommend_formation), so the agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this tool versus calculate_playing_time or recommend_formation. The mention of behavior without designated goalkeepers is a conditional, not a usage rule, so the agent is left to infer context.

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