Skip to main content
Glama

upgrade_packages

Destructive

Upgrade specified or all packages on machines matching a query, with dry-run preview and optional wait for completion.

Instructions

Upgrade packages on matched machines (omit packages to upgrade all). Dry run first. Set wait=true to poll to completion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNo
queryYes
packagesNo
wait_timeoutNo
confirm_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Addes behavioral context beyond annotations: omitting packages upgrades all, and dry run is implied. The destructiveHint annotation is confirmed, and description provides additional constraints.

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?

Two concise sentences with front-loaded purpose. Every phrase adds value, no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having an output schema, the description is too brief for a destructive 5-parameter tool. Missing explanations for query matching, confirm token, and wait timeout reduce completeness.

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

Parameters2/5

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

Only two of five parameters (packages and wait) are explained. Critical parameters like query, wait_timeout, confirm_token are ignored, and schema descriptions are absent. This leaves significant gaps.

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 the verb 'Upgrade' and resource 'packages on matched machines', and distinguishes from sibling tools like install_packages and remove_packages.

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?

Describes a workflow instruction ('Dry run first') and a polling option ('Set wait=true to poll to completion'). However, it does not explicitly compare with alternatives or state when not to use.

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/just-an-oldsalt/bob-ross'

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