Skip to main content
Glama
LiLara-AI

ShadowGraph

Official

shadowgraph_purge

Destructive

Delete a project's decisions, memories, facts, and relationships. Preview first; logical mode keeps an auditable journal skeleton; hard mode permanently removes entries.

Instructions

Delete one project's decisions, attempts, memories, facts, relationships, events, and retry keys. Run shadowgraph_purge_preview first; shadowgraph_redact shares without deleting, shadowgraph_backup keeps a copy. Irreversible without a backup. logical keeps an auditable journal skeleton; hard also drops entries, leaving a declared gap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoDefaults to logical, which keeps an auditable payload-free journal skeleton. "hard" is irreversible, physically removes journal entries, and leaves a sequence gap that validate() reports.
projectYesProject to delete. Required and non-empty; there is no wildcard.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesThe mode that was applied.
factsYesFacts that were present.
eventsYesCompatibility events that were present.
journalYesJournal entries that were present for the project.
projectYesThe project that was purged.
recordsYesDecisions, attempts, and memories that were present.
removedYesEntities removed from live state, including alternatives.
relationsYesRelationships that were present.
journalEntryIdYesId of the project.purged entry that records this purge.
idempotencyRemovedYesRetry keys removed with the project.
journalEntriesRemovedYesEntries physically deleted by a hard purge.
journalEntriesRedactedYesEntries reduced to an audit skeleton by a logical purge.
removedJournalSequencesYesSequence numbers a hard purge removed, declared so the resulting gap is explained rather than hidden.
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as destructive, but the description adds important context: the operation is irreversible without a backup, and modes behave differently (logical keeps a journal skeleton, hard drops entries leaving a declared gap). This goes beyond the annotation and fully informs the agent about consequences.

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 three sentences with no filler. It front-loads the core action and resource, then gives the required preview step, alternatives, irreversibility warning, and mode behavior in an efficient, scannable structure.

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 destructive tool with two parameters, an output schema, and full schema coverage, the description covers everything an agent needs: what is deleted, the prerequisite preview, relevant alternatives, irreversibility, and mode semantics. No critical information is missing.

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 coverage is 100%, so the schema already explains both parameters. The description adds a concise restatement of logical versus hard behavior, but this largely duplicates what the schema's mode enum and project descriptions already provide. Baseline 3 is appropriate.

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 states a specific verb and resource: 'Delete one project's decisions, attempts, memories, facts, relationships, events, and retry keys.' It also names sibling tools, distinguishing it from shadowgraph_redact and shadowgraph_backup, so an agent can select this tool confidently.

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?

The description gives explicit usage guidance: run shadowgraph_purge_preview first, and notes that shadowgraph_redact is for sharing without deleting while shadowgraph_backup preserves a copy. It also warns about irreversibility without a backup, making the preconditions and alternatives clear.

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