Skip to main content
Glama

Restore Project Db

restore_project_db
Destructive

Restore a project's SQLite database from a backup file, overwriting the current database.

Instructions

Restore the project's sqlite database from a backup file (destructively overwrites current project database).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoOptional project identifier.
backupPathYesThe absolute path to the backup file to restore.
Behavior4/5

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

Annotations already declare destructiveHint=true, and the description adds valuable specificity by stating that it overwrites the current project database and mentioning the sqlite format. This goes beyond the annotation without contradicting it.

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?

A single, front-loaded sentence with no filler. Every word adds value, efficiently communicating the action, target, and destructive consequence.

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 the low complexity, full schema coverage, and the presence of destructiveHint annotation, the description is complete enough. It covers the core action, the destructive nature, and the target resource, with no output schema required.

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 covers 100% of parameters with descriptions for backupPath and project. The description adds no additional parameter semantics, so the baseline 3 applies as per schema coverage.

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 the action (Restore), the resource (project's sqlite database), and the effect (destructively overwrites current project database). It distinguishes itself from sibling tools like backup_project_db by indicating the reverse operation.

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?

The description implies usage for restoring from a backup file but does not explicitly specify when to use it versus alternatives (e.g., backup_project_db or merge_project_db). It provides no when-not guidance or pointers to related tools.

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/putervision/state-memory-mcp'

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