Skip to main content
Glama

Configure modules

modules_write
Destructive

Installs a module, enables or disables uAPI for a module, lifts the indexing quarantine.

Input Schema

NameRequiredDescriptionDefault
actionYesOperation to run. Each oneOf entry describes one action and lists its parameters.
confirmNoPass true only after the user approves this change. Required by: quarantine_unlock.
module_codeNoLowercase module code, as listed by modules_list (field module) or active_mods (field code) on the active site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=false, so the safety profile is covered. The description adds the scoping detail that quarantine_unlock affects the whole site's indexing and that the other actions target a module, but it is largely a restatement of the enum descriptions and says nothing about irreversibility or side effects of disabling uAPI or installing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that enumerates all four operations with no filler. It is appropriately sized for a multi-action tool, though the list-form phrasing is slightly dense for an opening line.

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 destructive 3-parameter mutation tool with no output schema, the description covers the 'what' but omits usage guidance and confirmation-flow context, relying entirely on the schema and annotations. It is minimally complete but leaves the agent to infer routing and approval semantics.

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 per-action oneOf descriptions spelling out required parameters (module_code, confirm) and the enum values documented inline. The description adds no syntax or format detail beyond the schema, so the baseline of 3 is appropriate.

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?

The description names a concrete verb set (installs, enables/disables uAPI, lifts quarantine) and the resource (module), and it maps cleanly onto the four enum actions. It is clearly a write/mutation tool distinct from modules_read and modules_uninstall, but it never explicitly names those siblings or contrasts itself with them.

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 statement of when to use this tool versus modules_read, modules_uninstall, or the *_write siblings, and no mention of prerequisites or the user-approval flow that the confirm parameter implies. The agent must infer all routing and sequencing from the schema alone.

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.