Skip to main content
Glama
ZeroSOC

defender-xdr

by ZeroSOC

defender_get_recommendation_machines

Read-only

Identify affected devices for a security recommendation by retrieving the list of machines it applies to, helping prioritize remediation.

Instructions

List the devices a security recommendation applies to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMaximum number of machines to return (default 25, max 200).
recommendation_idYesThe security recommendation ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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, and the description's 'List' is consistent with a read-only operation. However, the description adds no behavioral context beyond that—no mention of pagination, error handling for invalid recommendation IDs, or what 'applies to' means in practice. With annotations covering the safety profile, this is acceptable 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 concise sentence that front-loads the primary action and object. Every word earns its place, with no extraneous details or redundant phrasing.

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 tool with fully documented parameters and safety annotations, the description is essentially adequate. The only minor gaps are the lack of detail about the returned device objects and the terminology mismatch between 'devices' in the description and 'machines' in the tool name, which could cause slight confusion.

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%; both top (with default and max) and recommendation_id are fully documented in the input schema. The description itself contributes no additional parameter meaning, so the baseline score of 3 is appropriate.

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

Purpose4/5

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

The description states a specific verb and resource: 'List the devices a security recommendation applies to.' It clearly identifies the tool as a getter for recommendation-affected machines. It doesn't explicitly differentiate from siblings such as defender_get_recommendation_vulnerabilities, but the resource is specific enough to avoid serious ambiguity.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like defender_get_machines_by_vulnerability or defender_get_recommendation_vulnerabilities. The intended use case (given a recommendation_id, retrieve affected machines) is only implied, with no explicit conditions, exclusions, or alternative routing.

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