Skip to main content
Glama

thm_check_auth

Read-onlyIdempotent

Verifies that a TryHackMe login is configured and still valid, helping you detect expired or missing authentication before using TryHackMe features.

Instructions

Check whether a TryHackMe login is configured and still valid.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "thm_check_auth"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety and network profile is covered elsewhere. The description adds the useful nuance that the check covers both configuration presence and validity (two distinct failure modes), but it says nothing about cost, latency, or whether validation performs a live network round-trip. With annotations doing most of the work, a 3 is appropriate.

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?

A single sentence with no filler, and the core purpose is front-loaded in the first three words. Nothing in it could be removed without losing meaning.

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?

For a zero-argument, read-only status tool with both annotations and an output schema, the description covers everything needed to call it correctly. The only missing piece is guidance on when in a workflow to invoke it, which is a modest gap rather than a blocking one.

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

Parameters4/5

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

The tool takes zero parameters, and the description correctly introduces none, so there is no parameter ambiguity to resolve. Baseline 4 applies for a parameterless tool.

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?

The description pairs a specific verb ('Check') with a specific resource ('whether a TryHackMe login is configured and still valid'), so an agent knows exactly what question this tool answers. It is clearly distinguishable from every listed sibling, which all retrieve profile, room, or progress data rather than authentication state. It stops short of explicitly naming that distinction, which keeps it from 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?

No explicit when-to-use or when-not-to-use statement is given, and it does not tell the agent that this should be run as a prerequisite before other authenticated calls. The usage is strongly implied by the name and the phrase 'configured and still valid', but the agent has to infer the sequencing itself.

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