Skip to main content
Glama

delete_experiment_template

Remove an AWS Fault Injection Service experiment template by specifying its ID. This action permanently deletes the template configuration from your AWS FIS environment.

Instructions

Delete an AWS FIS experiment template. Args: template_id: ID of the experiment template to delete region: AWS region to use (default: us-east-1) Returns: Success or error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYes
regionNous-east-1

Implementation Reference

  • The main handler function for the 'delete_experiment_template' tool. It requires write mode and uses the AWS FIS boto3 client to delete the specified experiment template.
    @require_write_mode def delete_experiment_template(template_id: str, region: str = "us-east-1") -> str: """ Delete an AWS FIS experiment template. Args: template_id: ID of the experiment template to delete region: AWS region to use (default: us-east-1) Returns: Success or error message """ try: fis = boto3.client('fis', region_name=region) fis.delete_experiment_template(id=template_id) return f"Successfully deleted experiment template {template_id}" except Exception as e: return f"Error deleting experiment template: {str(e)}"
  • Registers the delete_experiment_template function as an MCP tool using the FastMCP app.tool() decorator.
    app.tool()(delete_experiment_template)
  • Imports the delete_experiment_template handler from aws_fis_mcp.tools.
    delete_experiment_template,

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/RadiumGu/aws-fis-mcp-server'

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