Skip to main content
Glama
ZeroSOC

defender-xdr

by ZeroSOC

defender_get_incident_alerts

Read-only

Retrieve alerts linked to a Defender incident with paging and optional summary details, including severity, category, MITRE techniques, and timestamps, to analyze attack scope.

Instructions

Get the alerts of an incident, paged (skip/top), with their details: title, severity, category, MITRE techniques, detection source, timestamps and nested evidence. For the entities themselves prefer defender_get_incident_evidence, which flattens and de-duplicates the evidence of every alert in one call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMaximum number of alerts to return (default 10, max 50).
skipNoNumber of entries to skip (paging).
incident_idYesThe incident ID, as shown in the Defender portal and the Graph API.
summary_onlyNoOnly id, title, severity, category, status, detector, MITRE techniques and timestamps, without the evidence. Recommended first call on a large incident.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds useful behavioral context beyond annotations: paged results, nested evidence, and that the evidence tool flattens/de-duplicates. Minor gap: it does not describe response size or trailing pagination details, but annotations cover the safety profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no fluff. The first is front-loaded with the core action and return detail; the second is an actionable pointer to the sibling tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is complete for a read-only paged list tool. It covers what is returned, how paging works, and which alternative to use for a different need. The schema covers parameter details, and annotations cover the read-only/destructive safety profile.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and each parameter already has a meaningful description. The tool description adds complementary context about paging and nested evidence but does not materially improve parameter semantics beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool gets an incident's alerts, lists the exact fields returned, and explicitly contrasts it with defender_get_incident_evidence. It distinguishes itself from siblings without needing to open schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit routing: for entities/evidence, prefer defender_get_incident_evidence. It also communicates pagination semantics via skip/top, giving an agent clear guidance on when and how to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools