Skip to main content
Glama
murzirius

VPS-Guardian-MCP

by murzirius

check_system_updates

Audit OS package updates and security patches. Get upgrade counts, reboot requirements, and recommended recovery action to maintain VPS health.

Instructions

Audit available operating system package updates and pending security patches.

Checks reboot requirements (/var/run/reboot-required), total upgradable packages, and security CVE patches. Cached for 5 minutes to minimize CPU and disk usage.

Args: force_refresh: Set to True to bypass the 5-minute cache and query package managers directly.

Returns: JSON string with update counts, security status, reboot flag, and recommended recovery action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
force_refreshNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses read-only audit behavior, checks the reboot-required file, queries package managers/CVE information, caches results for 5 minutes, and explains that force_refresh bypasses the cache. It does not explicitly state permission requirements or that it makes no system changes, but 'audit/checks/returns' strongly implies a non-mutating operation.

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 compact and well-structured. It front-loads the purpose, then adds concrete details about what is checked, caching, parameters, and return value. Every sentence earns its place with no filler or redundancy.

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 one-parameter audit tool with an output schema, the description is largely complete: purpose, checked sources, caching behavior, parameter semantics, and return content are all covered. Minor gaps include platform or root-permission requirements and potential failure modes, but these are not critical 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.

Parameters5/5

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

The schema provides 0% description coverage, and the description fully compensates for the only parameter. It explains that force_refresh=True bypasses the 5-minute cache and queries package managers directly, which gives the agent meaningful behavioral knowledge beyond the schema's default value.

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 uses a specific verb and resource: 'Audit available operating system package updates and pending security patches.' It is clear and distinct from most siblings, and enumerates concrete checks (reboot, upgradable packages, CVE patches). It does not explicitly contrast with the close sibling check_guardian_updates, so it stops short of full sibling differentiation.

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 when to use the tool: whenever OS package update or security patch status is needed. It provides useful operational context like the 5-minute cache and force_refresh behavior, but it never explicitly states when not to use it or names alternatives like check_guardian_updates. Usage guidance is implied rather than explicit.

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