stream_group_destroy

Destroy consumer group.

Server Amazon SageMaker AI MCP Server awslabs.sagemaker-ai-mcp-server
Category Destructive
Risk class Critical
Parameters 00 required

What stream_group_destroy does on Amazon SageMaker AI MCP Server

AI agents call stream_group_destroy to permanently remove resources in Amazon SageMaker AI MCP Server — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why stream_group_destroy needs a policy

This tool performs an irreversible deletion operation on a consumer group. Destroying a consumer group cannot be undone and will cause loss of the group's state, subscriptions, and configuration. In a SageMaker/AWS streaming context, this impacts data pipeline infrastructure. The action is categorically Destructive rather than Write because it permanently removes a resource without recovery options.

From the tool's definition Tool name 'stream_group_destroy' directly indicates destruction. Description 'Destroy consumer group' uses the word 'Destroy', confirming irreversible deletion of a Kafka/Kinesis consumer group resource.

Questions about stream_group_destroy

What does the stream_group_destroy tool do? +

Destroy consumer group. It is categorised as a Destructive tool in the Amazon SageMaker AI MCP Server MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on stream_group_destroy? +

Register the Amazon SageMaker AI MCP Server MCP server in PolicyLayer and add a rule for stream_group_destroy: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Amazon SageMaker AI MCP Server. Nothing to install.

What risk level is stream_group_destroy? +

stream_group_destroy is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit stream_group_destroy? +

Yes. Add a rate_limit block to the stream_group_destroy rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block stream_group_destroy completely? +

Set action: deny in the PolicyLayer policy for stream_group_destroy. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides stream_group_destroy? +

stream_group_destroy is provided by the Amazon SageMaker AI MCP Server MCP server (awslabs.sagemaker-ai-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.