Skip to main content
Glama
iMateo

fastpanel-mcp

by iMateo

database_dump

Dump a database to a SQL file on the FastPanel host via SSH using mysqldump. Returns path and byte size for download.

Instructions

Dump a database to a .sql file ON the FastPanel host via SSH (mysqldump). Writes a file you can then download (scp/sftp); returns the path and byte size. The file can only be written inside the staging dir (default /root/fastpanel-mcp-dumps, override with FASTPANEL_DUMP_DIR) — arbitrary output paths are rejected. Targets the host's LOCAL MySQL via root socket auth; remote servers and non-MySQL engines are rejected. WRITE (it creates a root-owned file) — set dry_run:true to preview, confirm:true to execute. Requires SSH configured (FASTPANEL_SSH_HOST).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
dry_runNo
database_idYesDatabase id from databases_list
output_pathNoAbsolute .sql path INSIDE the staging dir. Default: <staging>/<name>-<timestamp>.sql
Behavior4/5

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

With no annotations, the description discloses write behavior (creates root-owned file), the use of mysqldump, staging directory restriction, and required configuration. It also explains the dry_run and confirm parameters. Minor missing details like overwrite behavior but overall transparent.

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

Conciseness5/5

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

The description is concise with four sentences, front-loading the purpose. Every sentence adds value, no redundancy, and covers essential aspects.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, no annotations, and moderate schema coverage, the description provides sufficient context: operation, constraints, parameters, and required configuration. It explains what the tool returns (path and byte size) and how to use it safely.

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 description adds meaning beyond the schema for dry_run and confirm ('set dry_run:true to preview, confirm:true to execute') and explains output_path default. Schema coverage is 50%; the description compensates by clarifying boolean flag usage and output path formation.

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

Purpose5/5

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

The description clearly states 'Dump a database to a .sql file ON the FastPanel host via SSH (mysqldump).' This provides a specific verb and resource, and distinguishes it from siblings like database_import or databases_list by detailing the operation and constraints.

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

Usage Guidelines4/5

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

The description includes when to use (dumping to a file), constraints (only local MySQL via root socket, rejected remote/non-MySQL), prerequisites (SSH configured), and guidance on dry_run and confirm flags. However, it does not explicitly mention alternatives among siblings, though the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iMateo/fastpanel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server