Skip to main content
Glama

accessanalyzer_get_finding

Retrieve detailed JSON information about a specific AWS IAM Access Analyzer finding by providing region, analyzer ARN, and finding ID.

Instructions

Retrieve detailed information about a single finding. Parameters: aws_region (str): The AWS region - use 'us-east-1' if not specified. analyzer_arn (str): The ARN of the analyzer. finding_id (str): The ID of the finding to retrieve. Returns: str: JSON-formatted details of the finding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aws_regionYes
analyzer_arnYes
finding_idYes

Implementation Reference

  • The handler function decorated with @mcp.tool(), implementing the tool logic to retrieve a specific IAM Access Analyzer finding using the AWS boto3 SDK. The function parameters define the input schema via type annotations and docstring.
    @mcp.tool() async def accessanalyzer_get_finding( aws_region: str, analyzer_arn: str, finding_id: str ) -> str: """ Retrieve detailed information about a single finding. Parameters: aws_region (str): The AWS region - use 'us-east-1' if not specified. analyzer_arn (str): The ARN of the analyzer. finding_id (str): The ID of the finding to retrieve. Returns: str: JSON-formatted details of the finding. """ client = boto3.client('accessanalyzer', region_name=aws_region) response = client.get_finding(analyzerArn=analyzer_arn, id=finding_id) finding = response.get('finding', {}) return json.dumps(finding, indent=2, cls=DateTimeEncoder)

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/Brucedh/aws-ireveal-mcp'

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