Skip to main content
Glama

Clear a player's warning or ban

clear_player_action
DestructiveIdempotent

Removes a warning or ban from a player in a project, so their messages are checked as normal again. Returns what was removed. Needs owner, admin or editor access.

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": {
      "project_id": "<project_id>",
      "user_id": "<user_id>"
    },
    "name": "clear_player_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYesThe player's id (exact).
project_idYesThe project's id, from list_projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description adds genuinely new context: the return value ('what was removed') and the required access level (owner, admin or editor). It does not mention the no-op behavior on already-cleared actions, which the idempotent annotation implies but the text never confirms.

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?

Three short sentences that each carry distinct information: the action, the effect, the return value, and the permission requirement. Front-loaded with the primary verb and no filler.

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?

For a two-parameter mutation with no output schema, the description covers purpose, effect, return value, and permissions. The remaining gap is minor: it does not say what happens when no action exists to clear, which matters for an idempotent destructive tool.

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% and both parameters are documented in the schema (user_id 'exact', project_id 'from list_projects'). The description only restates that the target is a player in a project, adding no new parameter meaning, so the baseline 3 applies.

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 ('Removes a warning or ban from a player in a project') and adds the resulting state change ('messages are checked as normal again'), which makes the effect unambiguous. The 'clear' vs 'set' distinction from sibling set_player_action is inferable from the removal framing, so an agent can select correctly.

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?

Usage is implied by the outcome stated ('so their messages are checked as normal again') and the access prerequisite is given, but there is no explicit when-to-use/when-not-to-use guidance or named alternative such as set_player_action for applying rather than removing an action.

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.