Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

execute_command

Runs arbitrary commands on the HexStrike AI server with enhanced logging, telemetry, and optional caching, enabling AI agents to automate cybersecurity tool execution and capture results.

Instructions

Execute an arbitrary command on the HexStrike AI server with enhanced logging.

Args: command: The command to execute use_cache: Whether to use caching for this command

Returns: Command execution results with enhanced telemetry

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": {
      "command": "<command>"
    },
    "name": "execute_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes
use_cacheNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It mentions enhanced logging, telemetry, and caching, but omits critical traits such as destructive potential, permissions required, sandboxing, timeouts, error behavior, and whether command execution is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loads the main purpose, but the Args section largely repeats the input schema. The Returns section adds little because an output schema already exists, and 'enhanced' is vague rather than informative.

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?

For a high-risk arbitrary command execution tool with no annotations and 0% schema description coverage, the definition is incomplete. It does not explain execution environment, safety constraints, alternative tools, or parameter behavior, leaving the agent with significant gaps.

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 0%, so the description must explain parameter meaning. Instead, 'command' is defined circularly as 'The command to execute', and 'use_cache' is described only as 'Whether to use caching', without explaining cache scope, invalidation, or the effect of the default value.

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 states a clear verb and resource: executing an arbitrary command on the HexStrike AI server. It does not explicitly distinguish this from the sibling execute_python_script, so the agent must infer the boundary between shell commands and Python scripts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus execute_python_script or other execution-related siblings. It also provides no prerequisites, safety conditions, or exclusions for an arbitrary command execution tool.

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

Deploy Server

Other Tools