Skip to main content
Glama

get_finding

Retrieve full evidence for a single JavaScript scan finding by ID, including location, redacted code context, verification checks, and advisories.

Instructions

Full evidence for one finding: location, redacted code context, verification checks, advisories.

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": {
      "finding_id": "<finding_id>"
    },
    "name": "get_finding"
  }
}

Input Schema

NameRequiredDescriptionDefault
finding_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations and no output schema, the description does carry useful behavior: it is a read-only retrieval and the returned code context is redacted, which is a genuinely informative disclosure. It says nothing about behavior when the ID is unknown (error vs empty), access requirements, or size/truncation of the returned evidence.

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?

A single front-loaded sentence listing the payload contents with zero filler. It is a fragment rather than a sentence, but it is efficient for a simple one-parameter lookup tool.

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?

Given a one-parameter tool with no annotations and no output schema, the description adequately covers what comes back, which is the main unknown. It is incomplete on error behavior and on how to obtain a finding_id, both of which an agent needs to invoke it reliably.

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

Parameters2/5

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

Schema description coverage is 0% for the single parameter finding_id, and the description supplies no format, origin, or valid-value information to compensate. 'for one finding' only weakly implies the parameter identifies a finding; an agent still does not know where a finding_id comes from or what a malformed one does.

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 resource and scope: evidence for exactly one finding, enumerating what that evidence contains (location, redacted code context, verification checks, advisories). This clearly distinguishes it from list-style siblings such as list_findings. The verb is implied rather than stated, keeping 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 Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no routing to alternatives such as list_findings (to obtain a finding_id) or verify_finding. The only hint is 'for one finding', which merely restates the singular scope rather than advising on selection.

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