Skip to main content
Glama

export-data

Destructive

Export a selected DBA Brain tool root into a bundle file for backup or transfer, optionally including encrypted secrets and assets.

Instructions

dbabrain common.cli export-data: Which tool root to carry, into which bundle file, with or without secrets and assets. 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):

  • bundle: The bundle file to write. Required.

  • root: The tool root to export; default the one resolved.

  • include_secrets: Carry the encrypted secret store; default true.

  • include_assets: Carry assets/ and data/ssh_keys/; default true.

  • force: Overwrite an existing bundle file.

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

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

The annotations declare destructiveHint=true and the description supports that with concrete consequences: force overwrites an existing bundle file, and commands on the emergency-operations list require confirm="yes" plus a reason. That confirm/reason protocol is real behavioral context the annotations do not carry. It does not say what happens on a partial failure or whether the source root is modified, so it is not fully complete.

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

Conciseness4/5

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

The purpose is front-loaded, then the confirm rule, then a scannable bullet list of request fields. The sentence 'Changes or removes something' is vague filler relative to the concrete bullets that follow. Overall it is tight with little wasted text.

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 described, and the description covers required fields, defaults, overwrite semantics, output format choice, and the authorization protocol. Minor gaps remain: 'default the one resolved' is vague about how a root is resolved, and there is no guidance on typical bundle sizes or side effects on the source.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema exposes only an opaque `request` object with additionalProperties true, so the description is the sole source of field meaning. It documents all seven request fields including which is required, the default for three of them, and the two accepted format values. That fully compensates for the empty schema.

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 opening line states the verb and resource concretely: it carries a tool root into a named bundle file, with optional secrets and assets. That is enough for an agent to know it produces a bundle artifact. It stops short of explicitly contrasting with the sibling import-data, relying on the name alone for that distinction.

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 context is implied through defaults (root defaults to the resolved one, include_secrets and include_assets default true, format defaults to json) and through the force flag for overwriting. However, there is no explicit statement of when to choose this over import-data or the other export siblings, and no prerequisite steps are spelled out beyond the confirm requirement.

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