Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

create_file

Writes specified text or binary content to a named file on the HexStrike server for storage during security tasks.

Instructions

Create a file with specified content on the HexStrike server.

Args: filename: Name of the file to create content: Content to write to the file binary: Whether the content is binary data

Returns: File creation results

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": {
      "filename": "<filename>",
      "content": "<content>"
    },
    "name": "create_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
binaryNo
contentYes
filenameYes

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?

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: it does not state what happens if the filename already exists (overwrite vs. error), whether paths are absolute or sandboxed, what permissions are needed, or whether creation is reversible. The only implicit behavioral signal is the word 'Create' indicating a mutation, plus a vacuous 'Returns: File creation results' that adds nothing since an output schema exists.

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 prose is short and the purpose is front-loaded in the first sentence, but the docstring-style 'Args:'/'Returns:' scaffolding restates field names rather than adding information, and 'Returns: File creation results' is filler given an output schema exists. Nothing is verbose, but several lines fail to earn their place.

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 write operation with no annotations, 0% schema description coverage, and an ambiguous binary flag, the definition leaves too much unstated: overwrite semantics, path resolution, encoding contract, and error behavior are all missing. The presence of an output schema excuses it from describing return values, but that is the only gap it is excused from.

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 compensate, but the Args block largely restates the schema titles ('Name of the file to create', 'Content to write to the file', 'Whether the content is binary data'). Critically, it never explains the interaction between content and binary — whether binary=true expects base64, a path, or raw bytes — which is the single most important ambiguity for correct invocation, nor what path namespace filename resolves against.

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: 'Create a file with specified content on the HexStrike server.' An agent can distinguish this from modify_file and delete_file by the verb alone, though the description never explicitly contrasts with those siblings or clarifies scope (e.g., whether it can create directories or only files in an existing workspace).

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?

No when-to-use or when-not-to-use guidance. It does not say whether this is the right tool for new artifacts versus modify_file, nor does it mention prerequisites such as an existing session on the HexStrike server. The agent has to infer all selection logic from the name.

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