Skip to main content
Glama

thm_get_task

Read-onlyIdempotent

Retrieve a TryHackMe room task as Markdown to access its teaching content, commands, questions, optional hints, and your submitted answers.

Instructions

Get one task of a room as Markdown: the teaching content, commands, and questions.

include_hints: show the hints TryHackMe attaches to questions. include_my_answers: show answers YOU already submitted (needs login). Off by default.

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": {
      "room_code": "<room_code>",
      "task_no": "<task_no>"
    },
    "name": "thm_get_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_noYes
room_codeYes
include_hintsNo
include_my_answersNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds genuinely new behavioral facts: the payload is rendered Markdown, and include_my_answers requires login, which is an authentication prerequisite not expressible in 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?

Front-loads the core behavior in one sentence, then a short per-parameter block for the two non-obvious flags. No filler, no repetition of the tool name or annotations.

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 and annotations cover safety, so the description doesn't need to explain return values. It is nearly complete for a 4-parameter read tool; the only missing piece is guidance on the room_code identifier format.

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 parameter meaning. It does explain both optional flags well, including the default for include_my_answers, but leaves room_code and task_no entirely unqualified — no expected format or example for room_code (slug vs URL) — which is the costliest gap for a required parameter.

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 one task of a room') plus the return format ('as Markdown') and the content returned (teaching content, commands, questions). It clearly differs from bulk siblings like thm_room_full or thm_room_questions, though it never names any sibling explicitly.

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?

Usage is implied by the single-task scope and by the flag descriptions ('Off by default'), and the login caveat hints at when include_my_answers is usable. There is no explicit when-to-use-this-vs-alternative statement, so the agent must infer the boundary with the room-level tools.

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