Skip to main content
Glama

thm_module

Read-onlyIdempotent

Fetch a TryHackMe module and its rooms in order using a module code or URL, helping you inspect the themed learning path and plan study or lab work.

Instructions

Get a module (a themed group of rooms, e.g. 'linux-fundamentals') and its rooms in order.

module_code: e.g. 'linux-fundamentals' or a tryhackme.com/module/... URL. Find codes with thm_search(kind='modules').

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_code": "<module_code>"
    },
    "name": "thm_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
module_codeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds only that rooms are returned in order; it says nothing about pagination, missing modules, or auth requirements, which is a modest addition over the annotations.

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 lines, front-loaded with the purpose, then the parameter format, then the discovery hint. No filler whatsoever.

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 single required parameter is documented in the description. Complete enough to invoke correctly; only the absence of failure-mode behavior keeps it from a 5.

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 0%, so the description must carry the parameter meaning, and it does explain that module_code accepts either a bare code or a tryhackme.com/module/... URL plus how to discover codes. That is useful but limited to one parameter with no format edge cases (case sensitivity, trailing slashes) addressed.

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 ("Get a module") and clarifies what a module is with a concrete example, plus what is returned ("its rooms in order"). It is clearly distinct from siblings like thm_room_full or thm_path_outline, though it never explicitly contrasts 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 Guidelines4/5

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

Gives a concrete prerequisite path: find codes via thm_search(kind='modules'), which is exactly the guidance an agent needs before calling. It stops short of stating when NOT to use this tool (e.g. versus thm_my_current_module or thm_path_outline).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.