Skip to main content
Glama

list_findings

Retrieve and filter security findings from a Checkmarx scan by severity, scanner type, and state to review SAST, SCA, IaC, API, secrets, and container results.

Instructions

List security findings from a scan with filtering by severity, type, and state. SAST findings include file location and data flow length. SCA findings include package, CVE, and remediation data. KICS (IaC) findings include platform, file, and expected/actual values. Containers findings include image, package, CVE, and recommended image data.

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": "list_findings"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by scanner type (sast, sca, kics, etc.)
limitNoMax results to return
stateNoFilter by finding state
offsetNoPagination offset
scanIdYesThe scan UUID
severityNoFilter by severity levels
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

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose what fields appear in results for each scanner type, which is genuine behavioral context. It says nothing about ordering, total counts, permission requirements, or what an empty result means, and 'List' alone implies but never confirms read-only behavior.

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 core action and filters are front-loaded in the first sentence, and the following sentences each add distinct per-scanner return detail rather than padding. The four-sentence enumeration is slightly list-like but every sentence carries new information.

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?

With no output schema and seven parameters, the per-type field breakdown compensates well by telling the agent what a returned finding looks like. Remaining gaps are pagination semantics and result ordering, which the schema only partially covers via limit/offset.

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% and each parameter already carries a description, including the notable hideDevAndTestDependencies parity note. The description adds no further 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List security findings from a scan') plus the filter dimensions (severity, type, state), which is enough to distinguish it from a single-finding fetch. It never names siblings like findings_summary or get_finding_details, so the boundary is left to inference.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no alternative named. An agent must infer that this is the paginated detail list rather than the aggregate view offered by findings_summary, and that get_finding_details is the follow-up for a single item.

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