Skip to main content
Glama

get_snapshot_summary

Retrieve a summary of AWS environment assessments including security checks, operational insights, and cost analysis from audit snapshots to identify compliance gaps and optimization opportunities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
snapshot_idYes

Implementation Reference

  • The handler function for the 'get_snapshot_summary' tool, which retrieves and returns the meta and summary sections from a stored snapshot JSON file. Registered directly via the @mcp.tool decorator on the function definition.
    @mcp.tool def get_snapshot_summary(snapshot_id: str) -> Dict[str, Any]: p = os.path.join(snapshot_dir(DATA_DIR, snapshot_id), "snapshot.json") snap = read_json(p) return {"meta": snap.get("meta", {}), "summary": snap.get("summary", {})}
  • The @mcp.tool decorator registers the get_snapshot_summary function as an MCP tool.
    @mcp.tool

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oldcoder01/aws-mcp-audit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server