Skip to main content
Glama

Get challenge details

htb_get_challenge
Read-only

Fetch challenge details by ID or slug to view category, difficulty, description, Docker status, and solve state.

Instructions

Get challenge details by ID or slug, including category, difficulty, description, docker status, and solve state.

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": {
      "target": "<target>"
    },
    "name": "htb_get_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesMachine or challenge name/slug, or numeric ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The readOnlyHint=true annotation already tells the agent this is a safe read, lowering the bar. The description usefully adds that the response includes live fields like docker status and solve state, but says nothing about authentication needs, rate limits, or error behavior for unknown IDs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence that names the identifier input first and then the payload, with no filler. It is efficient, though the field enumeration could be trimmed if the schema or output shape carried it.

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 one-parameter read-only getter with safety already covered by annotations, the description supplies the essential payload overview, which is valuable given there is no output schema. Only minor gaps remain around error handling and lookup scope.

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 coverage is 100%, so the single 'target' parameter is already fully documented as accepting name/slug or numeric ID. The description's 'by ID or slug' merely restates that without adding accepted formats or edge cases.

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 challenge details') and enumerates the returned fields (category, difficulty, description, docker status, solve state), which clearly distinguishes it from the listing sibling htb_list_challenges. It never names an alternative explicitly, so it falls just short of the top band.

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 only implied: an agent infers this is the tool for fetching a single challenge once it has an identifier. There is no explicit when-to-use/when-not guidance and no mention of siblings such as htb_list_challenges or htb_submit_flag.

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