Skip to main content
Glama

Enable/disable a command or folder

set_command_state

Enable or disable commands or command folders by name, with optional platform-side reward sync for points and extension kinds.

Instructions

Enable or disable a command, or a whole command folder, by name. For commands, "kind" picks which list the name belongs to (chat, chatbot, Twitch channel points, Kick points, or Twitch extension); points/extension kinds also sync the platform-side reward state on an up-to-date Lumia Stream.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoFor target "command": which command list the name belongs to.chat
nameYesThe command or folder name.
targetNoWhether "name" refers to a command or a folder.command
enabledYestrue to enable, false to disable.
Behavior4/5

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

Annotations indicate a mutation (readOnlyHint=false) and potential side effects (openWorldHint=true). The description adds specific behavioral detail: syncing platform-side reward state for certain 'kind' values. It is honest about the side effect, which is valuable beyond the annotations.

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 a single, well-structured sentence that front-loads the core action and then provides necessary detail. No wasted words; every phrase adds value. It is both concise and informative.

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?

Given the absence of an output schema and the tool's complexity (4 parameters, 2 enums), the description covers the main purpose and the command case well, but it is incomplete for the folder target (does not explain if 'kind' is irrelevant) and does not mention success/failure indicators or error behavior.

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?

With 100% schema coverage, the description still adds significant meaning by explaining that the 'kind' parameter chooses a command list and that points/extension kinds trigger syncing. This goes beyond the schema's description and helps agents understand the implications of each enum value.

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 the verb 'Enable or disable' and the resource 'a command, or a whole command folder'. It specifies that 'name' identifies the target and details the different 'kind' values for commands, effectively distinguishing the tool's scope from siblings like 'manage_chatbot_command' or 'trigger_command'.

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?

The description provides context for using the tool, especially the sync behavior for points/extension kinds, but it does not explicitly state when NOT to use it or mention alternatives. An agent would benefit from knowing limitations or prerequisite conditions.

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/lumiastream/MCP'

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