Skip to main content
Glama

mcp_agent_upgrade

Upgrade a remote GPIO agent in place: run install.sh --upgrade to reinstall dependencies and restart the process, applying new code.

Instructions

Upgrade the agent in place: runs install.sh --upgrade (re-downloads the latest release files and reinstalls dependencies), then restarts the process so the new code takes effect.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.23

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the script run, the re-download of release files, dependency reinstallation, and the process restart. It stops short of consequences an operator would want, such as downtime, failure behavior, or irreversibility of the in-place upgrade.

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 sentence with the action front-loaded and the parenthetical reserved for mechanism detail; no filler. Slightly dense but every clause carries information about what the call actually does.

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

Completeness3/5

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

Given no annotations and no output schema, the description is adequate about what the tool does but incomplete about operational risk: nothing on downtime, what happens to the agent if the upgrade fails mid-way, or confirmation of success.

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?

There is one parameter, 'agent', with 0% schema description coverage. The description refers to 'the agent' generically but never defines what identifier or selector the value must be, so it neither compensates for the coverage gap nor fully ignores it.

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?

States a specific verb and resource ('Upgrade the agent in place') and goes further by naming the exact mechanism (install.sh --upgrade). An agent can tell this apart from mcp_agent_restart because the upgrade step is described, though the contrast is implied rather than stated.

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?

Usage is only implied by the verb: you call it when you want the agent on the latest release. There is no explicit when/when-not guidance and no named alternative (e.g., use mcp_agent_restart for a plain restart), even though the sibling list contains a directly competing tool.

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