Skip to main content
Glama

Uninstall module

modules_uninstall
Destructive

Uninstalls a module from the site. Module data may be lost.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>",
      "site_id": "<site_id>",
      "module_code": "<module_code>"
    },
    "name": "modules_uninstall"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesOperation to run. Each oneOf entry describes one action and lists its parameters.
confirmNoConfirmation of this deletion. Not needed unless the server refuses the call because the site owner requires it; that refusal says what to do.
site_idYesSite to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose.
module_codeYesLowercase module code, as listed by modules_list (field module) or active_mods (field code) on the same site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / module_code / description
      Previous value: -"Lowercase module code, as listed by modules_list (field module) or active_mods (field code) on the active site."New value: +"Lowercase module code, as listed by modules_list (field module) or active_mods (field code) on the same site."
    • addedInput schema / properties / site_id
      Added value: +{
      +  "description": "Site to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose.",
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "action",
      -  "module_code"
      -]New value: +[
      +  "action",
      +  "site_id",
      +  "module_code"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / action / oneOf
      Previous value: -[
      -  {
      -    "const": "module_uninstall",
      -    "description": "Uninstalls a module. Its data may be lost. Required: module_code, confirm."
      -  }
      -]New value: +[
      +  {
      +    "const": "module_uninstall",
      +    "description": "Uninstalls a module. Its data may be lost. Required: module_code. Optional: confirm."
      +  }
      +]
    • changedInput schema / properties / confirm / description
      Previous value: -"Pass true only after the user approves this change. Required by: module_uninstall."New value: +"Confirmation of this deletion. Not needed unless the server refuses the call because the site owner requires it; that refusal says what to do."
    • changedInput schema / required
      Previous value: -[
      -  "action",
      -  "module_code",
      -  "confirm"
      -]New value: +[
      +  "action",
      +  "module_code"
      +]
  3. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "action"
      -]New value: +[
      +  "action",
      +  "module_code",
      +  "confirm"
      +]
  4. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known without the description. The description adds specificity by naming what is lost (module data), but says nothing about reversibility, permission requirements, or side effects on dependent content. With annotations carrying the main burden, this is adequate but thin.

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?

Two short sentences with the action front-loaded and the risk statement second. It is efficient, though the second sentence partly duplicates the destructiveHint annotation rather than adding new information.

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, no-output-schema operation with fully documented parameters and annotations, the description covers the essentials. It stops short of explaining irreversibility, what happens to data on failure, or how confirmation refusal manifests, which would matter for an agent deciding whether to call it.

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%, and the schema itself explains site_id, module_code, and the conditional confirm flag in detail. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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 and resource ('Uninstalls a module from the site'), so the operation is unambiguous. It does not differentiate itself from siblings like modules_write (which presumably toggles module state) or apps_delete, leaving the agent to infer that this is the module-specific removal path.

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 or when-not-to-use guidance at all: nothing says whether to disable a module via modules_write instead, nor what prerequisites exist before uninstalling. The only contextual cue is the data-loss warning, which is a consequence rather than a usage rule.

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.