# clear_all_datasets

Clear all datasets from memory.

Agent View of the PolicyLayer registry record for `clear_all_datasets`. HTML page: https://policylayer.com/tools/aegntic-aegntic-mcp/clear-all-datasets

## Facts

- Tool: `clear_all_datasets`
- Server: Obsidian Elite RAG MCP Server (`aegntic/aegntic-mcp`) — https://policylayer.com/tools/aegntic-aegntic-mcp.md
- Homepage: https://github.com/aegntic/aegntic-MCP
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "clear_all_datasets",
    "arguments": {}
  }
}
```

## Why clear_all_datasets is rated Critical

This tool irreversibly removes data (all datasets) from the system's memory with no apparent undo mechanism. The blast radius is high because an AI agent invoking this without intent could permanently lose all cached or indexed datasets that power the RAG system, directly undermining the core functionality of the knowledge base.

From the tool's own definition: "Tool name 'clear_all_datasets' combined with description 'Clear all datasets from memory' indicates irreversible deletion of data. The term 'clear' in this context means to wipe or purge, and 'all datasets' indicates a bulk destructive operation."

Risk signals: Bulk/mass operation — affects multiple targets

## Use case

AI agents call clear_all_datasets to permanently remove resources in Obsidian Elite RAG MCP Server, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Obsidian Elite RAG MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "clear_all_datasets"
  ]
}
```

## Other tools on Obsidian Elite RAG MCP Server (134)

- `clear_dataset` — Destructive — https://policylayer.com/tools/aegntic-aegntic-mcp/clear-dataset.md
- `clear_expired_context_cache` — Destructive — https://policylayer.com/tools/aegntic-aegntic-mcp/clear-expired-context-cache.md
- `clear_graph` — Destructive — https://policylayer.com/tools/aegntic-aegntic-mcp/clear-graph.md
- `delete_entity_edge` — Destructive — https://policylayer.com/tools/aegntic-aegntic-mcp/delete-entity-edge.md
- `delete_episode` — Destructive — https://policylayer.com/tools/aegntic-aegntic-mcp/delete-episode.md
- `n8n_delete_execution` — Destructive — https://policylayer.com/tools/aegntic-aegntic-mcp/n8n-delete-execution.md
- `n8n_delete_workflow` — Destructive — https://policylayer.com/tools/aegntic-aegntic-mcp/n8n-delete-workflow.md
- `achieve_mouse_authenticity` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/achieve-mouse-authenticity.md
- `achieve_typing_authenticity` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/achieve-typing-authenticity.md
- `collaborate_with_gemini` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/collaborate-with-gemini.md
- `compile_video` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/compile-video.md
- `execute_custom_analytics_code` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/execute-custom-analytics-code.md
- `n8n_trigger_webhook_workflow` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/n8n-trigger-webhook-workflow.md
- `run_performance_benchmark` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/run-performance-benchmark.md
- `run_test_audience` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/run-test-audience.md
- `start_capture` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/start-capture.md
- `stop_capture` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/stop-capture.md
- `validate_authenticity` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/validate-authenticity.md
- `validate_workflow` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/validate-workflow.md
- `validate_workflow_expressions` — Execute — https://policylayer.com/tools/aegntic-aegntic-mcp/validate-workflow-expressions.md
- `subscribe_tier` — Financial — https://policylayer.com/tools/aegntic-aegntic-mcp/subscribe-tier.md
- `join_community` — Other — https://policylayer.com/tools/aegntic-aegntic-mcp/join-community.md
- `sequential_thinking` — Other — https://policylayer.com/tools/aegntic-aegntic-mcp/sequential-thinking.md
- `analyze_brand_performance` — Read — https://policylayer.com/tools/aegntic-aegntic-mcp/analyze-brand-performance.md
- `analyze_distributions` — Read — https://policylayer.com/tools/aegntic-aegntic-mcp/analyze-distributions.md
- `analyze_project` — Read — https://policylayer.com/tools/aegntic-aegntic-mcp/analyze-project.md
- `calculate_feature_importance` — Read — https://policylayer.com/tools/aegntic-aegntic-mcp/calculate-feature-importance.md
- `compare_datasets` — Read — https://policylayer.com/tools/aegntic-aegntic-mcp/compare-datasets.md
- `crawl_single_page` — Read — https://policylayer.com/tools/aegntic-aegntic-mcp/crawl-single-page.md
- `detect_outliers` — Read — https://policylayer.com/tools/aegntic-aegntic-mcp/detect-outliers.md
- …and 104 more: https://policylayer.com/tools/aegntic-aegntic-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=aegntic-aegntic-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/aegntic-aegntic-mcp
