Skip to main content
Glama

Dump a site's database

db_dump

Dump a site's database (any kind list_sites shows) to a .sql.gz file on its server, with the site's own credentials (they never reach the chat). Runs in the background: returns job_id and the file path; follow it with job_output. Files go to /var/lib/askyourstack/dumps; to move one to another server, transfer that folder.

Input Schema

NameRequiredDescriptionDefault
siteNoSite root folder, like /var/www/shop, or one of the site's domains. Optional when the server has one site (see list_sites).
serverNoServer name or id. Optional when the account has one server.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds real context beyond the annotations: async execution, the job_id + file path return, the fixed output directory /var/lib/askyourstack/dumps, credential handling ('they never reach the chat'), and a transfer hint. It is consistent with the declared non-destructive, non-idempotent, open-world profile, but does not say what happens on a repeat run (the non-idempotent case) or how failures surface.

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?

Front-loaded with the action and result, and every sentence carries information (return values, storage path, follow-up tool). It is slightly run-on with several clauses chained by semicolons, but nothing is wasted.

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?

With no output schema, the description carries the return-shape burden and does so (job_id and file path). It covers destination and transfer, but leaves failure modes and retrieval of the finished file unaddressed for an async mutation tool.

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

Parameters3/5

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

Schema coverage is 100%, so both parameters are already documented in the schema, including their optionality and format examples. The description's only marginal addition is implying the site argument ties back to list_sites; baseline 3 is appropriate.

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?

States a specific verb (dump) and resource (a site's database), plus the output artifact (.sql.gz file on its server), which distinguishes it cleanly from siblings like db_query, db_restore, and list_dumps. The parenthetical '(any kind list_sites shows)' further scopes what databases are eligible.

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?

Gives clear operational context: it runs in the background and the agent should 'follow it with job_output', which is actionable workflow guidance. It does not explicitly contrast with db_query/db_restore or state when not to use it, so it stops short of full when/when-not routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources