Skip to main content
Glama

Deep Crawl Site

deep_crawl_site
Read-only

Crawl multiple pages from a site with configurable depth and page limits, then save per-URL markdown files plus an index.json to a chosen directory.

Instructions

Crawl multiple pages from a site with configurable depth. Use output_path (directory) to persist per-URL markdown files + index.json; the response is then slimmed to metadata only.

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

Input Schema

NameRequiredDescriptionDefault
urlYesStarting URL
max_depthNoLink depth, 1-2 (default: 2). Values outside the range return an error.
max_pagesNoMax pages, 1-10 (default: 5). Values outside the range return an error.
overwriteNoOverwrite existing per-URL files inside output_path. Defaults to False (existing files cause an output_path_exists error).
output_pathNoAbsolute directory path to persist per-URL markdown files + index.json. Existing regular files at this path are rejected; otherwise the directory is created if missing (dot-containing names like /tmp/run.v1 are fine). When set, the response is slimmed to metadata+file paths. Failed items (success=False) are NOT written as .md but still recorded in index.json with file=null.
url_patternNoURL filter pattern
base_timeoutNoTimeout per page
extract_mediaNoExtract media
crawl_strategyNo'bfs'|'dfs'|'best_first'bfs
score_thresholdNoMin relevance 0-1
include_externalNoFollow external links
include_content_in_responseNoWhen True (with output_path set), also include per-page content/markdown in the response items. Defaults to False so the response stays token-efficient.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed2 schema fields changedv0.4.2
    • changedInput schema / properties / max_depth / description
      Previous value: -"Link depth (1-2)"New value: +"Link depth, 1-2 (default: 2). Values outside the range return an error."
    • changedInput schema / properties / max_pages / description
      Previous value: -"Max pages (max: 10)"New value: +"Max pages, 1-10 (default: 5). Values outside the range return an error."
  3. Addedv0.3.2
  4. Removedv0.1.6
  5. First observedv0.1.7

TDQS

B3.4/5.0
Behavior4/5

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

The annotations declare readOnlyHint=true, and the description does not contradict that. The description adds a genuinely non-obvious behavioral trait: setting output_path writes per-URL markdown plus index.json and slims the response to metadata only, which materially affects token cost and return shape. It omits other behavior such as error modes when limits are exceeded, but the schema covers those ranges.

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?

Two sentences with no filler, and the most consequential detail (output_path changes the response shape) is front-loaded in the second sentence. Nothing needs to be trimmed, though the phrasing could tie the two sentences together more tightly.

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 12-parameter tool with an output schema, the definition covers purpose and the output_path tradeoff, but it leaves the agent without routing guidance against a crowded sibling set and without explanation of strategy or relevance parameters. It is adequate but incomplete for the tool's complexity.

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 the schema already defines all 12 parameters, including the detailed output_path semantics around file rejection, index.json, and failed items. The description only echoes output_path's role and adds nothing about crawl_strategy, score_threshold, url_pattern, or include_content_in_response beyond what the schema states, so the baseline of 3 is appropriate.

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 gives a specific verb and resource: 'Crawl multiple pages from a site with configurable depth.' That implies recursive traversal from one starting URL, which separates it from multi_url_crawl and batch_crawl in principle. However, it never names those siblings explicitly, so the agent must infer the distinction.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus crawl_url, crawl_url_with_fallback, batch_crawl, or multi_url_crawl. It only says to use output_path when you want persistence, without stating when persistence is appropriate or when the slimmed response is preferable.

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