Skip to main content
Glama

key-request

Destructive

Requests a DBABrain key for this node from dbabrain.dev via email sign-in and stores it in the encrypted store; supports wait mode for worker-run approvals.

Instructions

dbabrain common.cli key-request: 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-request"
  }
}

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 and openWorldHint, and the description adds meaningful context: email sign-in, encrypted storage, confirmation requirements, and refusal without a terminal. It still does not explain exactly what gets changed or removed, or what happens after approval.

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 purpose is front-loaded and the request fields are bulleted, but the opening CLI reference, 'as on the command line' aside, and fragmented phrasing add noise. It is usable but could be substantially tighter.

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, and the description covers the key request fields, authentication flow, terminal behavior, and confirmation requirements. The main remaining gap is lack of explicit sibling-tool guidance.

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 only parameter is a generic request object, so the description carries the burden by listing node, server, wait, and emergency confirm/reason fields with their meanings. It still omits types, defaults, and fuller object structure.

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?

The description states a specific action: getting this node a dbabrain key from dbabrain.dev via email sign-in and an encrypted store. However, the phrasing is somewhat muddled and it does not explicitly contrast with nearby tools like key-status or key-renew.

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 conditions, such as using wait for worker-run scenarios with no terminal, and requiring confirm/reason for emergency-operations commands. It does not explain when to use this tool instead of key-renew or key-status, nor when not to use it.

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