Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

exiftool_extract

Extract file metadata such as EXIF tags in JSON, XML, or CSV by running ExifTool with configurable tags and additional arguments.

Instructions

Execute ExifTool for metadata extraction with enhanced logging.

Args: file_path: Path to file for metadata extraction output_format: Output format (json, xml, csv) tags: Specific tags to extract additional_args: Additional ExifTool arguments

Returns: Metadata extraction 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": {
      "file_path": "<file_path>"
    },
    "name": "exiftool_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
file_pathYes
output_formatNo
additional_argsNo

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?

No annotations are supplied, so the description carries the full burden and does not meet it. 'Enhanced logging' is undefined, and nothing says that this executes an external binary, whether the file is read only, how errors surface, or how risky arbitrary additional_args passthrough is.

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 purpose sentence is front-loaded and short, but most of the body is Args/Returns boilerplate that largely restates the schema. The Returns line is wasted because an output schema exists.

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 four-parameter extraction wrapper this is close to sufficient: the reader learns the required file_path, the output formats, and the tag filter, and the output schema covers results. What is missing is any note on error behavior or the meaning of additional_args.

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 coverage is 0%, so the schema offers only titles and defaults. The description does useful work by listing the accepted output_format values (json, xml, csv) and by labeling tags as a specific-tag filter, but additional_args remains an unexplained free-form passthrough with no syntax or safety note.

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 first line states a specific verb and resource: run ExifTool to extract file metadata. That is clearly distinct from nearby siblings such as strings_extract or checksec_analyze. It stops short of naming any alternative or stating the boundary, so it is clear but not perfectly differentiated.

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 choose this tool over strings_extract or binwalk_analyze, no prerequisites, and no note on file types or size limits. The reader has to infer all of that from the tool name and the ExifTool reference.

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