Skip to main content
Glama

Crawl URL with Fallback

crawl_url_with_fallback
Read-only

Crawl URLs from anti-bot sites using fallback strategies, then paginate returned content or save full unsliced markdown to disk.

Instructions

Crawl with fallback strategies for anti-bot sites. 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 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_with_fallback"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to crawl
timeoutNoTimeout in seconds
overwriteNoOverwrite an existing output file at output_path. Defaults to False (existing files 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. content_limit/content_offset still affect the response copy but not the on-disk file.
wait_for_jsNoWait for JavaScript
css_selectorNoCSS selector
content_limitNoMax characters to return (0=unlimited)
extract_mediaNoExtract media
auto_summarizeNoAuto-summarize content
content_offsetNoStart position for content (0-indexed)
take_screenshotNoTake screenshot
generate_markdownNoGenerate markdown
wait_for_selectorNoElement to wait for
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.

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.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the burden and does add real behavior: fallback escalation against anti-bot defenses, a slimmed response when output_path is set, and the guarantee that the on-disk file is full and unsliced while the response copy is still sliced. It does not disclose what the fallback strategies are, how many attempts, or any rate-limit/latency implications.

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?

Three short sentences, front-loaded with the differentiating capability, then the two parameters an agent is most likely to misuse. "Slim response" is slightly jargon-y but the meaning is recoverable from the following clause.

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?

An output schema exists and annotations cover the read-only safety profile, so return format and hazard disclosure are not needed. For a 14-parameter crawling tool with 19 siblings, though, the description should say when the fallback path is preferable to crawl_url and what the fallback actually entails, both of which are absent.

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 coverage is 100%, so the schema already documents all 14 parameters, including the output_path/content_limit interaction. The description reinforces the pagination-vs-persistence distinction and adds a bit of framing, but the remaining 11 parameters (wait_for_js, css_selector, take_screenshot, auto_summarize, extract_media, etc.) get no mention, so it does not meaningfully exceed the schema baseline.

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?

"Crawl with fallback strategies for anti-bot sites" gives a specific verb (crawl) and a distinguishing capability (fallback for anti-bot), which separates it in spirit from the plain crawl_url sibling. It never names crawl_url or multi_url_crawl explicitly, so the agent must infer when the fallback variant is warranted.

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?

The description gives concrete usage guidance for three parameters (paginate with content_offset/content_limit, persist with output_path), which is genuinely actionable. It offers no when-to-use-this-vs-crawl_url rule and no exclusions, so the core selection decision among the many crawl siblings is left implicit.

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