MCP Server for SEO tools focusing on robots.txt and sitemap analysis. This server provides tools to extract sitemap URLs from robots.txt files using advertools library.
Two tools with clear verb-noun naming (get_sitemap_url_from_robots_txt, get_all_sitemap_urls_from_robots_txt) that follow the action-first convention. Both tools have good descriptions (110-130 chars, within the 10-1024 baseline), clearly explaining what they do, their inputs, and return values. Input schemas are present with string type and description. However, critical gaps prevent a higher score: (1) NO output schemas documented, LLMs cannot infer the shape of returned data; (2) NO tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite these being safe read-only tools; (3) error handling returns None or empty list on failure, but does not guide the LLM on recovery actions or explain what went wrong; (4) no parameters accept human-friendly identifiers or offer constraint hints (e.g., 'must be a valid URL starting with http:// or https://'). The tool definitions themselves are sound and would serve basic use cases, but lack the production-grade polish that guides agent behavior and handles edge cases explicitly.
Extract all sitemap URLs from a robots.txt file URL. Args: robots_txt_url: The URL of the robots.txt file (e.g., 'https://example.com/robots.txt') Returns: A list of all sitemap URLs found in the robots.txt file
Extract the first sitemap URL from a robots.txt file URL. Args: robots_txt_url: The URL of the robots.txt file (e.g., 'https://example.com/robots.txt') Returns: The first sitemap URL found in the robots.txt file, or None if no sitemap is specified
No output schema documented. Tools return Optional[str] and List[str] respectively, but LLM has no formal schema for return types, field names, or structure. LLMs cannot plan downstream operations or extract nested data without seeing the expected output shape.
No tool annotations present. Both tools are read-only and safe (no state modification, no destructive operations). Missing readOnlyHint annotation prevents the agent from understanding these are safe to call repeatedly without side effects.
Error handling returns None or empty list silently on failure, but does not guide the LLM on recovery. When robots.txt fetch fails or sitemap not found, the response gives no actionable feedback (e.g., 'robots.txt not accessible at this URL, verify it exists and is publicly readable'; 'No sitemap directive found, try manually visiting /sitemap.xml or /sitemap1.xml'). Silent failures force LLMs to guess.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 55 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 52 | - | v1 |
Parameter 'robots_txt_url' lacks format constraint documentation. Description says 'e.g., https://example.com/robots.txt' (example value in description), but no formal pattern/validation rule. Should state: 'Must be a valid URL (http:// or https://) pointing to a robots.txt file' and validate that input is well-formed URL before passing to advertools.
Example values ('https://example.com/robots.txt') embedded in descriptions. LLMs frequently reuse example values literally in real calls, potentially causing incorrect requests. Replace with formal constraints in description: 'Must be a valid absolute URL starting with http:// or https://'.