Skip to main content
Glama

websex_testdisk

Run TestDisk forensic recovery within a scoped engagement namespace to recover partitions and files from disk images. Pass argv tokens directly, no shell parsing; use relative artifact paths.

Instructions

Run testdisk from the WebSex forensics toolkit. The container executes testdisk directly with the supplied argv tokens; shell parsing is never used. Runs from the selected engagement namespace; use relative paths for engagement artifacts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stdinNo
argumentsYes
engagement_idYes
working_directoryNo.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/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. It usefully discloses the execution model — direct exec of argv tokens with no shell parsing — and the namespace context, which is real value. However it omits any mention of privilege requirements or the fact that testdisk can modify partitions/disks, a material risk for a mutation-capable tool.

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?

Three tight sentences, front-loaded with the purpose before execution details. Little waste, though the last sentence's operational notes could be denser.

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 described, and the execution model is covered. But with zero schema description coverage and no annotations, the undocumented parameters and the undisclosed destructive potential leave meaningful gaps for a forensics-execution tool.

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% across 4 parameters, so the description must compensate. It clarifies 'arguments' as raw argv tokens with no shell interpretation, and maps working_directory via 'use relative paths', but leaves engagement_id and stdin entirely unexplained.

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 ('Run testdisk') and names the toolkit it belongs to, so an agent knows this is a thin wrapper around the testdisk binary rather than a general script runner. It never says what testdisk actually does (partition/file recovery), so an agent unfamiliar with the tool gets no functional orientation.

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?

The description gives operational constraints ('runs from the selected engagement namespace', 'use relative paths for engagement artifacts') but offers no when-to-use guidance and no routing against the many sibling forensics tools (binwalk, foremost, sleuthkit_fls). An agent has no basis for choosing this over adjacent recovery tools.

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