Skip to main content
Glama

Lock Training Module

lock_module
DestructiveIdempotent

Freeze a module permanently. This cannot be undone through the API — confirm with the user first. Already-locked is a no-op.

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": "lock_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
moduleIdYes

Output Schema

NameRequiredDescriptionDefault
lockNo
lockedNo

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 flag destructiveHint=true and idempotentHint=true, so the safety profile is covered structurally. The description adds value beyond that by specifying there is no reversal path 'through the API' and by restating the no-op behavior in human terms — both meaningful for a destructive operation. It does not mention required permissions or the effect on learners/attempts, so it stops short of a 5.

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 sentences, front-loaded with the action and its permanence, then the confirmation requirement, then the idempotency note. Every sentence earns its place with no filler.

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?

An output schema exists, so return values need no explanation, and the irreversible/no-op behavior plus the confirmation requirement cover the essentials for a destructive single-parameter tool. Minor gaps remain around permissions and downstream effects on module users, but nothing critical for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single moduleId parameter has 0% schema description coverage, so the description carries the full burden — yet it says nothing about whether moduleId is a numeric ID, slug, or name, nor any format or constraint. The word 'module' only implies the target type, adding essentially no semantics over 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?

States a specific verb and resource: 'Freeze a module permanently.' The adverb 'permanently' and the resource noun 'module' distinguish it well enough from lock_video, though the description never explicitly contrasts with other module-level tools such as update_module or delete_module.

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 real pre-call guidance: 'confirm with the user first' establishes a confirmation prerequisite, and 'Already-locked is a no-op' tells the agent it need not check state beforehand. No explicit when-not or named alternative is offered, keeping it below a 5.

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