Skip to main content
Glama

Whitelist, operators, bans, and kicks

manage_access
Destructive

Control who plays on your Minecraft server: enable or enforce the whitelist, add or remove operators, and ban, pardon, or kick players by name or UUID, with each action reported separately.

Instructions

Change who may play. Give only the parts you need. whitelist turns it on or off, enforces it (kicks players not on it), and adds or removes players. operators needs server:console: an operator may run every command. Bans kick anyone online they hit. Each part, and each kick, is answered on its own, a failed one with its error. Confirm bans and kicks with the user first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
banNoBy name or UUID
kickNo
banIpsNo
pardonNoNames or UUIDs
operatorsNo
pardonIpsNo
whitelistNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv5.0.0
    • changedInput schema / properties / ban / description
      Previous value: -"Players by name or UUID"New value: +"By name or UUID"
    • changedInput schema / properties / ban / items / properties / durationSeconds / description
      Previous value: -"Leave out for a permanent ban"New value: +"Permanent when left out"
    • changedInput schema / properties / ban / items / properties / durationSeconds / maximum
      Previous value: -9007199254740991New value: +1000000000
    • removedInput schema / properties / banIps / description
      Removed value: -"IP addresses to ban"
    • changedInput schema / properties / banIps / items / properties / durationSeconds / description
      Previous value: -"Leave out for a permanent ban"New value: +"Permanent when left out"
    • changedInput schema / properties / banIps / items / properties / durationSeconds / maximum
      Previous value: -9007199254740991New value: +1000000000
    • removedInput schema / properties / kick / description
      Removed value: -"Online players to disconnect"
    • removedInput schema / properties / operators / description
      Removed value: -"Needs server:console"
    • changedInput schema / properties / pardon / description
      Previous value: -"Player names or UUIDs"New value: +"Names or UUIDs"
    • removedInput schema / properties / pardonIps / description
      Removed value: -"IP addresses to unban"
    • removedInput schema / properties / whitelist / description
      Removed value: -"Toggle, enforce, add, or remove"
  2. Changed6 schema fields changedv4.2.1
    • addedInput schema / properties / ban / description
      Added value: +"Players by name or UUID"
    • addedInput schema / properties / banIps / description
      Added value: +"IP addresses to ban"
    • addedInput schema / properties / kick / description
      Added value: +"Online players to disconnect"
    • addedInput schema / properties / operators / description
      Added value: +"Needs server:console"
    • addedInput schema / properties / pardonIps / description
      Added value: +"IP addresses to unban"
    • addedInput schema / properties / whitelist / description
      Added value: +"Toggle, enforce, add, or remove"
  3. First observedv4.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the destructiveHint and readOnlyHint=false annotations, the description discloses non-obvious side effects: whitelist enforcement kicks non-whitelisted players, bans kick anyone currently online they match, and operators requires server:console because an operator can run every command. It also explains per-part result semantics, with each part and each kick answered individually and failures reported with their error. It does not mention irreversibility or that pardons/IP-ban paths exist, keeping it below 5.

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?

The text is short, front-loaded with the core purpose, then walks through each section in the order an agent would reason about them (whitelist, operators, bans), and closes with the confirmation rule. Every sentence carries information; nothing is redundant with the title or annotations.

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

Completeness3/5

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

For a destructive, 7-parameter, nested-object tool with no output schema, the description covers the highest-risk paths (bans, kicks, operators, whitelist enforcement) well, including the console permission requirement. It is incomplete in that three of the schema's top-level capabilities (IP bans and both pardon lists) are never referenced, so an agent relying on the description alone would not know reversal or IP-scoped actions are available here.

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 only 29% across 7 parameters with nested objects, so the description must carry more weight than it does. It usefully explains that whitelist's 'enforced' kicks non-members and that operators.add grants full command rights, which is meaning beyond the schema. But it says nothing about banIps, pardon, pardonIps, or the reason/durationSeconds fields, leaving several parameters undocumented in both places.

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?

The description opens with a specific verb+resource framing ('Change who may play') and enumerates the sub-resources it covers: whitelist enable/disable/enforce/add/remove, operator add/remove, bans, and kicks. It is clearly distinct from read-only siblings like get_access and list_players. It falls short of 5 because it never mentions the IP-ban, IP-pardon, or player-pardon capabilities that the schema exposes.

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?

'Give only the parts you need' signals that the multi-part payload should be used selectively rather than as a full document, which is real usage guidance. 'Confirm bans and kicks with the user first' adds a concrete pre-call safety condition. However, there is no explicit routing guidance against get_access or list_players, and no stated prerequisite for the whitelist or ban sections.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.