Skip to main content
Glama

Crawl rules, sitemap and links

site_crawl
Read-only

Checks robots.txt rules and crawl delay for a specified user agent, then returns sitemap URLs with last-modified dates and page links for crawl or SEO planning.

Instructions

Everything a crawler or SEO agent needs before visiting a site: robots.txt rules for your user agent (is this URL allowed? crawl delay?), the site's first sitemap (or the first child of a sitemap index) with page URLs and last-modified dates, and the internal/external links on the page. Costs $0.002 per call.

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": "site_crawl"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPage or site URL, e.g. https://example.com/blog
includeNoSections to return (default all three).
max_urlsNoSitemap URLs and links to list (default 100 each).
user_agentNoCrawler name to check rules for (default "*"), e.g. "GPTBot", "Googlebot".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With readOnlyHint=true already declaring safety, the description still adds real behavioral value: a per-call price ($0.002), the important scope limit that only the first sitemap or first child of a sitemap index is returned, and that rules are resolved for a specific user agent. Missing rate limits or result-size behavior beyond the schema, but this goes well past the annotations.

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?

One dense sentence with the payload (the three sections) front-loaded and the cost disclosed at the end, which is where a pricing note belongs. Slightly list-heavy, but no sentence is wasted.

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?

For a read-only, no-output-schema tool with fully documented params, the definition covers what is fetched, defaults, per-section limits, and cost. An agent could call it correctly; only sibling routing and any pagination of results remain 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 description coverage is 100%, so all four params including enum values for `include` are documented structurally; the description adds only the sitemap scope caveat and the user-agent framing. Baseline 3 is appropriate since the schema does the heavy lifting.

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 the concrete resources returned: robots.txt rules, the first sitemap, and page links, and frames it for a crawler/SEO audience. That is specific enough to distinguish it from likely siblings such as site_metadata or domain_report, though it never names an alternative tool explicitly.

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?

It implies the 'when' (pre-crawl checks by a crawler or SEO agent) but never states exclusions or points to a sibling when you only want one piece, e.g. just metadata. The `include` parameter is described in the schema rather than the description, so routing guidance stays implicit.

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