analyze_robots_txt
Fetch and analyze a domain's robots.txt to inspect user-agent allow/disallow rules, sitemap entries, and crawl issues, and optionally test whether a specific path is allowed.
Instructions
Fetch and analyze a domain's robots.txt file. Returns the raw content, parsed allow/disallow rules per user-agent, listed sitemaps, and any issues. Optionally tests whether a specific path is allowed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>"
},
"name": "analyze_robots_txt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain to check (e.g. "example.com"). The tool will fetch https://<domain>/robots.txt. | |
| testPath | No | Optional URL path to test against the robots rules (e.g. "/private/page"). | |
| userAgent | No | User-agent to test the path against. Defaults to "*". | * |