Skip to main content
Glama
DFA

DFA

dfa_volatility_linux_bash

Recover Linux bash command history from a memory image to reconstruct executed commands. Flag empty histories as potential anti-forensics evidence.

Instructions

Recovered bash command history from memory (Volatility 3 linux.bash). Anti-forensics check: an empty history can itself be a clue. Does not modify evidence; appends to the dfa audit log.

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": {
      "image": "<image>"
    },
    "name": "dfa_volatility_linux_bash"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesAbsolute path to the memory image file (read-only).
offsetNoSkip this many rows before the inline page (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false with destructiveHint=false, and the description explains that apparent tension: evidence is not modified but the dfa audit log gets appended. That is exactly the kind of side-effect context annotations alone cannot convey. It stops short of describing return shape, but with no output schema that is a smaller gap.

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

Conciseness5/5

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

Three short sentences, front-loaded with what is recovered and followed by the interpretive tip and the side-effect disclaimer. Nothing is padded or repeated from the name.

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 two-parameter, non-destructive read (plus audit-log append) tool with no output schema, the description covers what it returns conceptually, the forensic interpretation, and the write side effect. A brief note on what the history rows look like would close the remaining gap.

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 100%, so both 'image' and 'offset' are already documented, including the read-only path constraint. The description adds no format, path, or offset syntax guidance beyond the schema, which is acceptable at full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Recovered bash command history from memory') and pins the source plugin (Volatility 3 linux.bash). No sibling in the list targets bash history, so the scope is unambiguous without needing to name an alternative.

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

Usage Guidelines3/5

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

Mentions an anti-forensics framing ('an empty history can itself be a clue'), which implies when the tool is worth running, but it never states explicit when-to-use or when-not-to-use conditions, nor does it route the agent to any alternative for shell-activity questions.

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