Skip to main content
Glama

Scrape URL

crw_scrape
Read-onlyIdempotent

Scrape a single URL into Markdown, HTML, plain text, links, or images, with optional browser actions, JS rendering, content filtering, and pagination controls for AI-ready extraction.

Instructions

Scrape one URL to Markdown, HTML, plain text, links, or images.

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

Input Schema

NameRequiredDescriptionDefault
urlYesURL to scrape
actionsNoBrowser steps first, as {type:click,selector}: wait{milliseconds|selector} click{selector} write{text} press{key} scroll{direction}. optional:true skips missing elements
formatsNoOutput formats (default ["markdown"])
waitForNoMs to wait after JS render for late content
renderJsNoForce JS render (true), HTTP-only (false), omit = auto
rendererNoPin renderer; browser tiers imply renderJs:true (default auto). 'camoufox' needs the opt-in tier configured. 'impersonated-http' is JS-less Chrome-TLS impersonation, never renderJs.
maxLengthNoMax chars per field; 0 = unbounded (default 15000)
startIndexNoChar offset to resume from
excludeTagsNoCSS selectors to exclude
includeTagsNoCSS selectors to include
onlyMainContentNoStrip nav/footer; main content only (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.47.1
    • addedInput schema / properties / actions
      Added value: +{
      +  "description": "Browser steps first, as {type:click,selector}: wait{milliseconds|selector} click{selector} write{text} press{key} scroll{direction}. optional:true skips missing elements",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changedv0.41.0
    • changedInput schema / properties / formats / items / enum
      Previous value: -[
      -  "markdown",
      -  "html",
      -  "links",
      -  "images"
      -]New value: +[
      +  "markdown",
      +  "html",
      +  "plainText",
      +  "links",
      +  "images"
      +]
  3. Changed2 schema fields changedv0.40.0
    • changedInput schema / properties / maxLength / description
      Previous value: -"Max chars per content field; 0 = unbounded (default ~15000)"New value: +"Max chars per field; 0 = unbounded (default 15000)"
    • addedInput schema / properties / startIndex
      Added value: +{
      +  "description": "Char offset to resume from",
      +  "type": "integer"
      +}
  4. Changed2 schema fields changedv0.35.1
    • changedInput schema / properties / renderer / description
      Previous value: -"Pin renderer; non-auto hard-pins and implies renderJs:true (default auto). 'camoufox' requires the server's opt-in camoufox tier to be configured."New value: +"Pin renderer; browser tiers imply renderJs:true (default auto). 'camoufox' needs the opt-in tier configured. 'impersonated-http' is JS-less Chrome-TLS impersonation, never renderJs."
    • changedInput schema / properties / renderer / enum
      Previous value: -[
      -  "auto",
      -  "lightpanda",
      -  "chrome",
      -  "playwright",
      -  "camoufox"
      -]New value: +[
      +  "auto",
      +  "lightpanda",
      +  "chrome",
      +  "playwright",
      +  "camoufox",
      +  "impersonated-http"
      +]
  5. Changed1 schema field changedv0.30.0
    • changedInput schema / properties / formats / items / enum
      Previous value: -[
      -  "markdown",
      -  "html",
      -  "links"
      -]New value: +[
      +  "markdown",
      +  "html",
      +  "links",
      +  "images"
      +]
  6. Changed2 schema fields changedv0.18.0
    • changedInput schema / properties / renderer / description
      Previous value: -"Pin renderer; non-auto hard-pins and implies renderJs:true (default auto)"New value: +"Pin renderer; non-auto hard-pins and implies renderJs:true (default auto). 'camoufox' requires the server's opt-in camoufox tier to be configured."
    • changedInput schema / properties / renderer / enum
      Previous value: -[
      -  "auto",
      -  "lightpanda",
      -  "chrome",
      -  "playwright"
      -]New value: +[
      +  "auto",
      +  "lightpanda",
      +  "chrome",
      +  "playwright",
      +  "camoufox"
      +]
  7. Changed9 schema fields changedv0.16.0
    • changedInput schema / properties / excludeTags / description
      Previous value: -"CSS selectors to exclude from output"New value: +"CSS selectors to exclude"
    • changedInput schema / properties / formats / description
      Previous value: -"Output formats (default: [\"markdown\"])"New value: +"Output formats (default [\"markdown\"])"
    • changedInput schema / properties / includeTags / description
      Previous value: -"CSS selectors to include (only content matching these selectors)"New value: +"CSS selectors to include"
    • addedInput schema / properties / maxLength
      Added value: +{
      +  "description": "Max chars per content field; 0 = unbounded (default ~15000)",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / onlyMainContent / description
      Previous value: -"Extract only the main content, removing nav/footer/etc (default: true)"New value: +"Strip nav/footer; main content only (default true)"
    • changedInput schema / properties / renderJs / description
      Previous value: -"Render JavaScript before extracting (true = force JS, false = HTTP only, omit = auto-detect or use the server's render_js_default)"New value: +"Force JS render (true), HTTP-only (false), omit = auto"
    • changedInput schema / properties / renderer / description
      Previous value: -"Pin this request to a specific renderer. \"auto\" (default if omitted) uses the configured fallback chain. Other values hard-pin to a single renderer with no fallback. Pinning a non-auto value implies renderJs:true unless renderJs:false is set explicitly."New value: +"Pin renderer; non-auto hard-pins and implies renderJs:true (default auto)"
    • changedInput schema / properties / url / description
      Previous value: -"The URL to scrape"New value: +"URL to scrape"
    • changedInput schema / properties / waitFor / description
      Previous value: -"Milliseconds to wait after JS rendering for late content/XHRs"New value: +"Ms to wait after JS render for late content"
  8. Addedv0.9.1
  9. Removedv0.8.3
  10. Changed3 schema fields changedv0.6.2
    • addedInput schema / properties / renderJs
      Added value: +{
      +  "description": "Render JavaScript before extracting (true = force JS, false = HTTP only, omit = auto-detect or use the server's render_js_default)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / renderer
      Added value: +{
      +  "description": "Pin this request to a specific renderer. \"auto\" (default if omitted) uses the configured fallback chain. Other values hard-pin to a single renderer with no fallback. Pinning a non-auto value implies renderJs:true unless renderJs:false is set explicitly.",
      +  "enum": [
      +    "auto",
      +    "lightpanda",
      +    "chrome",
      +    "playwright"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / waitFor
      Added value: +{
      +  "description": "Milliseconds to wait after JS rendering for late content/XHRs",
      +  "type": "integer"
      +}
  11. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is settled. The description adds the returnable formats, which is useful given there is no output schema, but it says nothing about renderer selection, JS waiting, truncation at maxLength, or how startIndex resumes a partial result.

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?

One short sentence, front-loaded with the verb and scope with no filler. Its brevity is close to under-specification for an 11-parameter tool, but nothing in the sentence is wasted.

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 tool with 11 parameters, multiple renderer tiers, scripted browser actions, and pagination via startIndex/maxLength, the description covers only purpose and output types. The rich schema compensates for most parameter detail, but an agent gets no warning about the renderer/JS behavior that materially changes results.

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%, including detailed enum and default documentation for renderer, formats, and maxLength, so the baseline is 3. The description's format list merely echoes the formats enum and adds no semantics for actions, waitFor, or the include/exclude tag selectors.

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?

"Scrape one URL" gives a specific verb plus a bounded resource, and the listed output formats make the result concrete. It stops short of naming or contrasting a sibling (e.g. crw_crawl, crw_extract), so the agent must infer that this is the single-page option rather than a site-wide one.

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 word "one" implies single-page scope, which weakly signals when to prefer this over a crawl-style sibling. There is no explicit when-to-use, when-not-to-use, or named alternative, and no mention of prerequisites such as authentication or robots restrictions.

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