Skip to main content
Glama

Get a finding and its fix

get_finding
Read-onlyIdempotent

One finding in full: what and where (AWS resource ARN and region, or repository, file, line and IaC resource), why it matters, the evidence, how to fix it (console steps, an AWS CLI command and Terraform where we have them), references, and whether its risk was accepted or it was marked as fixed. The fix is a suggestion: check that the finding still applies before changing anything.

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_idYesAn id from list_findings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false, closed-world), so the description's job is to add payload and staleness context — which it does by disclosing the full return contents and flagging that the suggested fix may be outdated and must be re-validated. That staleness warning is genuine value not available from structured fields.

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?

It is a single dense sentence followed by one short caveat sentence — front-loaded with the core purpose, and every enumerated item earns its place because no output schema exists. The enumeration is long but functional rather than padded.

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, the description must carry the return-value burden, and it does so thoroughly, covering location, evidence, remediation modalities, references, and triage state. The only shortfall is the absence of explicit routing guidance relative to list_findings.

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?

There is a single required parameter with 100% schema coverage, including the note that the ID comes from list_findings. The description adds nothing further about the ID format or behavior, which is acceptable given the schema fully documents it.

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?

The description opens with a specific verb and resource ('One finding in full') and enumerates exactly what the record contains: location (ARN/region or repo/file/line/IaC resource), rationale, evidence, remediation, references, and triage state. The singular framing implicitly contrasts with list_findings, though it never names that sibling explicitly.

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?

Usage is implied rather than stated: the schema note 'An id from list_findings' suggests the discovery-then-fetch workflow, and the closing sentence warns to verify the finding still applies before acting. There is no explicit 'use this when you already have an ID, use list_findings to search' guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources