Skip to main content
Glama
ZeroSOC

defender-xdr

by ZeroSOC

defender_get_machine_vulnerabilities

Read-only

Retrieve vulnerabilities affecting a specific device using its machine ID, enabling you to identify weaknesses and prioritize remediation.

Instructions

List the vulnerabilities that affect one device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMaximum number of vulnerabilities to return (default 25, max 200).
machine_idYesThe Defender for Endpoint machine (device) ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only nature is established. The description adds the one-device scoping but does not disclose details about pagination, result limits beyond the schema, or any special behavior. With annotations covering the safety profile, this is adequate but not enriched.

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?

The description is a single, focused sentence with no filler. The key scope ('one device') is front and center.

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

Completeness4/5

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

For a simple read-only list operation with two well-documented parameters and no output schema, the description provides sufficient context to invoke the tool. It could slightly improve by naming the alternative for global vulnerability listing, but overall it is complete enough.

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%, so both parameters are already documented. The description adds a conceptual link between 'one device' and machine_id but does not provide additional semantics beyond what the schema gives. Baseline 3 applies.

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 uses a specific verb ('List') and a specific resource ('vulnerabilities that affect one device'), making it immediately distinct from broader tools like defender_get_vulnerabilities or defender_get_software_vulnerabilities. The 'one device' scope clearly matches the required machine_id parameter.

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

Usage Guidelines4/5

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

The description clearly states the tool is for a single device, which implies use when you have a machine_id and need its vulnerabilities. It does not explicitly name alternatives or provide exclusion criteria, but the scope is clear enough for selection among many sibling tools.

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