Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

optimize_tool_parameters_ai

Optimize security tool parameters with AI based on target and context, adapting settings for stealth or aggressive testing to improve penetration-test effectiveness.

Instructions

Use AI to optimize tool parameters based on target profile and context.

Args: target: Target to test tool: Security tool to optimize context: JSON string with additional context (stealth, aggressive, etc.)

Returns: AI-optimized parameters for maximum effectiveness

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>",
      "tool": "<tool>"
    },
    "name": "optimize_tool_parameters_ai"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYes
targetYes
contextNo{}

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.9/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 behavioral burden and leaves the most important question open: does 'target: Target to test' mean the tool actually touches the target, or is it only a label for parameter tuning? It also says nothing about latency/cost of the AI call, whether results are persisted, or whether the tool name must come from an existing catalog.

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?

The opening sentence is front-loaded and the whole entry is short with no filler. The Args/Returns scaffolding is slightly boilerplate, and the Returns line restates what the output schema already covers, but nothing is bloated.

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?

An output schema exists, so return values need not be explained, and the three parameters are all mentioned. Still, for an AI-driven tool that may act against a live target with no annotations, missing coverage of execution side effects, cost, and tool-name conventions leaves real gaps.

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 0%, so the Args block does meaningful work by enumerating all three parameters and hinting at context keys ('stealth, aggressive, etc.'). But 'Target to test' adds nothing over the schema title, expected formats (URL vs. domain vs. IP) are unspecified, and the accepted values for 'tool' are never defined.

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 specific verb and object: use AI to optimize a security tool's parameters, given a target and context. That is clearly distinct from a plain scanner invocation. However, it never contrasts itself with near-neighbors such as select_optimal_tools_ai or ai_generate_attack_suite, so an agent must infer the boundary itself.

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 when-to-use guidance, no prerequisites, and no named alternative. An agent cannot tell from the text whether this should run before, during, or instead of executing the target tool, nor whether it is meant as a pre-flight tuning step.

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