Skip to main content
Glama
baoduy

EntraID MCP Server

by baoduy

get_device_compliance_policy_states

Retrieve compliance policy states for a specific Intune managed device using its device ID, enabling assessment of device compliance status in Microsoft Entra ID.

Instructions

Get compliance-policy states for a specific Intune managed device (beta endpoint).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the behavioral transparency burden. The verb 'Get' implies a read-only operation, and the mention of 'beta endpoint' adds a caveat about stability. However, it does not explicitly state that it is safe, non-mutating, or describe permission requirements. This is adequate but not thorough.

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, front-loaded sentence that conveys the purpose, scope, and a beta caveat without unnecessary words. Every word contributes value, making it highly concise and well-structured.

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 single-parameter tool with an output schema, this description is mostly complete. It identifies what is returned (compliance-policy states) and the target (specific device). It could elaborate on what the states represent or how to relate to sibling tools, but the existing context is sufficient given the tool's low complexity.

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

Parameters2/5

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

The schema has 0% description coverage and only one parameter, device_id. The description's 'for a specific Intune managed device' adds little beyond the parameter name itself, offering no format, source, or usage example. The description fails to compensate for the low schema coverage.

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 verb 'Get', the resource 'compliance-policy states', and the scope 'for a specific Intune managed device'. This distinguishes it from siblings like get_device_compliance_policies (which lists policies) and get_device_configuration_states (which handles configuration states).

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 phrase 'for a specific Intune managed device' provides clear context that this tool operates on a single device rather than listing or aggregating. It does not explicitly name alternatives or exclusions, but the per-device scope is a clear usage signal.

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

Install Server

Other Tools

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/baoduy/entraid-mcp-server'

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