Skip to main content
Glama
security-use

Security-Use MCP Server

by security-use

acknowledge_alert

Mark security alerts as reviewed to remove them from active lists and track acknowledgment with optional notes.

Instructions

Mark a security alert as reviewed/acknowledged. Removes the alert from active alerts list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alert_idYesID of the alert to acknowledge.
notesNoNotes about the acknowledgment.

Implementation Reference

  • Main handler function that executes the acknowledge_alert tool logic. Validates the required alert_id parameter and returns a message indicating alert acknowledgment is available through the SecurityUse dashboard.
    async def handle_acknowledge_alert(arguments: dict[str, Any]) -> list[TextContent]:
        """Acknowledge alert - requires dashboard integration."""
        alert_id = arguments.get("alert_id")
        if not alert_id:
            return [TextContent(type="text", text="Error: `alert_id` is required")]
    
        return [
            TextContent(
                type="text",
                text=(
                    f"## Acknowledge Alert: {alert_id}\n\n"
                    "Alert acknowledgment is available in the SecurityUse dashboard.\n\n"
                    "Visit https://securityuse.dev to manage alerts."
                ),
            )
        ]
  • Tool definition with input schema. Defines the tool name, description, and required parameters (alert_id) with optional notes parameter.
    Tool(
        name="acknowledge_alert",
        description=(
            "Mark a security alert as reviewed/acknowledged. "
            "Removes the alert from active alerts list."
        ),
        inputSchema={
            "type": "object",
            "properties": {
                "alert_id": {
                    "type": "string",
                    "description": "ID of the alert to acknowledge.",
                },
                "notes": {
                    "type": "string",
                    "description": "Notes about the acknowledgment.",
                },
            },
            "required": ["alert_id"],
        },
    ),
  • Maps the tool name 'acknowledge_alert' to its handler function in the handlers dictionary.
    "acknowledge_alert": handle_acknowledge_alert,
  • Imports and exports the handle_acknowledge_alert handler from sensor_handler module.
    from .sensor_handler import (
        handle_acknowledge_alert,
        handle_analyze_request,
        handle_block_ip,
        handle_configure_sensor,
        handle_detect_vulnerable_endpoints,
        handle_get_alert_details,
        handle_get_blocked_ips,
        handle_get_security_alerts,
        handle_get_sensor_config,
    )

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

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