Skip to main content
Glama

upgrade-config

Destructive

Upgrade configuration folders to match this version's expected shapes. Plan changes with dry-run and control whether to write.

Instructions

dbabrain common.cli upgrade-config: Which folder to move to this version's shapes, and whether to write. Changes or removes something. A command on the emergency-operations list takes confirm: "yes" and a reason in its request, as on the command line. Request fields (pass them as request):

  • data_dir: Another data/ folder to read.

  • dry_run: Plan only: change nothing.

  • file: standardize-field-names: one file.

  • steps: upgrade-config: some steps.

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": "upgrade-config"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

The annotations already declare this is destructive, non-read-only, and open-world. The description adds valuable context beyond that by disclosing the emergency confirmation requirement and the plan-only behavior of `dry_run`, though the phrase 'Changes or removes something' is vague and largely redundant.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is reasonably short and front-loads the command name, but the opening sentence is awkward and the generic 'Changes or removes something' sentence adds little. The field list is useful but includes confusing, partly irrelevant entries.

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?

For a destructive, open-world command with an opaque `request` object and 0% schema description coverage, the description covers confirmation and dry-run semantics but leaves the exact upgrade behavior and full request shape under-specified. The output schema exists, so return values do not need explanation here.

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?

Schema description coverage is 0%, and the schema exposes only an arbitrary `request` object, so the description must carry the burden. It does list request fields such as `data_dir`, `dry_run`, `file`, and `steps`, but the `file`/`steps` entries are ambiguous and mix in sibling-specific wording rather than fully clarifying the request shape.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies this as the `upgrade-config` CLI command and says it selects a folder to move to this version's shapes and whether to write. However, the phrasing is vague and it does not clearly distinguish this tool from the sibling `standardize-field-names`, which is oddly referenced in the field list.

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?

It gives some useful usage conditions: `dry_run` is plan-only, and emergency-operations commands require `confirm: "yes"` plus a `reason`. It does not explicitly say when to choose this tool over alternatives such as `standardize-field-names`.

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

Deploy Server

Other Tools