---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/site-crawler/use-cases/audit-url-structure/openclaw
---
# How to Audit URL Structure with OpenClaw

OpenClaw audits URL structure across your entire domain in one pass, producing a structured analysis of path patterns, depth distribution, parameter usage, and naming consistency. The automated output feeds into URL migration planning tools and generates bulk redirect rules for restructuring projects.

## Setup

openclaw mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: openclaw mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask: "Crawl mysite.com and audit the URL structure"
3. OpenClaw maps the URL hierarchy and flags structural issues
4. Request: "Suggest a cleaner URL pattern for the problem areas"
5. Implement restructuring with proper redirects from old URLs

## Example Prompt

```
Audit the URL structure on mysite.com. What needs to be cleaned up?
```

## Tips

- Focus on your most-trafficked URL paths first
- Ask for consistency analysis across different site sections
- Always create redirects when changing URL structures to preserve link equity
