Skip to main content
Glama
google-seo-mcp
by Akxan

robots.txt check

robots_check
Read-onlyIdempotent

Fetch a site's robots.txt and test whether specific URLs are crawlable for a given user agent using Google's longest-match rules.

Instructions

Fetch a site's robots.txt, show its groups and sitemap lines, and test whether specific URLs are crawlable for a given user agent (default Googlebot) using Google's longest-match rules.

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": {
      "urls": "<urls>"
    },
    "name": "robots_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesURLs to test. robots.txt is fetched from the first URL's origin.
userAgentNoGooglebot

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Changed1 schema field changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv0.3.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds real behavior beyond that: it specifies the parsing standard used ('Google's longest-match rules'), the default user agent, and the origin-selection rule implied by testing multiple URLs. It is silent on failure modes such as a missing or unreachable robots.txt, which keeps it below a 5.

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?

A single sentence that front-loads the fetch/parse/test sequence with no filler. It is densely packed with clauses, but each clause carries distinct information rather than restating the name or title.

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

Completeness4/5

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

With no output schema, the description usefully sketches the return shape: groups, sitemap lines, and per-URL crawlability verdicts. For a two-parameter, non-nested, read-only tool this is close to sufficient; only edge-case behavior for malformed or absent robots.txt is unaddressed.

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 coverage is 50%: `urls` is documented but `userAgent` has only a default, no description. The description clarifies that only the first URL's origin supplies the file while all URLs are tested, and that the user agent governs the test result — genuine semantics beyond the schema. It does not explain accepted user-agent formats or whether matching is case-sensitive, so it does not fully compensate for the coverage gap.

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 concrete resource (robots.txt) and three concrete operations: fetching it, showing its groups and sitemap lines, and testing crawlability per user agent. That is far more specific than the title. It stops short of explicitly separating itself from near-neighbours such as ai_crawler_access or sitemap_check, so an agent must still infer which tool handles which crawl-access question.

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: an agent can deduce 'use this when you need to know whether a URL is crawlable' from the verbs, but there is no explicit when-to-use or when-not guidance. No alternative tool is named and no preconditions (e.g. that the site must be reachable, or that robots.txt may not exist) are stated.

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