# validate_workflow

Validate an entire n8n workflow before deployment. Checks: workflow structure, node connections (including ai_tool connections), expressions, best practices, AI Agent configurations, and more. Returns comprehensive validation report with errors, warnings, and suggestions. Essential for AI agents building complete workflows. Validates AI tool connections and $fromAI() expressions. Prevents common workflow errors before they happen.

Agent View of the PolicyLayer registry record for `validate_workflow`. HTML page: https://policylayer.com/tools/aegntic-aegntic-mcp/validate-workflow

## Facts

- Tool: `validate_workflow`
- 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: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

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

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

## Why validate_workflow is rated High

While primarily a read/analysis operation, validating a workflow involves executing checks against live workflow structures including expressions and AI tool connections, which constitutes triggering external operations. It does not modify or delete data, so it sits at Execute rather than Write.

From the tool's own definition: "'Validate an entire n8n workflow before deployment' and 'Prevents common workflow errors before they happen' — the tool runs validation checks (expressions, node connections, AI agent configurations) against a workflow, triggering external analysis operations."

Risk signals: Bulk/mass operation — affects multiple targets

## Use case

AI agents invoke validate_workflow to trigger actions in Obsidian Elite RAG MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. 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",
  "tools": {
    "validate_workflow": {
      "limits": [
        {
          "counter": "validate_workflow_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

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

- `clear_all_datasets` — Destructive — https://policylayer.com/tools/aegntic-aegntic-mcp/clear-all-datasets.md
- `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_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
