Skip to main content
Glama

minerva_update

Idempotent

Updates this minerva-mcp copy from GitHub using a dry-run plan and explicit confirmation, then requires an MCP client restart.

Instructions

Update this copy of minerva-mcp to the latest version from GitHub (git fetch, switch to main and fast-forward, npm install). Only use after the user has said yes to updating. Always call with dryRun: true first, show the plan, then call with confirm: true. The user must restart the MCP client afterwards.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "minerva_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoShow the plan without changing anything
confirmNoMust be true to actually send. Only set it after showing the user the dryRun plan and getting their explicit yes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=true, destructiveHint=false, so the safety and network profile is covered. The description adds genuinely useful context beyond that: the concrete git/npm operations performed, the two-phase safe-preview protocol, and the required client restart afterwards. However, it says nothing about failure modes (dirty working tree, diverged branch, network/npm errors) or what the plan output looks like, which matters for a mutation tool that rewrites an installation.

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?

Four short sentences, front-loaded with what the tool does and what it runs, followed by the invocation protocol and the post-step. Every sentence carries operational information; nothing is redundant.

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 two-parameter, no-output-schema tool, the description covers purpose, mechanism, consent gating, call sequencing, and the required restart. The main gap is behavioral on error (interrupted update, local changes, network failure) and what the dryRun plan reports, which an agent would want before committing to confirm: true.

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?

Schema coverage is 100% and both parameters have descriptions, so the baseline is 3. The description adds real value by specifying the ordering and dependency between the two flags (dryRun first, then confirm only after showing the plan and getting an explicit yes), which the schema only partially conveys.

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 ('Update this copy of minerva-mcp to the latest version from GitHub') and even enumerates the mechanism (git fetch, switch to main and fast-forward, npm install). This is unmistakably distinct from a check-only tool like minerva_check_update, so an agent can identify it without inspecting 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?

Gives an explicit precondition ('Only use after the user has said yes to updating'), a mandatory call sequence (dryRun: true first, show plan, then confirm: true), and a post-condition (user must restart the MCP client). No ambiguity about when or how to invoke it.

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