Skip to main content
Glama

Get agent patches

get_agent_patches
Read-onlyIdempotent

Retrieve installed or available Windows patches for a device by DeviceGuid, helping audit patch status or identify missing updates.

Instructions

Installed or available (missing) Windows updates of a device, by DeviceGuid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesinstalled or available patches
deviceGuidYesDeviceGuid of the agent (see get_agent)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered. The description adds the device-scoping and the installed-vs-missing duality, but says nothing about return size, pagination, or freshness of the patch data. With annotations carrying the behavioral load, this is adequate but thin.

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?

A single compact sentence with the resource and lookup key front-loaded and zero filler. It is efficient, though the extreme terseness leaves gaps that other dimensions penalize.

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 two-parameter read-only lookup with full schema coverage, rich annotations, and no output schema, a one-line description is nearly sufficient. The remaining gap is minor: nothing is said about result volume or whether the patch list can be large enough to need paging.

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 parameters are documented in the schema, including the installed/available enum, and deviceGuid even points to the sibling get_agent. The description restates 'by DeviceGuid' and 'installed or available' without adding format, casing, or validation detail, so baseline 3 applies.

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 names a specific verb ('get'), resource ('Windows updates / patches'), scope ('of a device'), and lookup key ('by DeviceGuid'), and clarifies the two data modes as 'installed or available (missing)'. It is clear what the tool returns, though it never explicitly distinguishes itself from any sibling (there is no other patch tool, so the risk is low).

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?

There is no statement of when to use this tool versus alternatives, no prerequisites, and no exclusions. The only implicit guidance is that the 'kind' value selects which set of patches is returned. An agent must infer the use case entirely.

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