Skip to main content
Glama

crawl

Recursively fetch website pages starting from a URL, follow internal links to a set depth, and return markdown content for each page visited.

Instructions

Recursively crawl a website starting from a URL, following internal links up to a specified depth. Returns markdown content for each page visited.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe starting URL to crawl
limitNoMaximum number of pages to crawl (default: 10)
timeoutNoPer-page timeout in seconds (default: 60)
maxDepthNoMaximum link depth to follow from the start URL (default: 2)
excludeTagsNoHTML tags to strip
includeHtmlNoInclude raw HTML alongside markdown (default: false)
includeOnlyNoOnly follow URLs containing one of these strings (* matches anything); the start URL is always crawled
mainContentNoExtract only main content from each page (default: true)
blockedWordsNoSkip URLs containing these words
includeLinksNoAdd each page's links to its result (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.3/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, yet it only covers link-following scope and return format. It says nothing about rate limiting, concurrency, handling of failed or blocked pages, JavaScript rendering, or the cost of a deep crawl — all material for a 10-parameter network operation.

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

Conciseness5/5

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

Two tight sentences with the core behavior front-loaded and no filler; the second sentence efficiently covers the return shape. Nothing is wasted or buried.

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?

For a 10-parameter crawler with no annotations and no output schema, the definition gives only a one-line return summary and no operational context. It is adequate to identify the tool but thin for predicting crawl cost, failure behavior, or how multi-page results are aggregated.

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 ten parameters are already documented with defaults in the schema, which sets the baseline at 3. The description adds only a loose gloss on maxDepth ('up to a specified depth') and implies includeHtml's effect ('returns markdown content'), but clarifies no interactions between limit, maxDepth, and timeout.

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?

States a specific verb and resource ('recursively crawl a website starting from a URL') plus the key mechanism ('following internal links up to a specified depth'), which clearly separates it from a single-page scrape or a URL-listing map tool. It stops short of naming a sibling explicitly, so an agent must infer the boundary itself.

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 by the word 'recursively' — the description never says when to prefer this over scrape, batch_scrape, or map, nor when to stop at a single page. There are no exclusions or prerequisites such as robots.txt or auth considerations.

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