Skip to main content
Glama

turnale

Remove players

remove_player
Destructive

Remove one or MANY players before any result is recorded (afterwards use withdraw_player or replace_player) — pass player_names to clear several in one call, never loop one-by-one. Regenerates an existing unlocked draw, or clears it if too few players remain. Ask the organiser before removing players.

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

Input Schema

NameRequiredDescriptionDefault
request_idNoOptional idempotency id — retrying a call with the same id never applies it twice
player_nameNo
player_namesNoBulk removal — e.g. clearing mistaken placeholder names in one call
tournament_keyYesThe tournament's organiser key (starts with tk_)

Output Schema

NameRequiredDescriptionDefault
previewNoTrue when this is a preview — nothing was changed
removedYes
summaryYesWhat happened, in one line
promotedYesWaitlisted players who took the freed spots
players_totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Changed2 schema fields changed
    • addedOutput schema / properties / promoted
      Added value: +{
      +  "description": "Waitlisted players who took the freed spots",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "players_total",
      -  "removed",
      -  "summary"
      -]New value: +[
      +  "players_total",
      +  "removed",
      +  "promoted",
      +  "summary"
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is known. The description still adds genuinely new behavioral context beyond that: the draw is regenerated, or cleared entirely if too few players remain — a non-obvious cascade. That is useful, but recovery/precondition details (what if the player is in a recorded match) are only implied by the sibling pointer.

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?

Front-loaded with the core action, then the timing constraint, then the bulk guidance, then the side effect. Dense em-dash phrasing but every clause carries information; nothing to cut.

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 values needn't be explained, and the destructive profile is covered by annotations plus the draw-regeneration note. Slight gap: no statement on what happens if player_name and player_names are both supplied, or if a named player is unknown, which matters for a destructive tool.

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 75%, so most parameter meaning is already documented. The description still adds value by clarifying the player_name vs player_names split as a batching strategy rather than two independent filters, and reinforces the bulk path explicitly. request_id and tournament_key are left to the schema.

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 ('Remove one or MANY players') and immediately distinguishes itself from the two nearest siblings by naming the timing boundary: before results are recorded, versus withdraw_player/replace_player afterwards.

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

Usage Guidelines5/5

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

Explicit when-to-use ('before any result is recorded'), explicit alternatives for the other case (withdraw_player, replace_player), explicit anti-pattern ('never loop one-by-one' — use player_names), and a confirmation requirement ('Ask the organiser').

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.