---
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/seo/use-cases/evaluate-heading-structure/copilot
---
# How to Evaluate Heading Structure with Copilot

Copilot checks heading hierarchy directly in your HTML or markdown files. See heading structure issues highlighted alongside your code, then fix them immediately without switching to a separate SEO tool. This is especially useful for developers managing documentation sites or content-heavy applications.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. Ask: "Audit headings on mysite.com/page"
3. Review the hierarchy report inline
4. Ask Copilot to fix heading issues in your HTML or JSX
5. Verify with a re-audit

## Example Prompt

```
Check the heading structure of mysite.com/docs/getting-started and fix any issues in my source code.
```

## Tips

- Copilot can update heading tags in your templates directly
- Run on rendered pages to catch dynamically generated heading issues
- Pair with accessibility audits for comprehensive heading checks
