Skip to main content
Glama
DFA

DFA

dfa_report_generate

Generate a self-contained HTML forensic report from the custody log with case details, evidence inventory, timeline, methodology, findings, and limitations. Writes a new file without overwriting.

Instructions

Generate a self-contained HTML forensic report from the custody log: case info, evidence inventory, chain-of-custody timeline, methodology, findings, limitations. Writes one new file under the dfa report directory; never overwrites.

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": {
      "caseId": "<caseId>",
      "examiner": "<examiner>",
      "findings": "<findings>",
      "name": "<name>"
    },
    "name": "dfa_report_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesReport file name only (letters, digits, . _ -), ending in .html. Written under the dfa report directory.
notesNoCase notes.
caseIdYesCase identifier.
subjectNoSubject of investigation.
examinerYesHuman examiner of record (the agent acted as their tool).
findingsYesFindings. Every finding should cite custody seq numbers and state its limitation.
limitationsNoReport-level limitations; defaults are used if omitted.

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 only declare the generic profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false). The description adds real behavioral context beyond them: one new file is written under the dfa report directory and nothing existing is overwritten. It stops short of noting that repeated calls create additional files (consistent with non-idempotent) or what permissions fail.

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?

Two dense sentences, zero filler, with the artifact and its contents front-loaded and the write-safety constraint placed second. Every clause carries information an agent needs.

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 seven-parameter write tool with no output schema, the definition covers the artifact, its contents, and the write semantics, which is most of what an agent needs. The gap is the return value (presumably the written path) and the failure mode when the custody log is empty or the name is invalid, neither of which is stated.

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 every one of the seven parameters is already documented, including the name constraint, examiner role, and the per-finding evidence/limitation guidance. The description adds only scope-level context ('from the custody log') rather than new per-parameter meaning, so the baseline 3 applies.

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?

The description names a specific verb and artifact ('Generate a self-contained HTML forensic report from the custody log') and enumerates the report's contents (case info, evidence inventory, chain-of-custody timeline, methodology, findings, limitations). That clearly separates it from the read-only volatility and custody-verification siblings.

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?

Usage is only implied: it consumes 'the custody log' and produces a final report, which suggests it is a terminal step. There is no explicit when-to-use/when-not-to-use statement, no mention of prerequisites such as running dfa_custody_verify first, and no guidance on repeated invocation versus selecting a sibling.

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