Skip to main content
Glama

Get the latest scan's summary

get_scan_summary
Read-onlyIdempotent

One AWS account's or repository's latest completed scan in detail (a target_id from list_targets): when it ran, why each grade is capped, findings by severity and by pillar, potential monthly savings, and what changed since the scan before it (new findings, resolved ones and the monthly cost they saved).

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": {
      "target_id": "<target_id>"
    },
    "name": "get_scan_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_idYesAn id from list_targets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds useful behavioral context about what the result contains and that it compares against the previous scan, but it does not mention behavior for targets with no completed scan or how incomplete scans are handled.

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 description is a single dense sentence that front-loads the core purpose and then lists the returned content. It is efficient and readable, though the long parenthetical and comma-heavy enumeration make it slightly harder to scan than a short structured breakdown would be.

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 carries the burden of explaining return values, and it does so by naming the main sections of the summary, including findings, savings, and changes since the previous scan. It is nearly complete for a single-parameter read tool, with only edge-case behavior left unspecified.

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 the single target_id parameter is already documented as an id from list_targets in the schema. The description repeats that provenance but adds no new constraints or format details beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

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

The description names a specific verb and resource (retrieves one target's latest completed scan) and enumerates the returned content: timing, grade caps, findings by severity and pillar, savings, and changes since the prior scan. It also ties the required target_id to list_targets, so an agent can distinguish it from the list and finding 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?

It clearly states the context: one AWS account or repository, identified by a target_id from list_targets, and limited to the latest completed scan. It does not explicitly say when not to use it or point to get_finding/list_findings for deeper detail, so it stops short of full alternative routing.

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