Skip to main content
Glama

get_available_updates

Check pending package updates on a Linux system without installing them or refreshing caches. Read-only; returns an empty list when none are available.

Instructions

Lists available package updates without applying them (pacman -Qu, apt list --upgradable, dnf check-update, apk version -l <). Read-only, no cache refresh, nothing is installed. A clean manager with nothing to report returns an empty list. Fatal only if no supported package manager is present. Use to see pending updates; get_installed_packages for current versions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYes
errorsNo
updatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.17

TDQS

A4.8/5.0
Behavior5/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, and it does: read-only, no cache refresh, nothing installed, empty list on a clean system, and fatal only when no supported package manager exists. It even cites the underlying commands, giving an accurate behavioral profile for a zero-param tool.

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 front-loaded with the operation and its non-mutating nature, and every sentence carries information (scope, safety, edge cases, routing). It is dense with parenthetical command examples, which borders on clutter but still 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?

An output schema exists, so return-value detail is unnecessary, and the description covers everything else an agent needs: scope, side-effect profile, empty-result behavior, and failure condition. Nothing material is missing.

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?

There are no parameters, so the baseline is 4. The description correctly requires no parameter explanation, though the mentioned package-manager commands give incidental context about how results are sourced.

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?

States a specific verb and resource ('Lists available package updates') with the crucial qualifier 'without applying them'. It explicitly distinguishes itself from the sibling get_installed_packages, so an agent can route correctly without opening either schema.

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

Usage Guidelines5/5

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

Ends with an explicit when-to-use directive ('Use to see pending updates') and names the alternative ('get_installed_packages for current versions'), supplying the condition that selects between them. No exclusions or inference left to the agent.

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