Skip to main content
Glama

Crawl a site and aggregate SEO issues

crawl_site

Crawls internal links from a starting URL to audit page SEO, aggregating missing metas, title/H1 issues, duplicate titles, image alt gaps, canonicals, JSON-LD, redirect chains, and fetch errors by issue type.

Instructions

Breadth-first crawl of internal links from a starting URL, auditing every page and aggregating the findings by issue type: missing metas, title length, H1 problems, duplicate titles, image alt coverage, canonicals, JSON-LD and fetch errors. invalidJsonLd lists pages where a JSON-LD entity is missing a property Google requires for its rich result; use extract_schema on those pages for the details. Fetch errors carry the HTTP status (null for a network-level failure, with the message in error) and foundOn, the first page found linking to that URL — not every page linking to it, since a dead link in a shared template is fixed once. redirectChains lists URLs whose resolution took more than one hop, each with the full chain and the page that linked to it — every hop costs crawl budget and dilutes link equity.

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": {
      "startUrl": "<startUrl>"
    },
    "name": "crawl_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxPagesNo
startUrlYes
maxIssuesPerCategoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does substantial work: return shape (findings aggregated by issue type), the meaning of null status in fetch errors, the first-linker semantics of foundOn, and why redirectChains matter. It omits invocation cost, politeness/rate behavior, whether the crawl respects robots.txt, and whether anything is mutated.

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?

Front-loaded with the core behavior and the issue list, then progressively details the ambiguous fields (invalidJsonLd, fetch errors, redirectChains). Dense but mostly earns its length; the trailing rationale about crawl budget and link equity is explanation rather than instruction and could be trimmed.

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?

With no output schema, the description does a fair job sketching the return payload through its issue-type, fetch error, and redirect chain sections. Completeness is undercut by silence on the crawl limits and on robots/rate constraints, which an agent needs to invoke this safely on a large site.

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

Parameters2/5

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

Schema description coverage is 0% and the description never mentions the two bounding parameters, maxPages or maxIssuesPerCategory, nor their defaults (20 and 10) or caps (100). Only startUrl is implied by "starting URL." For a 3-parameter crawl tool the description should explain how the crawl is bounded, and it does not.

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?

States a specific verb and resource with scope: "breadth-first crawl of internal links from a starting URL, auditing every page and aggregating the findings by issue type," then enumerates the issue categories. It also distinguishes itself from the sibling extract_schema by routing invalidJsonLd detail lookups there, so an agent can tell the two apart without opening a schema.

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

Usage Guidelines4/5

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

Gives a clear when-to-use signal (site-wide aggregation of issues, internal links only) and an explicit hand-off to extract_schema for per-page JSON-LD detail. It stops short of stating exclusions against single-page siblings like audit_page or check_robots, so the agent must infer that one page means audit_page.

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