Skip to main content
Glama

List challenges

htb_list_challenges
Read-only

Retrieve and filter Hack The Box challenges by state, difficulty, category, keyword, and completion status to find suitable targets for practice or research.

Instructions

Search and filter HTB challenges by state, difficulty, category, name, and completion.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
stateNoactive
keywordNo
categoryNoNumeric category ID.
per_pageNo
completedNo
difficultyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds no behavioral context at all: it does not mention that state defaults to 'active' (so retired challenges are silently excluded unless state='all'), nor any paging limits or result-set behavior.

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?

A single front-loaded sentence with no filler; it is efficient, though its brevity is achieved partly by omitting needed detail rather than by tight editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters, a non-obvious default state, three enum params, pagination, and no output schema, the description is too thin. An agent could easily call it and get only active challenges or an unexpected page size without ever being warned.

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?

Schema description coverage is only 14% (only category is documented), so the description must compensate, yet it only loosely names filter concepts and never explains pagination (page, per_page with 5-100 range), the default state, or that the 'name' filter is actually the keyword 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 ('search and filter') and resource ('HTB challenges') and enumerates the filter dimensions, so an agent knows it returns a filtered collection rather than a single challenge. It does not explicitly contrast with htb_get_challenge or htb_list_machines, so sibling differentiation stays implicit via the resource name.

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 by the word 'search and filter' – the agent can infer this is the bulk-listing path, but the description never says when to prefer it over htb_get_challenge or what happens with no filters supplied.

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