Skip to main content
Glama

get_update_command

Read-onlyIdempotent

Returns the upgrade command for your installation method by checking the registry for a newer version. Use when an update notice appears or to learn how to update.

Instructions

READ-ONLY — return the recommended upgrade flow for the running install path. Combines (1) process.argv/process.execPath heuristics that classify the install as one of npm-global / npx / bundled-binary / from-source / unknown with (2) cached state from the once-per-session npm-registry version check the server already runs lazily on first tool call. Returns: current (server version), latest (most recent npm registry response, or null if the lazy check hasn't resolved yet), updateAvailable (strict-newer comparator), installPath (detected kind), command (the one-liner to run), restartHint (post-upgrade restart note), and an optional note field that flags caveats (unknown install path → defer to INSTALL.md; unresolved version check → can re-run). AGENT BEHAVIOR: call this when the user asks to upgrade, when the VAULTPILOT NOTICE — Update available block appears and the user wants to act on it, or when the user asks 'how do I update vaultpilot-mcp'. Surface command to the user verbatim — do not execute it autonomously. The detection is a heuristic; if installPath is unknown, ask the user which install path they used. Pure local introspection + cache read; no RPC, no fresh network call (the kickoff already did that). Never throws.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations provide readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=true. The description reinforces these with 'READ-ONLY', 'Pure local introspection + cache read; no RPC, no fresh network call', and 'Never throws'. It also explains the heuristic nature, caching behavior, and potential caveats, adding significant context beyond annotations.

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 longer than minimal but well-structured: it starts with purpose, then lists return fields using backticks, and ends with agent behavior. Every sentence adds necessary context. Could be slightly more concise, but it remains clear and scannable.

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 no output schema, the description completely covers return values, their meanings, and how they are derived (heuristics + cache). It also includes agent behavior, edge cases (unknown installPath, unresolved version check), and operational constraints (no network call). This makes the tool fully understandable without needing external documentation.

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 input schema has zero parameters with 100% coverage, so baseline is 3. However, the description adds substantial value by detailing the output fields (current, latest, updateAvailable, installPath, command, restartHint, note) and their semantics, which compensates for the lack of parameter explanations.

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 starts with 'READ-ONLY — return the recommended upgrade flow for the running install path', which is a specific verb-resource pair. It then explains exactly what the tool does: combines heuristics and cached state to return upgrade command, and distinguishes itself by clarifying it's a pure local read with no network call.

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?

The description explicitly states when to call the tool: 'when the user asks to upgrade, when the VAULTPILOT NOTICE — Update available block appears and the user wants to act on it, or when the user asks how do I update vaultpilot-mcp'. It also provides agent behavior instructions: 'Surface command to the user verbatim — do not execute it autonomously' and what to do if installPath is unknown.

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/szhygulin/recon-crypto-mcp'

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