Skip to main content
Glama

local_ydb_upgrade_version

Destructive

Upgrades a local-ydb profile to a specified image tag by preflighting, backing up, rebuilding, restoring, and persisting the new version after confirmation.

Instructions

Upgrade a file-backed, volume-backed local-ydb profile to a target image tag. Use only for version upgrades on profiles without bindMountPath; it preflights source and target images, dumps, rebuilds, restores, reapplies auth when configured, recreates extra nodes, verifies container images, and persists the profile image after successful confirmed execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNoNamed profile from local-ydb.config.json. Defaults to config.defaultProfile.
configPathNoExplicit local-ydb config file path to load for this tool call. Useful when the MCP server should pick up a different config without restart.
confirmNoMust be true to execute the version upgrade plan. Omit or false for plan-only output.
versionYesTarget image tag such as 26.1.1.6, 26.1, latest, or nightly.
dumpNameNoOptional dump directory name under profile.dumpHostPath for the upgrade backup.
Behavior5/5

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

The description discloses a comprehensive list of steps (preflights, dumps, rebuilds, restores, reapply auth, recreate extra nodes, verify images, persist profile) and the need for confirmation (confirm: true). This adds significant context beyond the annotations (destructiveHint: true, readOnlyHint: false), explaining the exact destructive behavior. No contradictions.

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 a single, information-dense sentence. It is front-loaded with the main purpose and constraint, but the long list of steps makes it somewhat verbose. Still, it is efficient and contains no filler.

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?

Given the tool's complexity (upgrade with multiple steps) and the absence of an output schema, the description adequately explains the workflow, including the plan-only mode when confirm is false. However, it could mention what the output looks like for both plan and execution outcomes.

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?

With 100% schema description coverage, the baseline is 3. The description merely restates that 'version' is a 'target image tag' and 'dumpName' is 'optional dump directory name', which is already in the schema. It does not add extra meaning or constraints beyond the schema.

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 tool's specific verb and resource: 'Upgrade a file-backed, volume-backed local-ydb profile to a target image tag.' It also adds a constraint ('Use only for version upgrades on profiles without bindMountPath'), differentiating it from sibling tools like local_ydb_pull_image or local_ydb_restart_stack.

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?

The description explicitly states when to use the tool (version upgrades on profiles without bindMountPath). It implies a plan-first, confirm-later workflow with the confirm parameter. However, it does not explicitly mention when NOT to use it or suggest alternatives, though the sibling list provides context.

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/astandrik/local-ydb-toolkit'

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