Skip to main content
Glama

local_ydb_apply_auth_hardening

Apply reviewed YDB auth hardening after preflight validation, restart static node, recreate dynamic nodes, and verify stability with rollback on mismatch. Plan-only unless confirm=true.

Instructions

Apply a reviewed hardened YDB config file only after a full check-only static profile and configured-binding compatibility preflight succeeds before any config or container mutation; immutable mismatches require destroy followed by bootstrap. It then restarts the static node and recreates and verifies every configured dynamic node in index order even when no dynamic-node token file is configured. Exact-container running stability and IC registration must both pass before metadata verification, and rollback uses restart or bootstrap reconciliation after restoring the static config. Use only after preparing and reviewing the config; without confirm=true this returns the preflight/apply/recreate plan only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be true to apply the auth hardening config and restart local-ydb. Omit or false for plan-only output.
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.
configHostPathNoReviewed config.yaml path on the selected target host. Defaults to profile.authConfigPath when present.
Behavior1/5

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

The description contradicts the destructiveness annotation. While annotations mark destructiveHint as false, the description states 'immutable mismatches require destroy followed by bootstrap', indicating a destructive step. This is a direct contradiction. Additionally, the description provides rich detail about rollback and verification, but the contradiction dominates and warrants a score of 1 per the rubric.

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

Conciseness2/5

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

The description is a single, dense sentence (albeit with semicolons) that packs multiple clauses about preflight, immutable mismatches, restart, dynamic node recreation, verification, and rollback. It is verbose and hard to parse, lacking sentence breaks and clear logical structure. It front-loads the core action but loses clarity due to length.

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 the complexity of the operation, the description covers many aspects: preflight, node restart, recreation, verification, rollback, and plan-only mode. However, it omits what 'hardened' means, how metadata verification works, and the exact return value (since no output schema exists). The destructive contradiction further complicates the completeness assessment. It is adequate but has gaps.

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?

The schema covers 100% of parameters with descriptions. The description adds a small amount of context for confirm by explaining the plan-only behavior, but this is already in the schema. Profile, configPath, and configHostPath are not elaborated beyond schema descriptions. Baseline 3 is appropriate given high schema coverage.

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 purpose: to apply a reviewed hardened YDB config file after preflight checks, followed by restart and recreation of nodes. The verb 'apply' and the resource 'hardened YDB config file' are explicit, and it distinguishes itself from sibling tools like prepare_auth_config or write_dynamic_auth_config by focusing on the actual application process.

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 provides explicit guidance: 'Use only after preparing and reviewing the config' and 'only after a full check-only static profile... succeeds'. It also implies a plan-first workflow by stating 'without confirm=true this returns the preflight/apply/recreate plan only', giving clear context for safe usage. It does not name specific alternative tools, but the 'only after' phrasing makes the intended sequence clear.

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