Skip to main content
Glama

kick_player

Kicks a player from the CloudNet network, using their identifier and a reason message to remove them from all connected nodes.

Instructions

Kicks a given player from the entire network

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
identifierYesThe name or unique id of the player
messageYesThe kick message/reason

Implementation Reference

  • Schema registration for the 'kick_player' tool, defining input parameters: identifier (player name/ID) and message (kick reason).
    types.Tool(
        name="kick_player",
        description="Kicks a given player from the entire network",
        inputSchema={
            "type": "object",
            "properties": {
                "identifier": {"type": "string", "description": "The name or unique id of the player"},
                "message": {"type": "string", "description": "The kick message/reason"}
            },
            "required": ["identifier", "message"],
        },
    ),
  • Handler for 'kick_player' — extracts identifier and message from arguments, then sends a POST request to the CloudNet API at /player/online/{identifier}/kick with the kick message.
    elif name == "kick_player":
        identifier = arguments.get("identifier")
        msg = arguments.get("message")
        data = await client.request("POST", f"player/online/{identifier}/kick", json={"kickMessage": msg})
        return [types.TextContent(type="text", text=str(data))]
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only says 'kicks' without explaining effects (e.g., immediate disconnection), required permissions, or what happens to the player's session. Essential context is missing.

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?

The description is a single clear sentence with no wasted words. It is front-loaded and easy to parse, though it sacrifices detail for brevity.

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

Completeness2/5

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

Despite low complexity (2 required params, no output schema), the description fails to explain the tool's side effects or return behavior. For a destructive action like kicking, more context is needed, such as whether confirmation is required or if the action is irreversible.

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?

The schema already covers both parameters with descriptions (identifier and message). The tool description adds no additional meaning beyond the schema, so it meets the baseline for 100% coverage.

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 clearly states the action (kicks) and the target (a given player from the entire network), which distinguishes it from sibling tools like send_player_message or get_online_players. However, it could be more specific about the scope (e.g., network vs server).

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?

No guidance is provided on when to use this tool versus alternatives such as execute_player_command or send_player_message. The description lacks context about prerequisites or appropriate scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ergo042/cloudnet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server