Skip to main content
Glama
SEOBlogBot

SEOBlogBot

Official
by Citability

Check Robots.txt

check-robots-txt

Verify robots.txt crawl rules and sitemap references, then test URLs against a chosen user agent to find issues that can block search engine indexing.

Instructions

Verify robots.txt configuration, crawl rules, and sitemap references. Identifies issues that could block search engine indexing.

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": {
      "siteUrl": "<siteUrl>"
    },
    "name": "check-robots-txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteUrlYesBase URL of the site (e.g., https://example.com)
testUrlsNoOptional URLs to evaluate against robots.txt rules
userAgentNoUser-agent to evaluate rules for (default: Googlebot)Googlebot

Output Schema

NameRequiredDescriptionDefault
issuesYes
contentYes
accessibleYes
statusCodeYes
evaluatedUrlsYes
allowsIndexingYes
userAgentRulesYes
sitemapReferencesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full disclosure burden. It never states that the tool performs a live fetch of the site's robots.txt, whether access failures are reported as findings, whether the operation is strictly read-only, or how the default Googlebot user-agent affects results — all behaviorally relevant for a checker that depends on remote content.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the core purpose front-loaded and no filler. The second sentence is slightly generic ('Identifies issues') but still earns its place by framing the value of the check.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple: one required URL, two optional parameters, full schema coverage, and an output schema that covers return values. Still, with no annotations the description should say more about fetch behavior and failure modes; what remains is adequate but thin for a network-dependent audit tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so siteUrl, testUrls, and userAgent are already documented in the schema. The description's mention of 'crawl rules' loosely hints at user-agent-specific evaluation but adds no new meaning about what testUrls returns per URL or how rule evaluation is scoped.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (Verify) and resource (robots.txt) plus the aspects checked: configuration, crawl rules, and sitemap references. That is clearly distinct from siblings like validate-meta-tags or analyze-core-web-vitals, though it does not explicitly say how it differs from audit-sitemap despite the overlapping sitemap-reference scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the stated goal of finding issues that could block indexing tells an agent roughly when the tool matters, but there is no explicit when-to-use, no exclusions, and no pointer to alternatives such as audit-sitemap or check-indexing-status for follow-up diagnosis.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.