Skip to main content
Glama
LiLara-AI

ShadowGraph

Official

shadowgraph_backup

Destructive

Creates a full store snapshot to a server path, preserving state before destructive operations. Overwrites destination, creates parent directories, and commits a revision.

Instructions

Write a consistent snapshot of the whole store to a filesystem path on the server. Take one before shadowgraph_purge or shadowgraph_restore; shadowgraph_redact shares data without writing a file. Overwrites any existing file at destination without warning, creates parent directories, and commits a revision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
destinationYesServer-side path to write the snapshot to. Required. An existing file there is overwritten; parent directories are created. Use the storage backend’s own extension, .json for JSON stores and .db for SQLite.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesPath of the live store the snapshot was taken from.
destinationYesPath the snapshot was written to.
Install Server

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already mark this as destructive and non-read-only; the description adds concrete behavioral details: overwrites existing files without warning, creates parent directories, and commits a revision. These are meaningful side effects beyond what annotations alone convey. It could mention permissions or failure cases, but the added context is strong.

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?

Three compact sentences front-load the action, then add usage context, an alternative, and side effects. Every sentence earns its place with no filler or redundant restatement of the tool name. The structure is efficient and scannable.

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—one required parameter, full schema coverage, destructive annotations, and an output schema—the description covers everything needed for correct invocation. It adds usage triggers, sibling differentiation, and key side effects. An agent can act on this definition confidently without further research.

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?

The input schema fully documents the single destination parameter at 100% coverage, including overwrite behavior, parent directory creation, and extension guidance. The description restates some of this but does not add new parameter-level meaning beyond the schema. Baseline 3 is appropriate given complete 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?

States a specific verb and resource: 'Write a consistent snapshot of the whole store to a filesystem path on the server.' It clearly differentiates from shadowgraph_redact by noting that the alternative shares data without writing a file. The purpose is unambiguous and distinct from siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use this tool: 'Take one before shadowgraph_purge or shadowgraph_restore.' It also identifies a relevant alternative, shadowgraph_redact, and explains the key difference. This gives direct routing guidance with no inference required.

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

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/LiLara-AI/shadowgraph'

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