Skip to main content
Glama

Backup Database

localnest_backup
Idempotent

Create a point-in-time backup of the memory database as a compacted, integrity-checked SQLite file. Optionally specify a destination path; defaults to a timestamped file.

Instructions

Create a point-in-time backup of the LocalNest memory database using SQLite VACUUM INTO. The backup is a clean, compacted SQLite file verified with PRAGMA integrity_check. If destination is omitted, the backup is written to {memoryDbDir}/backups/{timestamp}.db.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
destinationNoAbsolute or relative path for the backup file. Defaults to {memoryDbDir}/backups/{timestamp}.db
response_formatNojson

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
metaYes
Behavior4/5

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

Annotations indicate idempotent and not destructive. The description adds valuable context: uses VACUUM INTO, creates compacted files, and verifies integrity. It does not contradict annotations.

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?

Two sentences, no wasted words. Front-loaded with verb and resource. Clearly structured.

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?

For a simple backup tool with two parameters and an output schema, the description covers the main behavior, default location, and verification step. No missing essential information.

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 description coverage is 50% with destination described, leaving response_format to schema. The description adds default destination behavior but not the enum options. Provides some added value but not comprehensive.

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 (create a point-in-time backup), the method (SQLite VACUUM INTO), and the result (clean, compacted SQLite file). It distinguishes from other tools like restore or database operations.

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 creating backups but does not explicitly state when to use versus alternatives or any prerequisites. No mention of when not to use.

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/wmt-mobile/localnest'

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