Skip to main content
Glama

Delete Training Module

delete_module
DestructiveIdempotent

Delete a module. Locked modules are permanent records and can't be deleted. Attempt records survive.

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

Input Schema

NameRequiredDescriptionDefault
moduleIdYes

Output Schema

NameRequiredDescriptionDefault
idNo
deletedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds two pieces of genuinely non-structured context: locked modules are permanent and rejected, and attempt records survive the deletion, which is important cascade/partial-effect information an agent cannot derive from the annotations. It stops short of saying whether deletion is soft or hard and how surviving attempts are linked afterwards.

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 short declarative sentences, front-loaded with the action and followed immediately by the two constraints that matter. Nothing is redundant or padded.

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

Completeness4/5

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

With an output schema present and rich annotations, the description need not explain return values or safety. It covers the two non-obvious behaviors a caller must know before deleting, leaving only minor gaps such as how to detect a locked module or locate the moduleId.

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?

The schema covers 0% of the single moduleId parameter, so the description would need to compensate. It implies a module identifier is required but adds no detail on where to get it (get_module, list_* tools) or its expected format. With only one, self-evidently named string parameter the gap is modest, but the description does no work here.

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?

"Delete a module" gives a specific verb plus resource that names the acted-on entity and separates it from the surrounding delete_* siblings (delete_course, delete_video, etc.) by resource alone. It does not explicitly contrast with related module tools such as update_module or lock_module, so it stops short of a 5.

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 supplies one hard precondition: locked modules cannot be deleted, which tells the agent when the call will fail. It gives no guidance on alternatives (e.g., unlocking first, or using update_module instead) and no prerequisite check for obtaining a valid moduleId, so usage is only implied.

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.

Resources