Skip to main content
Glama

Set user permission level

bot_levels_add
Idempotent

Assign a custom bot permission level to a user in StreamElements to control their chat access. Set levels like 300 for regular or 500 for moderator.

Instructions

Give a user a custom bot permission level. StreamElements permission levels: 100 everyone, 250 subscriber, 300 regular, 400 VIP, 500 moderator, 1000 super moderator, 1500 broadcaster.

Input Schema

NameRequiredDescriptionDefault
levelYesPermission level, e.g. 300 for regular or 500 for moderator
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
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds the permission-scale semantics (which number means which role), but says nothing about auth requirements, what happens to a previously assigned level, or whether a bot/user identifier is needed.

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?

Two sentences, zero waste: the purpose is front-loaded and the enumeration that follows is dense, scannable data rather than filler. Nothing could be removed without losing actionable information.

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 3-parameter mutation tool with 100% schema coverage and annotations covering safe/write/idempotent behavior, the description covers what the tool does and the full level scale. The only real gap is interaction semantics (overwriting an existing level, or removing one via the sibling tool), which is a minor omission here.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine value with a full 7-tier enumeration (100/250/300/400/500/1000/1500) for a non-enum integer parameter, exceeding the schema's two-example hint. It still does not clarify the username/channel parameters, but those are well documented in the schema.

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?

States a specific verb+resource ('Give a user a custom bot permission level') that maps cleanly to bot_levels_add and distinguishes it from siblings like bot_levels_list and bot_levels_remove. It does not explicitly name the remove sibling, so an agent still infers the boundary from the name alone.

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 when-to-use or when-not-to-use guidance is given; the tool is never contrasted with bot_levels_remove (to unset) or bot_levels_list (to inspect). The level table hints at how to pick a value but says nothing about when this operation is appropriate or what prerequisites exist.

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