Skip to main content
Glama
DFA

DFA

dfa_volatility_linux_sockstat

Enumerate Linux sockets from a memory image to identify network connections; pair with netstat for C2 hunting. Read-only and appends each call to the audit log.

Instructions

Socket enumeration from a Linux memory image (Volatility 3 linux.sockstat). Pair with netstat for C2 hunting. 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_sockstat"
  }
}

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

A3.5/5.0
Behavior3/5

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

The annotations declare readOnlyHint=false and destructiveHint=false, and the description usefully explains why: it does not modify evidence but does append to the dfa audit log, which reconciles the apparent tension with readOnlyHint=false. That is real added context, but it says nothing about runtime behavior such as plugin/profile failures on unsupported images or what happens if the audit log is unwritable.

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 with zero filler: identity and plugin first, forensic pairing second, side effects last. Every sentence carries information an agent cannot get from the schema or annotations alone.

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?

With no output schema, the description should at least sketch what a sockstat result looks like (per-process socket entries with addresses/states) and flag common failure modes for memory-image parsing. The safety and audit-log behavior is covered, but the return-value and failure surface is missing for a tool an agent must interpret output from.

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% for both parameters (image, offset), so the schema already carries parameter meaning and the baseline applies. The description adds no further parameter guidance, such as whether offset paginates socket rows and in what units, leaving that entirely to the schema's terse wording.

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 names a specific verb and resource ('Socket enumeration from a Linux memory image') and pins the exact Volatility 3 plugin (linux.sockstat), which is far more specific than a restated name. It does not, however, differentiate itself from the closely named sibling dfa_volatility_linux_sockscan, so an agent must still guess which socket plugin to pick.

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?

'Pair with netstat for C2 hunting' gives a genuine usage context and suggests a companion tool, which is more than most definitions offer. It stops short of stating when to prefer this over linux_sockscan or when the tool is a poor fit (e.g., non-Linux images), leaving the selection rule implicit.

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