Skip to main content
Glama

get_finding_details

Retrieve complete details for a specific scan finding, including SAST data flow or SCA vulnerability chain; use list_findings first to obtain valid finding IDs.

Instructions

Get full details for a specific finding, including data flow (SAST) or vulnerability chain (SCA). Use list_findings first to get valid finding IDs.

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>",
      "findingId": "<findingId>"
    },
    "name": "get_finding_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
scanIdYesThe scan UUID
findingIdYesThe finding ID from list_findings

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses that the tool is a read that returns rich detail (SAST data flow, SCA vulnerability chain), but says nothing about permissions, error behavior for unknown IDs, or response size/pagination for potentially large detail payloads.

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 short sentences, the capability statement front-loaded and the prerequisite second. Nothing is padded or repeated.

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?

There is no output schema, so the description must hint at return content, and it does via data flow and vulnerability chain. For a simple two-parameter read tool that is largely sufficient, with the remaining gap being response depth/shape rather than anything required to invoke it correctly.

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% — scanId is documented as "The scan UUID" and findingId as coming from list_findings — so the schema already does the explanatory work. The description reinforces the findingId provenance but adds no syntax, format, or constraint detail beyond it; 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 ("Get full details for a specific finding") and even names the payload emphasis — data flow for SAST, vulnerability chain for SCA. It implicitly distinguishes itself from list_findings by requiring an ID from that tool, though it never explicitly contrasts scope with the other get_* siblings.

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

Usage Guidelines4/5

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

"Use list_findings first to get valid finding IDs" gives a concrete precondition that routes the agent to the sibling tool for discovery before calling this one. There is no explicit when-not-to-use guidance or statement about behavior with an invalid or stale finding ID.

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