Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as URLpipe. If you published it, claim ownership there.

Several results from one page visit

scrape_url
Idempotent

Exposes POST /scrape. Runs any subset of the other operations in one request, served from a single page visit where possible. Each operation is billed and stored exactly as the individual call would be, so this is not a discount — with one exception, and it is the reason to use it: a residential exit is charged per page VISIT, so several results off one visit pay the surcharge once.

Answers with one object keyed by operation, each entry carrying its own success and result, so a partial failure still returns everything that worked.

lighthouse does not share the visit — it runs its own audit on its own engine — so including it means two page fetches, and two surcharges when residential is on. So does a screenshot whose screenshot_options set viewport_width, viewport_height, device_scale_factor, dark_mode or block_ads: those change how the page loads, so the screenshot gets a visit of its own.

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": {
      "project_id": "<project_id>",
      "url": "<url>",
      "operations": "<operations>"
    },
    "name": "scrape_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe page to fetch. Must be a public http(s) URL.
syncNoWait for the result and return it (default false). When false the call returns a token immediately and you collect the result with get_result.
deviceNoLighthouse only, when it is among the operations. Default mobile.
fieldsNoextract only, and required when it is among the operations: the fields to fill, exactly as extract_data takes them.
labelsNoYour own keys to find this request by later, e.g. {"client": "acme"}: they come back with the result, in the webhook and in list_requests, which can filter by them. Up to 16 keys of up to 40 letters, digits, _ - or .; string values up to 256 characters.
max_ageNoHow fresh a stored result must be to be reused, e.g. "2 hours" or "3 days". Default 7 days, maximum 30. A reused result is free. Pass "0" to force a fresh fetch.
report_toNoAsync only: a webhook URL to deliver the result to. Defaults to the project's configured endpoint, if it has one.
operationsYesWhich operations to run off this page.
project_idYesWhich project this request belongs to. From list_projects.
pdf_optionsNoPDF only, when it is among the operations: how to print it, exactly as capture_pdf takes it.
residentialNoFetch the page from a residential (home ISP) exit instead of a datacentre one. Costs a surcharge per page visit — see get_usage. Use it for sites that block datacentre traffic.
auth_profileNoLoad the page signed in, as this auth profile's visitor: its id, ap_…. A profile is a browser's signed-in state uploaded once, from the project's Auth profiles page in the dashboard or over the HTTP API (POST /auth_profiles); only URLs on its domains are accepted. Costs nothing extra. https://urlpipe.dev/docs/auth-profiles
instructionsNoOptional guidance that applies to every field, e.g. "prices in EUR".
page_optionsNoWhat to do to the page before anything is read off it. Applies to the result itself: removed ads and banners are gone from html, markdown and summaries too, and what scrolling loaded is in all of them.
include_auditsNoLighthouse only: include the full per-audit detail. Default false.
idempotency_keyNoMakes the call safe to retry: sending it again with the same key within 24 hours returns the first call's token and result instead of starting (and charging for) new work, even with max_age "0". Up to 255 printable ASCII characters; a UUID is ideal.
screenshot_optionsNoScreenshot only, when it is among the operations: how to take it, exactly as capture_screenshot takes it.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / auth_profile / description
      Previous value: -"Load the page signed in, as this auth profile's visitor: its id, ap_…. A profile is a browser's signed-in state uploaded once over the HTTP API (POST /auth_profiles); only URLs on its domains are accepted. Costs nothing extra. https://urlpipe.dev/docs/auth-profiles"New value: +"Load the page signed in, as this auth profile's visitor: its id, ap_…. A profile is a browser's signed-in state uploaded once, from the project's Auth profiles page in the dashboard or over the HTTP API (POST /auth_profiles); only URLs on its domains are accepted. Costs nothing extra. https://urlpipe.dev/docs/auth-profiles"
  2. Changed1 schema field changed
    • addedInput schema / properties / auth_profile
      Added value: +{
      +  "description": "Load the page signed in, as this auth profile's visitor: its id, ap_…. A profile is a browser's signed-in state uploaded once over the HTTP API (POST /auth_profiles); only URLs on its domains are accepted. Costs nothing extra. https://urlpipe.dev/docs/auth-profiles",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / screenshot_options / properties / styles / description
      Previous value: -"CSS to inject into the page before capturing."New value: +"CSS to inject into the page before capturing, up to 20000 characters."
  4. Changed2 schema fields changed
    • changedInput schema / properties / page_options / description
      Previous value: -"What to do to the page before anything is read off it. Applies to the result itself: removed ads and banners are gone from html, markdown and summaries too."New value: +"What to do to the page before anything is read off it. Applies to the result itself: removed ads and banners are gone from html, markdown and summaries too, and what scrolling loaded is in all of them."
    • addedInput schema / properties / page_options / properties / scroll_to_bottom
      Added value: +{
      +  "description": "Scroll down the page before reading it, for as long as scrolling loads more (up to 25s). For listings and feeds that load their content as they are scrolled.",
      +  "type": "boolean"
      +}
  5. Changed5 schema fields changed
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "extract only, and required when it is among the operations: the fields to fill, exactly as extract_data takes them.",
      +  "items": {
      +    "properties": {
      +      "description": {
      +        "description": "What to take from the page. The more specific, the better.",
      +        "type": "string"
      +      },
      +      "fields": {
      +        "description": "For an object: its fields, shaped like this one.",
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "items": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "object"
      +          }
      +        ],
      +        "description": "For an array: what it holds — a type such as \"string\", or {\"type\": \"object\", \"fields\": [...]}."
      +      },
      +      "name": {
      +        "description": "The key in the result: letters, digits and underscores.",
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "string",
      +          "number",
      +          "integer",
      +          "boolean",
      +          "date",
      +          "datetime",
      +          "url",
      +          "email",
      +          "object",
      +          "array"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / instructions
      Added value: +{
      +  "description": "Optional guidance that applies to every field, e.g. \"prices in EUR\".",
      +  "type": "string"
      +}
    • changedInput schema / properties / operations / items / enum
      Previous value: -[
      -  "html",
      -  "screenshot",
      -  "markdown",
      -  "meta",
      -  "summarize",
      -  "keywords",
      -  "lighthouse",
      -  "console"
      -]New value: +[
      +  "html",
      +  "screenshot",
      +  "markdown",
      +  "meta",
      +  "summarize",
      +  "keywords",
      +  "lighthouse",
      +  "console",
      +  "technologies",
      +  "pdf",
      +  "extract"
      +]
    • addedInput schema / properties / page_options / properties / block_popups
      Added value: +{
      +  "description": "Remove newsletter, app-install and promotional popups laid over the page.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / pdf_options
      Added value: +{
      +  "description": "PDF only, when it is among the operations: how to print it, exactly as capture_pdf takes it.",
      +  "properties": {
      +    "landscape": {
      +      "description": "Landscape orientation. Default false.",
      +      "type": "boolean"
      +    },
      +    "margin": {
      +      "description": "Margin on every side, 0 to 50 mm. Default 10.",
      +      "type": "integer"
      +    },
      +    "media": {
      +      "description": "print (default) uses the page's print stylesheet; screen prints it as a browser shows it.",
      +      "enum": [
      +        "print",
      +        "screen"
      +      ],
      +      "type": "string"
      +    },
      +    "paper_size": {
      +      "description": "The paper. Default a4.",
      +      "enum": [
      +        "letter",
      +        "legal",
      +        "tabloid",
      +        "a3",
      +        "a4",
      +        "a5"
      +      ],
      +      "type": "string"
      +    },
      +    "print_background": {
      +      "description": "Print background colours and images. Default true.",
      +      "type": "boolean"
      +    },
      +    "scale": {
      +      "description": "Scale of the page, 10 to 200 percent. Default 100.",
      +      "type": "integer"
      +    },
      +    "single_page": {
      +      "description": "One page as wide as the browser window and as tall as the whole document, instead of paper-sized sheets. Default false.",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "operations": {
      -        "additionalProperties": {
      -          "properties": {
      -            "cached": {
      -              "type": "boolean"
      -            },
      -            "error": {
      -              "type": "string"
      -            },
      -            "result": {},
      -            "success": {
      -              "type": "boolean"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "description": "One key per operation requested, in the order asked for.",
      -        "type": "object"
      -      },
      -      "url": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "labels": {
      -        "type": "object"
      -      },
      -      "status": {
      -        "const": "accepted",
      -        "type": "string"
      -      },
      -      "token": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "token",
      -      "status"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "final_url": {
      +        "description": "The address the page ended on, after its redirects.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "operations": {
      +        "additionalProperties": {
      +          "properties": {
      +            "cached": {
      +              "type": "boolean"
      +            },
      +            "error": {
      +              "type": "string"
      +            },
      +            "result": {},
      +            "success": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "description": "One key per operation requested, in the order asked for.",
      +        "type": "object"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "labels": {
      +        "type": "object"
      +      },
      +      "status": {
      +        "const": "accepted",
      +        "type": "string"
      +      },
      +      "token": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "token",
      +      "status"
      +    ],
      +    "type": "object"
      +  }
      +]
  7. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "operations": {
      +          "additionalProperties": {
      +            "properties": {
      +              "cached": {
      +                "type": "boolean"
      +              },
      +              "error": {
      +                "type": "string"
      +              },
      +              "result": {},
      +              "success": {
      +                "type": "boolean"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "description": "One key per operation requested, in the order asked for.",
      +          "type": "object"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "labels": {
      +          "type": "object"
      +        },
      +        "status": {
      +          "const": "accepted",
      +          "type": "string"
      +        },
      +        "token": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "token",
      +        "status"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  8. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing billing behaviour (per-operation charge identical to the individual call), storage, the residential per-visit surcharge, and the exact partial-failure contract ("each entry carrying its own success and result"). The extra-visit caveats for lighthouse and option-altering screenshots are genuinely non-obvious. Minor gap: nothing about synchronous vs. async/token semantics or webhook delivery, which are left entirely to the schema.

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?

Front-loads the single-visit premise before the caveats, and each paragraph carries a distinct idea (what it is, the billing rationale, the exceptions). Slightly repetitive in the second sentence ("billed and stored exactly as the individual call would be, so this is not a discount"), but the length is justified by the number of non-obvious rules.

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?

Given 17 parameters, nested option objects and a declared output schema, the description covers the ambiguity that actually matters: what the response looks like keyed by operation, and how partial failures surface. The per-operation option objects (pdf_options, screenshot_options, fields) and sync/max_age/idempotency behaviour are correctly delegated to a fully documented schema, so nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still earns extra credit by explaining cross-parameter interactions the schema cannot — that screenshot_options such as viewport sizes, device_scale_factor, dark_mode or block_ads force a second fetch and a second surcharge. The link between operations and fields (extract) is only implied here and otherwise left to the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ("Exposes POST /scrape. Runs any subset of the other operations in one request") and immediately distinguishes it from the single-operation siblings by tying it to a shared page visit. An agent can tell what it does and why it exists without opening the schema.

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

Usage Guidelines5/5

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

Explicitly states the one reason to prefer it (residential surcharge is per visit, so multiple results amortise it) and explicitly warns that it is "not a discount" otherwise. It also names the two cases where the shared visit does not apply — lighthouse, and screenshots whose options alter page load — which is exactly the when-not guidance needed given the sibling tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources