Skip to main content
Glama

Extend the active machine

htb_extend_machine

Extend the active Hack The Box machine's lifetime by 24 hours and return the new expiration date, optionally checking a target machine before extending.

Instructions

Extend the active machine's lifetime by 24 hours. Returns HTB's new expiration date.

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

Input Schema

NameRequiredDescriptionDefault
targetNoOptional machine to check before extending.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already flag this as a non-read-only, non-destructive, open-world mutation. The description usefully adds the exact effect (24-hour extension) and the return value (new expiration date), but omits whether extensions cost money/points, how many times they can be applied, or whether the machine must be running first.

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?

Two short sentences, front-loaded with the action and duration, then the return value. Nothing redundant or padded.

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-optional-parameter mutation with no output schema, the description covers what it does, the size of the effect, and what comes back, so it is close to sufficient. Only the operational constraints (limits, cost, active-machine prerequisite) are missing.

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% for the single optional `target` parameter, so the baseline of 3 applies. The description never mentions `target` or explains how passing it differs from omitting it, leaving the schema's own 'check before extending' wording to carry that meaning.

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 (extend the active machine's lifetime) plus the exact effect (+24 hours), which separates it from siblings like htb_stop_machine or htb_reset_machine. It stops short of naming an alternative or contrasting cases, so it is clear but not fully differentiating.

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 'active machine' — the agent can infer this applies when it needs more time on a running instance — but there is no explicit when-to-use statement, no mention of prerequisites (an active machine must exist), and no mention of any cost or per-machine extension limit.

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