Skip to main content
Glama

AWS Security MCP

search_resources_by_tag

Locate AWS resources using specific tag keys and optional values. Filter by resource type, paginate results, and group by service/resource type for streamlined analysis of AWS infrastructure.

Instructions

Search AWS resources by tag key and optional value. Args: tag_key: The tag key to search for tag_value: Optional tag value to filter by resource_types: Optional list of resource types to filter by (e.g., ['ec2:instance', 's3:bucket']) next_token: Token for pagination max_items: Maximum number of items to return (no limit if None) group_by_type: If True, resources will be grouped by service/resource type Returns: JSON string with resources matching the specified tags and pagination details

Input Schema

NameRequiredDescriptionDefault
group_by_typeNo
max_itemsNo
next_tokenNo
resource_typesNo
tag_keyYes
tag_valueNo

Input Schema (JSON Schema)

{ "properties": { "group_by_type": { "default": true, "title": "Group By Type", "type": "boolean" }, "max_items": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Max Items" }, "next_token": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Next Token" }, "resource_types": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Resource Types" }, "tag_key": { "title": "Tag Key", "type": "string" }, "tag_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Tag Value" } }, "required": [ "tag_key" ], "title": "search_resources_by_tagArguments", "type": "object" }
Install Server

Other Tools from AWS Security MCP

Related Tools

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/groovyBugify/aws-security-mcp'

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