Skip to main content
Glama
vivekanjana76

azure-compliance-mcp

get_patch_status

Retrieve per-VM patch posture from Azure Resource Graph assessments. Classifies VMs as pending, current, or not evaluable based on update data.

Instructions

Report per-VM patch/update posture from Azure Resource Graph patch assessments.

Honest about provenance: every finding carries source="arg" — verdicts come from the ARG patchassessmentresources table (Azure Update Manager assessment data), never inferred from resource properties alone. A VM whose posture cannot be trusted is not_evaluable — a deallocated/stopped VM (Azure cannot assess a stopped VM) or a VM with no assessment data — with pendingUpdateCount null (unknown, not zero), never a fake "current".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoRestrict to VMs whose ARG resource ID contains this string (matches a subscription id, resource group, or resource name).
severityNoWhich update classifications count: "critical" (critical only), "security" (critical + security), or "all" (default).all
status_filterNoReturn only "pending" VMs (default), only "current", only "not_evaluable", or "all". The default answers "which VMs have pending updates?" and excludes "not_evaluable".pending

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully handles transparency. It explains the data provenance (source='arg' from patchassessmentresources table), defines the not_evaluable state for deallocated/stopped VMs, and clarifies that pendingUpdateCount is null (unknown) rather than zero. This goes well beyond a typical description.

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

Conciseness4/5

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

The description is well-structured with a clear opening sentence, followed by important caveats. It is concise without extraneous information, though it could be slightly more compact.

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?

Given the presence of an output schema, the description does not need to explain return values. It covers edge cases (not_evaluable), provenance, and parameter defaults. The tool is fully described for its intended use.

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 baseline is 3. The description adds some context (e.g., default status_filter returns pending, excludes not_evaluable), but the schema already provides detailed descriptions for each parameter. No significant additional meaning is provided.

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 'Report per-VM patch/update posture from Azure Resource Graph patch assessments.' It provides a specific verb (report) and resource (per-VM patch/update posture), and distinguishes from siblings like check_compliance and query_resources by focusing on patch assessment data.

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

Usage Guidelines3/5

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

The description implies usage for checking patch posture but does not explicitly state when to use this tool over its siblings (check_compliance, query_resources). No when-not-to-use or alternative guidance is provided.

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/vivekanjana76/azure-compliance-mcp'

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