Skip to main content
Glama

webintel_robots

Read-onlyIdempotent

Fetch and parse a website's robots.txt file to determine crawler permissions and discover XML sitemaps.

Purpose

Query the host's /robots.txt file, parse user-agent directives (Disallow, Allow, Crawl-delay), extract listed XML sitemaps, and evaluate whether a specific path is permitted for standard web crawlers (evaluating both WebIntelBot and wildcard '*' rules).

When to Use

  • Checking whether an autonomous agent or scraper is legally/ethically permitted to crawl a given URL path.

  • Locating authoritative XML sitemaps for site structure discovery and SEO auditing.

  • Inspecting crawl delays or bot-specific exclusions (e.g., GPTBot, ClaudeBot, Googlebot).

When NOT to Use

  • Do NOT use to parse the actual content of a web page; use webintel_markdown instead.

  • Do NOT use to extract on-page HTML links; use webintel_links instead.

  • If the target host has no robots.txt file (HTTP 404), this tool safely indicates that crawling is allowed by default.

Disambiguation

This tool does not scrape the requested URL itself; instead, it targets the root /robots.txt of the URL's origin host and tests permissions for the given path.

Behavior & Performance

  • Side Effects: None. Read-only.

  • Idempotency: Yes.

  • Failsafe: Returns { allowed: true, robotsFound: false } if robots.txt is missing, timing out, or returning a 404.

  • Latency: Typically 200ms to 1.2s.

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": {
      "url": "<url>"
    },
    "name": "webintel_robots"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe target URL or website origin to check robots.txt directives for (e.g. 'https://nytimes.com/section/world').

Output Schema

NameRequiredDescriptionDefault
urlYes
allowedYes
sitemapsNo
robotsFoundYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the read-only and idempotency annotations, it discloses that only the origin's root /robots.txt is fetched and documents the important fail-open result for missing, timed-out, or 404 responses: { allowed: true, robotsFound: false }. Typical latency and the treatment of WebIntelBot versus wildcard directives add further useful operational context.

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?

The summary is front-loaded and the headed sections make selection guidance and edge-case behavior easy to scan. There is some avoidable repetition: the Purpose section restates the opening, the 404 behavior appears twice, and the side-effect and idempotency lines duplicate annotations.

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

Completeness5/5

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

For a one-parameter read-only tool with an output schema, the definition supplies everything needed to select and invoke it correctly, including URL interpretation, supported directive types, alternatives, failure behavior, and latency. No return-value exposition is needed because an output schema is present.

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

Parameters4/5

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

The sole url parameter already has full schema coverage, but the description adds meaningful invocation semantics: a full URL is not itself scraped, its origin supplies the robots.txt location, and its path is what gets tested. This substantially clarifies how to pass either an origin or a deep URL, though it adds little beyond that one parameter's behavior.

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

Purpose5/5

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

The opening states the exact action and resource: fetch and parse a host's robots.txt, determine crawler permissions, and discover XML sitemaps. It further distinguishes the tool by explaining that it evaluates a specific path against WebIntelBot and wildcard rules rather than scraping the requested page.

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

Usage Guidelines5/5

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

Explicit "When to Use" and "When NOT to Use" sections cover permission checks, sitemap discovery, crawl delays, and bot-specific exclusions. It routes page-content parsing to webintel_markdown and HTML-link extraction to webintel_links, giving concrete selection criteria rather than leaving alternatives implicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources