Skip to main content
Glama

Crawl URL

crawl_url

Extract web page content from static or JavaScript-rendered pages, then save full markdown to disk or return paginated, metadata-only responses to reduce tokens.

Instructions

Extract web page content with JavaScript support. Use wait_for_js=true for SPAs. Use content_offset/content_limit to paginate the response. Use output_path to persist the full unsliced content to disk as markdown and receive a slim metadata-only response.

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_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to crawl
timeoutNoTimeout in seconds
overwriteNoOverwrite an existing output file at output_path. Defaults to False (existing files are rejected before any fetch).
output_pathNoAbsolute file path (auto .md extension) to persist the full unsliced markdown. When set, the response is slimmed to metadata+file path to save tokens. content_limit/content_offset still affect the response copy but not the on-disk file.
wait_for_jsNoWait for JavaScript
css_selectorNoCSS selector for extraction
content_limitNoMax characters to return (0=unlimited)
extract_mediaNoExtract images/videos
auto_summarizeNoAuto-summarize large content
content_offsetNoStart position for content (0-indexed)
take_screenshotNoTake screenshot
generate_markdownNoGenerate markdown
wait_for_selectorNoWait for element to load
include_cleaned_htmlNoInclude cleaned HTML
use_undetected_browserNoBypass bot detection
include_content_in_responseNoWhen True (with output_path set), keep markdown/content in the response too. Note: the response copy is still subject to content_limit/content_offset slicing; only the on-disk file holds the full unsliced payload. Defaults to False.

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. Addedv0.3.2
  3. Removedv0.1.6
  4. First observedv0.1.7

TDQS

A3.7/5.0
Behavior4/5

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

No annotations exist, so the description carries the full behavioral burden, and it does disclose the key non-obvious trait: setting output_path persists the full unsliced markdown to disk and slims the response to metadata-only to save tokens. It omits bot-detection/anti-scraping caveats and failure behavior (which the sibling 'with_fallback' implies), but the mutation-of-response-shape behavior is the most important thing to know and it is stated.

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?

Four short sentences, front-loaded with the core purpose, then progressive 'use X for Y' directives. Every sentence earns its place with no filler. It could be marginally tighter by merging the two output_path-related ideas, but the structure is close to ideal for a scanning agent.

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 16-parameter tool this is lean but sufficient: the description covers purpose, the JS/SPA case, pagination, and disk persistence, while a detailed schema and an output schema cover everything else. An agent could call it correctly from this. The missing piece is routing against the many sibling crawl tools.

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 documents all 16 parameters thoroughly, including the output_path/content_limit interaction. The description merely points at three of the sixteen parameters without adding format or constraint detail beyond the schema. Baseline 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?

States a specific verb and resource: 'Extract web page content with JavaScript support.' An agent immediately knows this fetches and extracts page content. However, it never distinguishes itself from close siblings such as crawl_url_with_fallback, deep_crawl_site, multi_url_crawl, or batch_crawl, which is the main differentiation gap given this sibling set.

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?

Guidance is present but is entirely parameter-level ('use wait_for_js=true for SPAs', 'use content_offset/content_limit to paginate', 'use output_path to persist'). There is no guidance on when to pick this over crawl_url_with_fallback or deep_crawl_site, and no preconditions or exclusion criteria. Acceptable implied usage for a single-page crawl, but tool-selection guidance is absent.

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