Skip to main content
Glama

findings_summary

Retrieve a completed scan's findings severity breakdown by scanner type, including total counts, per-engine severity/status/state counters, and SCA package count.

Instructions

Get a severity breakdown of findings for a completed scan, grouped by scanner type. Returns total count, per-engine severity/status/state counters, and the number of SCA packages.

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": {
      "scanId": "<scanId>"
    },
    "name": "findings_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
scanIdYesThe scan UUID
hideDevAndTestDependenciesNoHide SCA findings in dev and test dependencies, same as cx --sca-hide-dev-test-dependencies. Use this to compare with a cx pipeline scan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the return shape (total count, per-engine severity/status/state counters, SCA package count) and implies a completed-scan requirement, but says nothing about failure behavior on an incomplete scan, permissions, or pagination/limits.

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 sentences, both front-loaded: purpose and grouping first, return contents second. No redundant restatement of the name or title and no filler.

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?

A read-only two-parameter tool with full schema coverage and no output schema; the description compensates by enumerating the returned counters, which is the right call. Minor gap is the absence of output structure detail and error conditions for non-completed scans.

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 coverage is 100%, so the schema already documents scanId and hideDevAndTestDependencies, including the cx CLI equivalence. The description adds no meaning beyond that; its mention of SCA package counts only loosely corroborates the dependency-hiding flag. Baseline 3 applies when the schema does the heavy lifting.

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 and resource (severity breakdown of findings) plus scope (for a completed scan, grouped by scanner type), and the return payload is spelled out. It implicitly separates itself from list_findings by being an aggregation rather than a listing, but never names a sibling to make the contrast explicit.

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 phrase 'for a completed scan' implies a prerequisite, which is useful selection context. However, there is no explicit when-to-use versus list_findings or compare_scans, and the only comparative guidance ('Use this to compare with a cx pipeline scan') belongs to a parameter rather than to tool selection.

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