Skip to main content
Glama
openITCOCKPIT

openITCOCKPIT MCP Server

Official

Pending Updates

find_pending_updates
Read-onlyIdempotent

Check hosts with pending software updates, showing package names and versions. Filter to security-relevant updates only.

Instructions

Hosts with pending updates, with the package names and versions for each.

Covers every update by default; security_only narrows it to the security ones. Naming each package costs one API request, capped by max_packages_per_host; the update count itself is always exact.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum rows to return. Defaults to 50, maximum 500.
security_onlyNoOnly updates the vendor marks as security relevant. Far shorter, and the one an operator usually means.
max_packages_per_hostNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNoHow to narrow the query when truncated.
countYesNumber of rows in `items`.
itemsYesThe rows, at most `limit` of them.
truncatedYesTrue if openITCOCKPIT held more rows than were returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/destructive annotations, the description discloses a non-obvious cost behavior: naming each package costs one API request, capped by max_packages_per_host, while the update count is always exact. This is valuable operational context that annotations alone do not convey.

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?

Three tight sentences cover the tool's output, default behavior, a key parameter, and a cost caveat. The most important information is front-loaded and every sentence earns its place.

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?

With an output schema present, rich annotations, and a description that explains all parameters and behavioral trade-offs, nothing essential is missing for an agent to correctly select and invoke the tool.

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

Parameters4/5

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

The schema documents limit and security_only, but not max_packages_per_host; the description compensates by explaining exactly what max_packages_per_host caps and the cost implication. It also clarifies security_only's semantics beyond the schema description, adding real value.

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 that the tool returns hosts with pending updates along with package names and versions, which is specific and distinct from sibling tools like find_hosts or find_downtimes. Even though the verb is implied by the tool name, the resource and result shape are unmistakable.

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 gives clear context on the default behavior (all updates) and how to narrow to security-relevant updates via security_only, which helps the agent decide how to invoke it. It does not explicitly name alternatives, but the scoping and default behavior provide sufficient usage context.

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