Skip to main content
Glama

Get machine details

htb_get_machine
Read-only

Retrieve a Hack The Box machine profile by name or ID to view OS, difficulty, points, ownership, maker, and active play details.

Instructions

Get a machine's profile by name or ID, including OS, difficulty, points, ownership, maker, and active play info.

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

Input Schema

NameRequiredDescriptionDefault
targetYesMachine or challenge name/slug, or numeric ID.
include_rawNoInclude the raw HTB profile payload.

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?

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description usefully adds which fields the profile contains, but says nothing about error behavior for unknown machines, caching, or whether 'active play info' is scoped to the caller's account.

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; the lookup keys and the returned field list both earn their place. Slightly list-like enumeration keeps it short of ideal structure, but nothing is wasted.

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 two-parameter read-only lookup with annotations and no output schema, the description covers the identifier options and previews the response contents, which is most of what an agent needs. Only failure modes and sibling routing are absent.

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 100%, so both 'target' and 'include_raw' are fully documented in the schema, which sets the baseline at 3. The description's 'by name or ID' merely echoes the schema's own wording and adds no new detail about slug format or ID ranges.

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 gives a specific verb and resource ('Get a machine's profile') plus lookup keys ('by name or ID') and enumerates returned fields. It is clearly distinct from mutation siblings like htb_launch_machine or htb_reset_machine, though it does not explicitly contrast with htb_get_challenge or htb_list_machines.

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: fetch the profile of one specific machine identified by name or ID. There is no explicit when-to-use guidance, no mention of using htb_list_machines to discover a machine first, and no statement about what happens for a nonexistent target.

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