Skip to main content
Glama

toggle_module

Enable or disable an installed UI module using its reverse-domain ID and boolean state.

Instructions

Enables or disables one installed UI Module.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enabledYesWhether the Module can be opened
module_idYesReverse-domain Module id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It does not say whether the change takes effect immediately or requires reload_module_runtime, whether it needs elevated permission, or whether disabling a module is reversible.

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?

One sentence, zero filler, action stated up front. Nothing to trim and nothing buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated state-changing tool with no output schema, the description is too thin: it omits activation timing, reload requirements, and sibling distinction. The low complexity of a two-parameter toggle keeps this from being a 1, but the gaps are real.

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%, so both parameters are already documented in the schema, establishing the baseline of 3. The description adds only the constraint that the target must be an 'installed' UI Module, which is marginal extra meaning beyond 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?

Specific verb pair ('enables or disables') with a clear resource ('one installed UI Module'), so the agent knows this is a mutation on a single module. It does not, however, differentiate itself from the sibling set_module_enabled, which appears to do the same thing.

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 context, no prerequisites, and no mention of the near-identical sibling set_module_enabled or how to pick between them. Usage must be inferred entirely from the name.

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