Skip to main content
Glama

Delete Module

delete_module
Destructive

Remove a module: its pods stop, it leaves the project and its CORS origins, and a backend module's stored data (its /data volume) is deleted with it. DESTRUCTIVE. One operation runs on a module at a time, and none beside an operation on its project: the refusal names the running job; wait for it with get_job_status, then call again. While RationalBloks is being updated, the call is refused with 'RationalBloks is being updated': call it again in a few minutes.

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": {
      "module_id": "<module_id>"
    },
    "name": "delete_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
module_idYesModule ID (list_modules)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, so the bar is lower, yet the description adds substantial context beyond them: exactly what is destroyed (pods, project membership, CORS origins, persisted /data for backend modules), the serialization lock semantics, and the literal maintenance-window refusal message. This is the kind of consequence detail an agent cannot infer from structured fields.

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?

Three sentences, each functional: consequence, destructive marker, then the two refusal/retry conditions. Impact is front-loaded and there is no filler or repeated annotation content.

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

Completeness5/5

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

For a single-parameter destructive tool with no output schema, the description covers what is destroyed, irreversibility implications, concurrency constraints, and failure remediation. Nothing an agent needs before invoking it is missing.

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?

Only one parameter (module_id) with 100% schema description coverage that already points to list_modules, so the schema fully carries the burden. The description adds no format or sourcing detail for module_id, making baseline 3 appropriate.

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?

Opens with a specific verb and resource ('Remove a module') and immediately enumerates the consequences (pods stop, it leaves the project and its CORS origins, /data volume deleted). This distinguishes it from redeploy/update/freeze siblings without needing their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-not conditions: it cannot run concurrently with another module operation or a project operation, and it is refused during RationalBloks updates, with remediation (wait via get_job_status, or retry in a few minutes). It does not contrast with alternatives like delete_project for a broader teardown, but the blocking/retry guidance is unusually concrete.

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.