Skip to main content
Glama

key-renew

Destructive

Renews this node's DBA Brain key from dbabrain.dev via email sign-in and stores it in the encrypted key store; emergency changes require confirmation and a reason.

Instructions

dbabrain common.cli key-renew: Get this node a dbabrain key from dbabrain.dev: an email sign-in, the key into the encrypted store. 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):

  • node: How the key names this machine - shown on dbabrain.dev and in key-status, never trusted.

  • server: The service that issues keys.

  • wait: Wait for the approval with no terminal - when a person reads this command's output (worker-run). Without it and without a terminal the command is refused.

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": "key-renew"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description adds genuinely new information: it is on the emergency-operations list and therefore requires `confirm`: "yes" plus a `reason`, and non-terminal invocations are refused unless `wait` is set. The boilerplate "Changes or removes something" is vague but consistent with the destructive annotation; it doesn't say whether the previous key is revoked.

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 essential constraints are front-loaded and the field list is easy to scan, but the generic "Changes or removes something" sentence is boilerplate that adds little, and the approval caveat is split awkwardly from the `confirm`/`reason` requirement it belongs with.

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?

An output schema exists, so return values needn't be explained. For a destructive, open-world, one-parameter key operation, the description covers the confirmation protocol, the approval flow, and the terminal-refusal edge case; only the fate of the existing key and the email sign-in flow remain unspecified.

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 0% and the schema only exposes an untyped `request` object, so the description carries the full burden — and it responds by naming and explaining the practical fields (`node`, `server`, `wait`) plus the required `confirm`/`reason` pair. It omits value formats (e.g. acceptable `node` strings), which keeps it short of a 5.

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

Purpose4/5

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

"Get this node a dbabrain key from dbabrain.dev" gives a specific verb (get/renew a key) for a specific resource, and disambiguates from key-status by naming the domain and the encrypted-store destination. It could more explicitly contrast with key-request, but the operation itself is clear.

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 implicitly indicates when to use `wait` (worker-run, no terminal) and warns that the command is refused without it. However, it never states when to use key-renew versus key-request or key-status, which is the main routing decision an agent faces.

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