Skip to main content
Glama

Submit Challenge Flag

htb_challenge_submit
Destructive

Submits a Hack The Box challenge flag for a target with a required 10-100 difficulty rating, confirming first because submissions are irreversible.

Instructions

Submit a challenge flag. difficulty is a required rating in steps of 10 from 10 to 100 — ask the user if they did not provide one. Submissions are irreversible: confirm with the user first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagYesThe flag, e.g. HTB{...}
targetYesChallenge id or name
difficultyYesDifficulty rating 10-100 in steps of 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds material context beyond them: submissions are irreversible and a user confirmation should precede the call. That is genuine added behavioral value, though it does not explain what a failed/invalid flag submission does.

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?

Three short sentences, front-loaded with the core action, then the difficulty requirement, then the irreversibility warning. Every sentence carries an instruction the agent needs.

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 3-required-param mutation with no output schema and annotations covering the safety profile, the description supplies the key missing operational detail (irreversibility plus confirmation). It omits only minor edges such as flag-format validation or what a rejected submission returns.

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 the flag/target/difficulty semantics and the 10-100 step-of-10 constraint are already documented in the schema. The description reinforces the difficulty requirement and the ask-the-user fallback but adds no format details beyond the schema.

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 ('Submit a challenge flag'), which cleanly separates it from htb_machine_submit by resource. It stops short of explicitly naming the sibling alternative, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete operational guidance: prompt the user for difficulty if omitted, and confirm before submitting because the action is irreversible. It does not describe when this tool is preferred over other challenge tools (e.g. after htb_challenge_info), but the invocation conditions are clear.

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