Skip to main content
Glama

guide

Destructive

Prints or writes DBA Brain operating instructions as AGENTS.md so AI agents can follow emergency-command confirmations and required request fields.

Instructions

dbabrain common.cli guide: The operating guide, printed or written as AGENTS.md. 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):

  • write: Write it as AGENTS.md instead of printing it.

  • root: Where to write it; default the current directory.

  • 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": "guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description goes beyond them by disclosing that emergency-operations commands require confirm:"yes" plus a reason in the request. It also makes clear that the default behavior is non-destructive printing while write creates a file. It stops short of saying whether an existing AGENTS.md is overwritten or removed, which leaves the destructive path underspecified.

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 output format and defaults are front-loaded and the bulleted request fields are easy to scan. However, the sentence 'Changes or removes something.' is generic boilerplate that describes nothing specific about this tool and dilutes the useful content. Trimming it would tighten the definition without losing information.

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 need not be explained, and the format field's json-envelope versus txt-lines distinction covers presentation. Root defaulting to the current directory is stated. The remaining gap is what happens to an existing AGENTS.md at the target root, which matters given destructiveHint=true.

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?

The schema is effectively opaque: a single anyOf request object with additionalProperties true and 0% description coverage. The description compensates well by naming the three request fields (write, root, format), explaining each, and stating defaults for root and format. It adds real meaning the schema cannot convey, though it does not cover the confirm/reason fields as request keys explicitly.

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 concrete verb and resource: it prints the operating guide, or writes it out as an AGENTS.md file. That is enough for an agent to know what it gets back. It does not differentiate from any sibling tool, and the leading 'dbabrain common.cli `guide`:' fragment adds no semantic value, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description never says when to reach for this tool rather than another, nor when not to. The write flag implies a print-vs-write decision, but the agent must infer that from a parameter description rather than from explicit guidance. No alternatives or prerequisites are named.

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