Skip to main content
Glama

Faivelo Email

Restore a database to a moment

restore_database
Destructive

Put a Postgres database back as it was at a given second (within list_backups' pitr span, the last week): everything after that moment is undone (a safety copy of now is taken first). Down for a few minutes. Confirm the moment and its timezone with the person first.

Input Schema

NameRequiredDescriptionDefault
atYesThe moment, ISO 8601 with a timezone, e.g. "2026-10-27T14:03:09Z"
idYesThe database's service id, from list_services

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond annotations already marking the tool destructive, the description explains that everything after the target moment is undone, that a safety copy of the current state is taken first, and that downtime lasts a few minutes. This adds concrete operational context an agent needs before invoking a destructive restore.

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 front-loaded, dense but clear, and every clause adds operational value: scope, data loss, safety copy, downtime, and confirmation. There is no filler.

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?

For a destructive database restore with no output schema, the description covers the key safety and impact behavior, time constraints, downtime, and human confirmation. It could more explicitly distinguish this operation from restore_backup, but otherwise it is complete enough to call correctly.

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?

Schema coverage is already 100%, including the ISO 8601 timezone requirement for 'at' and the service id source for 'id'. The description still adds useful meaning by constraining 'at' to list_backups' PITR span and the last week and by emphasizing timezone confirmation.

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 specific verb and resource: putting a Postgres database back to a given second, with point-in-time scope and a one-week limit. It references list_backups for the PITR span but does not explicitly distinguish this from the sibling restore_backup, so sibling differentiation is present but incomplete.

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?

It gives clear context for use: the target moment must fall within list_backups' PITR span and the last week, and the user should confirm the moment and timezone first. It does not explicitly say when to use this instead of restore_backup or when not to use it.

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.