Skip to main content
Glama
Penthera: Cyber Security Agent

Penthera: Cyber Security Agent

Explain a finding

explain_finding
Read-onlyIdempotent

Decode a scan finding's rule to see what it checks, why it matters, how to fix it, effort, owner action, and OWASP references; use it after any scan returns a finding.

Instructions

Explain a finding's rule: what it checks, why it matters, how to fix it, effort, whether it is an owner action (rotate a key, change DNS), research references and OWASP MCP/Agentic ids. Pass the rule field of a finding as id (e.g. agents/mcp-unpinned, secrets, headers). Use it after any scan tool returns a finding; it scans nothing itself. Returns action, why, fix, effort, owner_action, references, OWASP ids and limits. An id it doesn't know returns general advice marked as an unknown rule, never an error.

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": {
      "id": "<id>"
    },
    "name": "explain_finding"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe finding's `rule`, e.g. agents/mcp-unpinned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

The annotations already mark it read-only, idempotent, non-destructive, and closed-world. The description adds substantial behavior beyond that: it lists the returned fields (action, why, fix, effort, owner_action, references, OWASP ids, limits) and specifies that an unknown id returns general advice marked as an unknown rule rather than an error. That is valuable operational context an agent could not get from the annotations alone.

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?

The definition is front-loaded and efficiently packs purpose, usage, and return behavior into a few sentences. There is some redundancy: the first sentence lists what the explanation covers, and the last sentence repeats much of that list as returned fields. The repetition is minor but slightly reduces conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description appropriately explains the return contents and the unknown-id fallback. For a single-parameter read-only lookup tool, the definition covers everything an agent needs to select and invoke it correctly.

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 input schema already documents the single id parameter. The description adds meaning by mapping the finding's `rule` field to `id` and giving concrete examples such as agents/mcp-unpinned, secrets, and headers. This goes beyond the schema description, though the mapping is the main additional semantic detail.

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 states a specific verb and resource: explain a finding's rule. It enumerates exactly what the explanation covers (what it checks, why it matters, how to fix it, effort, owner action, references, OWASP ids) and explicitly distinguishes the tool from scan tools by saying it scans nothing itself.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance: 'Use it after any scan tool returns a finding.' It also states when not to use it by clarifying 'it scans nothing itself.' The sibling tools are scan tools, and the routing guidance is clear without needing to infer alternatives.

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