Skip to main content
Glama

plan_substitutions

Read-onlyIdempotent

Plan fair substitutions for a match: who starts, who comes on when, and minutes for each player.

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": {
      "players": "<players>",
      "match_minutes": "<match_minutes>",
      "format": "<format>"
    },
    "name": "plan_substitutions"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYesPlayers on the pitch for each team
periodsNoHow many periods the match has: 2 for halves, 4 for quarters (default 2)
playersYesThe players for this match, by name or shirt number
goalkeeperNoWho plays in goal for the whole match (optional). Leave it out and everyone takes a turn.
must_startNoPlayers who must start the match (optional)
match_minutesYesHow long the match lasts in minutes, for example 50 or 60

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the notion of "fair" substitution planning and the shape of the result, but never explains what fairness means (equal minutes? constraints?), whether must_start or goalkeeper preferences override fairness, or what the returned schedule looks like. Useful but thin beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler; the verb and resource come first and the clarifying list of outputs follows immediately. Nothing is redundant or padded.

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?

There is no output schema, so the description carries some burden for return values, which it partly discharges by naming the three outputs. Combined with a fully documented schema and rich annotations, an agent has enough to call it correctly; only the semantics of "fair" and any constraint-precedence rules are missing.

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 description coverage is 100%, so all six parameters including the format enum, periods, goalkeeper, and must_start are already documented. The description's "who starts" and "minutes for each player" loosely gesture at must_start and match_minutes but add no syntax, defaults, or interaction rules (e.g. how must_start interacts with fairness). Baseline 3 applies.

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?

States a specific verb ("Plan") and resource ("substitutions") and enumerates the three things it produces: starters, substitution timing, and per-player minutes. That is clearly distinct from sibling planning tools like generate_session_plan or plan_player_development, though it doesn't explicitly name the boundary.

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

Usage Guidelines3/5

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

"for a match" implies the context of use, but there is no explicit when-to-use versus alternatives, no prerequisites (e.g. roster size vs format), and no statement of what it is not for. Usage is inferable rather than stated.

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