Skip to main content
Glama

brainkb_ban_user

(Admin) Ban a user by email (reversible; preserves history). This is how accounts are removed — there is NO hard delete. Banning an Admin is SuperAdmin-only; SuperAdmin accounts cannot be banned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYes
reasonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses reversibility, history preservation, absence of hard delete, and role-based limitations. Missing details like session/token effects are minor for a ban action.

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 description is two sentences with zero filler, front-loading the primary action and then providing critical context about account removal and permissions.

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 2-parameter admin action, the description covers the essential behavioral and access-control aspects. It lacks output details but no output schema exists, and the missing reason parameter explanation is the main gap preventing a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the description only explains the email parameter implicitly via 'by email'. The reason parameter is completely unexplained, leaving its format or purpose ambiguous. The description fails to compensate for the sparse 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?

The description clearly states 'Ban a user by email' with specific verb and resource, and adds context that this is the account removal mechanism with no hard delete. This distinguishes it from sibling tools like deactivate_user or unban_user.

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

Usage Guidelines4/5

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

The description explicitly says 'This is how accounts are removed' and notes role restrictions (SuperAdmin-only for banning admins, SuperAdmin cannot be banned). This gives clear usage context, though it doesn't explicitly compare to alternatives like unban_user.

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.