Skip to main content
Glama

Remove user permission level

bot_levels_remove
DestructiveIdempotent

Remove a user's custom bot permission level to reset them to the channel default.

Instructions

Remove a user's custom bot permission level, returning them to their default level.

Input Schema

NameRequiredDescriptionDefault
channelNoStreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token.
usernameYesUsername (login name, lowercase)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description contributes a genuinely non-obvious behavioral fact — that removal reverts the user to their default level rather than leaving them level-less — which is not derivable from the structured fields. It still does not say what happens if no custom level exists or what the call returns.

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?

A single sentence with the operation front-loaded and the side effect trailing; no filler, no restatement of the title beyond what is needed.

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 two-parameter, destructive, idempotent mutation with a fully documented schema and no output schema, the description covers the essential effect and annotations cover safety. However, the absence of any routing guidance versus bot_levels_add and the silence on the channel parameter leave real gaps for an agent operating among ~100 siblings.

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%, with both username and channel fully documented in the schema (including the channel fallback to SE_CHANNEL_ID). The description only alludes to the 'user' being acted on and never mentions channel scoping, so it adds nothing beyond the schema — the correct baseline here is 3.

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?

Specific verb (Remove) plus resource (a user's custom bot permission level), which cleanly separates it from siblings bot_levels_add and bot_levels_list without needing to name them. It stops short of explicitly naming those siblings, so it misses the top mark, but an agent can identify the operation unambiguously.

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?

There is no when-to-use guidance, no distinction from bot_levels_add (which presumably sets the very level this tool removes), and no prerequisites such as required permissions or whether the username must already hold a custom level. The reader is left to infer usage from the verb alone.

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

Deploy Server

Other Tools