Skip to main content
Glama
dstreefkerk

ms-sentinel-mcp-server

by dstreefkerk
sentinel_analytics_rule_template_get.md1.33 kB
# Sentinel Analytics Rule Template Get Tool **Tool Name:** `sentinel_analytics_rule_template_get` ## Overview Retrieves details for a specific Microsoft Sentinel analytics rule template by its ID or name. ## Parameters - `id` (str, required): The full resource ID or unique name of the analytics rule template. ## Output - Dict containing all available fields for the template, e.g.: - `id` (str): Template ID. - `name` (str): Template name. - `display_name` (str): Display name. - `description` (str): Description. - `tactics` (list): List of MITRE tactics (if available). - `techniques` (list): List of MITRE techniques (if available). - ... (all other template properties) - If error, returns a dict with `error` (str). ## Example Output ``` { "id": "/subscriptions/.../AlertRuleTemplates/abcde", "name": "TemplateName", "display_name": "Template Display Name", "description": "Detects ...", "tactics": ["collection", "exfiltration"], "techniques": ["T1005", "T1020"] ... } ``` ## Error Handling - Returns `error` field if context is missing, template not found, or SDK/API errors occur. ## MCP Compliance - Inherits from `MCPToolBase`. - Implements `async def run(self, ctx, **kwargs)`. - Registered in `register_tools()`. - Uses robust Azure context extraction and error handling.

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/dstreefkerk/ms-sentinel-mcp-server'

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