Skip to main content
Glama

List Hack The Box machines

htb_list_machines
Read-only

Search and filter Hack The Box machines by state, difficulty, OS, name, free/VIP status, or completion, then return compact summaries with pagination metadata.

Instructions

Search and filter machines by state, difficulty, OS, name, free/VIP, and completion. Returns compact machine summaries with pagination metadata.

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_machines"
  }
}

Input Schema

NameRequiredDescriptionDefault
osNoOperating system filter.
freeNoFilter to free (true) or paid (false) machines.
pageNo
todoNoOnly machines marked as todo.
stateNoCatalogue state. Use 'all' to search active and retired machines.active
keywordNoName search string.
sort_byNo
per_pageNo
completedNo
sort_typeNo
difficultyNoMachine difficulty filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context by disclosing the return shape ('compact machine summaries with pagination metadata'), but says nothing about authentication requirements, rate limits, or result caps for the external HTB API.

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?

Two tight, front-loaded sentences: filtering capability first, return shape second. No filler, though a slightly more explicit enumeration of filter names would have cost nothing.

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

Completeness3/5

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

Covers purpose, filters, and that results are paginated, which is the core need for an 11-parameter, output-schema-less tool. However, pagination semantics (defaults, max per_page) and sort options are left entirely to the schema, and mutation-adjacent concerns are moot given the read-only annotation.

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?

With 55% schema coverage and 11 parameters, the description enumerates most filter axes (state, difficulty, OS, name, free/VIP, completion) and clarifies that 'free/VIP' maps to the free flag. It says nothing about the sorting or pagination parameters (sort_by, sort_type, page, per_page) or the todo filter, leaving roughly half the surface to the schema alone.

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') plus resource ('machines') and enumerates the filter dimensions, which clearly separates it from single-item siblings like htb_get_machine and from htb_list_challenges. It does not explicitly name an alternative, but the list-vs-get distinction is unambiguous.

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 listing/search framing, and the description tells the agent the tool returns paginated summaries, but it gives no explicit when-to-use/when-not guidance nor points at siblings such as htb_get_machine for a single-machine lookup. Adequate but leaves routing to inference.

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