Skip to main content
Glama

db.snapshot

Take a snapshot (pg_dump) of an environment database.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envYesEnvironment: production, staging, or a preview name
labelNo
projectYesProject name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it discloses very little: it does not say whether the dump is synchronous or asynchronous, how long it takes, where the artifact is stored, whether it requires credentials/access to production, or what it costs in resources. Only the underlying utility (pg_dump) is revealed.

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?

A single front-loaded sentence with zero waste; the verb and resource lead and the parenthetical mechanism is useful. It is arguably too terse for a state-changing tool, but as raw structure it is clean.

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

Completeness2/5

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

For a mutation tool with no annotations, no output schema, and one undocumented parameter, the description should at minimum say where the snapshot goes, how to enumerate it later (db.snapshots), or how it is consumed (db.restore). None of that relational context is present.

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

Parameters2/5

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

Schema coverage is 67%: 'env' and 'project' are documented in the schema, while 'label' has no description anywhere. The tool description adds nothing about any parameter, so the undocumented 'label' is left entirely unexplained.

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?

States a specific verb ('take a snapshot') plus the resource ('environment database') and even the mechanism ('pg_dump'), which is more than a tautology. It does not, however, differentiate itself from the close sibling db.snapshots, so an agent must infer the distinction on its own.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives such as db.snapshots (list) or db.restore (restore). The agent is left to infer that this is the creation path and those are the read/restore paths.

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