Skip to main content
Glama

init

Destructive

Create a DBA Brain tool root directory, set the app name in config.json, and choose whether existing files are overwritten.

Instructions

dbabrain common.cli init: Create a tool root: the directory, the app name, and whether to overwrite. 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):

  • root: The directory to initialise; default the current one.

  • app_name: The app name config.json carries; default dbabrain.

  • force: Overwrite files that already exist.

  • format: json (the envelope, default) or txt (the lines a person reads).

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": "init"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the safety profile is partly structured data. The description adds real value by disclosing the confirm/reason handshake and the `force` overwrite behavior, but the sentence 'Changes or removes something' is vague and the conditional applying confirm to this tool is left unresolved.

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 field list is front-loaded and readable, but the middle sentence 'Changes or removes something' is filler that conveys nothing actionable, and the emergency-list sentence is ambiguous rather than compact. Two of the roughly five sentences do not earn their place or introduce confusion about whether the rule applies here.

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?

An output schema exists, so return values need not be explained, and the parameters are well covered. Gaps remain for a destructive, open-world mutation: what happens when `force` is false and files exist, whether a confirm/reason is mandatory for this specific tool, and what it means for `app_name` to be carried in config.json.

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 itself is an untyped `request` object with additionalProperties, so the description carries the burden and does it well by enumerating root, app_name, force and format with their defaults. It does not state the type or format constraints for each field, only the meaning, which keeps it from 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?

The description opens with a concrete verb and resource set: 'Create a tool root: the directory, the app name, and whether to overwrite.' That is more precise than the title 'init' and tells an agent exactly what is produced. It does not name or differentiate itself from any sibling, which keeps it out of 5 territory.

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?

Useful operational guidance is present: destructive/emergency-list commands require `confirm: "yes"` and a `reason` in the request. However, the description never says whether `init` itself is on that emergency-operations list, and it offers no when-to-use or when-not-to-use cues relative to other setup or app-command tools.

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