Skip to main content
Glama
sec-audit-swarm
by mesutgungor

sec_audit_list_findings

Lists security audit findings from a run's SQLite blackboard, with optional status filtering, so you can review candidates, verified issues, and rejected results.

Instructions

List findings from a sec_audit SQLite blackboard run (optionally filtered by status).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sec_audit_list_findings"
  }
}

Input Schema

NameRequiredDescriptionDefault
dbNoBlackboard SQLite path (default: audit_state/blackboard.db)
run_idNoAudit run ID (defaults to latest run)
statusNoOptional finding status filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; 'List' signals a non-mutating read, and the blackboard/run context tells the agent what domain state it reads from. It is silent on ordering, result limits, and how findings are shaped, which matters for a tool with no output schema.

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?

One front-loaded sentence with no filler. The status-filter clause slightly duplicates the schema but is brief enough not to be wasteful.

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?

For a 3-parameter read tool with no annotations and no output schema, the definition covers inputs adequately via the schema but leaves the agent guessing about result shape and volume. Adequate, not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds that filtering is optional, reinforcing that a bare call returns everything for a run. It does not go beyond the schema in explaining run_id resolution order or db precedence, so it stays just above baseline.

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 ('List') and resource ('findings from a sec_audit SQLite blackboard run'), so an agent can tell this is a read/query tool rather than a gate, scan, or export sibling. It doesn't explicitly contrast itself with any sibling, which keeps it from a 5.

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?

The parenthetical hints at an optional narrowing by status, implying usage, but there is no explicit when-to-use or when-not-to-use guidance and no pointer to alternatives like sec_audit_coverage_ledger or sec_audit_gate for other cuts of the same data.

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