Skip to main content
Glama

Scrape a URL asynchronously

scrape_async

Submit long-running scrapes asynchronously and poll the job later, so heavy JS rendering and full-page screenshots don't hold the connection open.

Instructions

Submit a scrape job to run ASYNCHRONOUSLY and return a job_id immediately, instead of holding the connection open. Use this for long-running scrapes (heavy JS rendering, full-page screenshots of long pages) — for a quick one-shot fetch prefer the synchronous scrape tool, which blocks and returns the page directly. Poll the job with scrape_status and fetch the page with scrape_result once done. Takes extract.elements like scrape (named values by CSS selector, no extra credits); the result carries them in elements. Rules: https://crawlbrulee.com/docs/scrape/targeted-extraction. Takes extract.pdf (save the page as a PDF) and extract.screenshot.color_scheme like scrape. Optionally attach a per-job completion webhook: we deliver a single signed scrape.complete POST to your endpoint when the job finishes (HTTPS required in production), and echoes your opaque webhook.metadata back in the delivery (under data.metadata, alongside data.page_status_code (on success) and data.response_meta.usage). Set zero_data_retention: true to keep the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. It adds 1 credit and must be enabled for the organization (else a zero_data_retention_not_enabled error, not billed). See https://crawlbrulee.com/docs/zero-data-retention. To send your own headers or cookies to the site, set headers (for example Authorization, or a fixed User-Agent) or cookies. They go only to the site in url, and such a request never uses the cache. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. Tell the user this before they share one. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to scrape. Known tracking parameters are removed before the page is fetched, so they are neither sent to the target site nor part of the cache key. Every other query parameter is kept verbatim and is part of the cache key.
cacheNoCache settings for this request
proxyNoProxy tier. Defaults to auto: we start with the lightest way to get the page and step up our effort on our own when a site needs more (a stronger proxy, a real browser, or both), and bill the tier that delivered. basic or advanced pins the tier.auto
cleanupNoWhat is removed from the page before any output is built. Applies to markdown, cleaned_html, links and images on every engine, and to the screenshot. Never applies to raw_html, which is always the page before we removed anything.
cookiesNoYour own cookies to send to the site with the request. Each is a `name` and a `value`, sent only to the host of `url`. Cookies the site sets while redirecting are not kept. Up to 20 cookies, each up to 4096 bytes (name and value), counted toward the limit on `headers`. A value may not hold ";" or start or end with a space. A `__Secure-`, `__Host-` or `__Http-` cookie needs an https url. A request with headers or cookies never reads from or writes to the cache. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.
extractNoWhich content formats to extract. Defaults to markdown + metadata.
headersNoYour own HTTP headers to send to the site with the request, for example `Authorization`, an api key, or a fixed `User-Agent` that the site has on an allowlist. Sent only to the origin of `url` (same scheme, host and port), or to its https version when `url` is http, and not on a redirect to another origin. Up to 10 headers; headers and cookies together up to 16384 bytes. Values are printable ASCII, with no space or tab at either end. Headers a browser doesn't let a web page set can't be set here either (a 400 names the header). Use `cookies` for cookies and `location.locale` for the language. Never put secrets in the `User-Agent`. Your own `User-Agent` can lower the success rate, and the response carries the `custom_user_agent` warning. A `Referer` must be the full http or https url of a public page, with no username or password; it is sent the way a browser sends it after a click on that page. A request with headers or cookies never reads from or writes to the cache. On a plain http url they travel unencrypted. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.
webhookNoCompletion webhook delivered when this async job finishes. Async-only: the synchronous `scrape` tool does not accept it.
locationNoOptional locale + country emulation for the scrape
require_jsNoGo straight to a headless browser to render JavaScript before scraping. Without it, we still move to a browser on our own when a page needs one; set it when you already know the page needs JavaScript, to save time.
zero_data_retentionNoKeeps the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. Adds 1 credit. Must be enabled for your organization. See https://crawlbrulee.com/docs/zero-data-retention.

Output Schema

NameRequiredDescriptionDefault
job_idYesJob identifier — pass it to the `scrape_status` / `scrape_result` tools

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv1.6.0
    • changedInput schema / properties / extract / description
      Previous value: -"Which content formats to extract. Defaults to metadata + cleaned_html."New value: +"Which content formats to extract. Defaults to markdown + metadata."
    • changedInput schema / properties / extract / properties / cleaned_html / default
      Previous value: -trueNew value: +false
    • changedInput schema / properties / extract / properties / markdown / default
      Previous value: -falseNew value: +true
    • addedInput schema / properties / extract / properties / pdf
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Save the page as a PDF: a real document with selectable text and working links, backgrounds printed, and no header or footer added. `{}` takes every default. The request runs in a browser. The response carries a top-level `pdf` with a signed link that expires 24 hours after the scrape. It costs what a screenshot costs, and a PDF and a screenshot in one request are billed once. A cached copy of the page answers only when it has a PDF made with the same settings; `cache.max_age: 0` always makes a new one. In rare cases the PDF cannot be made: the rest of the scrape still comes back, with the `pdf_unavailable` warning, and the request costs what it costs without the PDF. A PDF-only request (every other format off, `markdown` and `metadata` included) on a page that cannot be made into a PDF is a 422 `unsupported_pdf_output`, not billed. An async job in that case, or one that asked only for a PDF and got none, ends `failed` and is not billed. A PDF on its own is made with the light theme. When the same request also asks for a screenshot with `color_scheme: \"dark\"`, the PDF is dark too.",
      +  "properties": {
      +    "landscape": {
      +      "description": "Turn the paper sideways, for `layout: \"pages\"`. Defaults to false. Not allowed with `single_page`.",
      +      "type": "boolean"
      +    },
      +    "layout": {
      +      "default": "pages",
      +      "description": "`pages` (default): the page on sheets of paper, laid out as in the browser window (the desktop default, or the screenshot device and viewport when the request also asks for a screenshot) and shrunk to fit the paper width. `single_page`: one page as wide as the browser window and as tall as the web page, up to 15,000 px; a taller page goes on over more pages, with the `pdf_single_page_overflow` warning.",
      +      "enum": [
      +        "pages",
      +        "single_page"
      +      ],
      +      "type": "string"
      +    },
      +    "media": {
      +      "default": "screen",
      +      "description": "`screen` (default): the page as it looks on screen. `print`: the site's own print style, which on many sites hides menus and images; a site without one looks as on screen.",
      +      "enum": [
      +        "screen",
      +        "print"
      +      ],
      +      "type": "string"
      +    },
      +    "paper": {
      +      "description": "Paper size for `layout: \"pages\"`: `a4` (default) or `letter`. Not allowed with `single_page`.",
      +      "enum": [
      +        "a4",
      +        "letter"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / extract / properties / screenshot / properties / color_scheme
      Added value: +{
      +  "description": "`light` (default) or `dark`. `dark` asks the site for its dark theme, if it has one, and the screenshot shows it. A site without a dark theme, or whose dark theme is only a switch on the page, looks the same as with `light`. When the request also asks for `extract.pdf`, the PDF shows the dark theme too. No extra credits.",
      +  "enum": [
      +    "light",
      +    "dark"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / proxy / description
      Previous value: -"Proxy tier to use for fetching"New value: +"Proxy tier. Defaults to auto: we start with the lightest way to get the page and step up our effort on our own when a site needs more (a stronger proxy, a real browser, or both), and bill the tier that delivered. basic or advanced pins the tier."
    • changedInput schema / properties / require_js / description
      Previous value: -"Use a headless browser to render JavaScript before scraping"New value: +"Go straight to a headless browser to render JavaScript before scraping. Without it, we still move to a browser on our own when a page needs one; set it when you already know the page needs JavaScript, to save time."
  2. Changed5 schema fields changedv1.4.0
    • addedInput schema / properties / cookies
      Added value: +{
      +  "description": "Your own cookies to send to the site with the request. Each is a `name` and a `value`, sent only to the host of `url`. Cookies the site sets while redirecting are not kept. Up to 20 cookies, each up to 4096 bytes (name and value), counted toward the limit on `headers`. A value may not hold \";\" or start or end with a space. A `__Secure-`, `__Host-` or `__Http-` cookie needs an https url. A request with headers or cookies never reads from or writes to the cache. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "value": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • changedInput schema / properties / extract / properties / elements / additionalProperties / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 500,
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "all": {
      -        "default": false,
      -        "description": "Return every match as a list instead of the first. Defaults to false",
      -        "type": "boolean"
      -      },
      -      "attribute": {
      -        "description": "The attribute to read when `output` is `attribute`. `href` and `src` come back as full urls",
      -        "maxLength": 100,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "fields": {
      -        "additionalProperties": {
      -          "anyOf": [
      -            {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "all": {
      -                  "default": false,
      -                  "type": "boolean"
      -                },
      -                "attribute": {
      -                  "maxLength": 100,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "fields": {
      -                  "additionalProperties": {
      -                    "anyOf": [
      -                      {
      -                        "maxLength": 500,
      -                        "type": "string"
      -                      },
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "all": {
      -                            "default": false,
      -                            "type": "boolean"
      -                          },
      -                          "attribute": {
      -                            "maxLength": 100,
      -                            "minLength": 1,
      -                            "type": "string"
      -                          },
      -                          "fields": {
      -                            "additionalProperties": {
      -                              "anyOf": [
      -                                {
      -                                  "maxLength": 500,
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "additionalProperties": false,
      -                                  "properties": {
      -                                    "all": {
      -                                      "default": false,
      -                                      "type": "boolean"
      -                                    },
      -                                    "attribute": {
      -                                      "maxLength": 100,
      -                                      "minLength": 1,
      -                                      "type": "string"
      -                                    },
      -                                    "output": {
      -                                      "enum": [
      -                                        "text",
      -                                        "html",
      -                                        "attribute"
      -                                      ],
      -                                      "type": "string"
      -                                    },
      -                                    "selector": {
      -                                      "maxLength": 500,
      -                                      "type": "string"
      -                                    }
      -                                  },
      -                                  "required": [
      -                                    "selector"
      -                                  ],
      -                                  "type": "object"
      -                                }
      -                              ]
      -                            },
      -                            "propertyNames": {
      -                              "type": "string"
      -                            },
      -                            "type": "object"
      -                          },
      -                          "output": {
      -                            "enum": [
      -                              "text",
      -                              "html",
      -                              "attribute"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          "selector": {
      -                            "maxLength": 500,
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "selector"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    ]
      -                  },
      -                  "propertyNames": {
      -                    "type": "string"
      -                  },
      -                  "type": "object"
      -                },
      -                "output": {
      -                  "enum": [
      -                    "text",
      -                    "html",
      -                    "attribute"
      -                  ],
      -                  "type": "string"
      -                },
      -                "selector": {
      -                  "maxLength": 500,
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "selector"
      -              ],
      -              "type": "object"
      -            }
      -          ]
      -        },
      -        "description": "Used instead of `output`: turns each match into an object of named values, each read inside that match only. Same shape as `elements`; nests up to 3 levels",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "output": {
      -        "description": "What to return for a match: `text` (default), `html` (the outer HTML) or `attribute`",
      -        "enum": [
      -          "text",
      -          "html",
      -          "attribute"
      -        ],
      -        "type": "string"
      -      },
      -      "selector": {
      -        "description": "CSS selector, up to 500 characters",
      -        "maxLength": 500,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "selector"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 500,
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "all": {
      +        "default": false,
      +        "description": "Return every match as a list instead of the first. Defaults to false",
      +        "type": "boolean"
      +      },
      +      "attribute": {
      +        "description": "The attribute to read when `output` is `attribute`. `href` and `src` come back as full urls",
      +        "maxLength": 100,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "fields": {
      +        "additionalProperties": {
      +          "anyOf": [
      +            {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "all": {
      +                  "default": false,
      +                  "type": "boolean"
      +                },
      +                "attribute": {
      +                  "maxLength": 100,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "fields": {
      +                  "additionalProperties": {
      +                    "anyOf": [
      +                      {
      +                        "maxLength": 500,
      +                        "type": "string"
      +                      },
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "all": {
      +                            "default": false,
      +                            "type": "boolean"
      +                          },
      +                          "attribute": {
      +                            "maxLength": 100,
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "fields": {
      +                            "additionalProperties": {
      +                              "anyOf": [
      +                                {
      +                                  "maxLength": 500,
      +                                  "type": "string"
      +                                },
      +                                {
      +                                  "additionalProperties": false,
      +                                  "properties": {
      +                                    "all": {
      +                                      "default": false,
      +                                      "type": "boolean"
      +                                    },
      +                                    "attribute": {
      +                                      "maxLength": 100,
      +                                      "minLength": 1,
      +                                      "type": "string"
      +                                    },
      +                                    "output": {
      +                                      "enum": [
      +                                        "text",
      +                                        "html",
      +                                        "attribute"
      +                                      ],
      +                                      "type": "string"
      +                                    },
      +                                    "selector": {
      +                                      "maxLength": 500,
      +                                      "type": "string"
      +                                    }
      +                                  },
      +                                  "required": [
      +                                    "selector"
      +                                  ],
      +                                  "type": "object"
      +                                }
      +                              ]
      +                            },
      +                            "propertyNames": {
      +                              "type": "string"
      +                            },
      +                            "type": "object"
      +                          },
      +                          "output": {
      +                            "enum": [
      +                              "text",
      +                              "html",
      +                              "attribute"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          "selector": {
      +                            "maxLength": 500,
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "selector"
      +                        ],
      +                        "type": "object"
      +                      }
      +                    ]
      +                  },
      +                  "propertyNames": {
      +                    "type": "string"
      +                  },
      +                  "type": "object"
      +                },
      +                "output": {
      +                  "enum": [
      +                    "text",
      +                    "html",
      +                    "attribute"
      +                  ],
      +                  "type": "string"
      +                },
      +                "selector": {
      +                  "maxLength": 500,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "selector"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "description": "Used instead of `output`: turns each match into an object of named values, each read inside that match; the selector `:scope` reads the match itself. Same shape as `elements`; nests up to 3 levels",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "output": {
      +        "description": "What to return for a match: `text` (default), `html` (the outer HTML) or `attribute`",
      +        "enum": [
      +          "text",
      +          "html",
      +          "attribute"
      +        ],
      +        "type": "string"
      +      },
      +      "selector": {
      +        "description": "CSS selector, up to 500 characters",
      +        "maxLength": 500,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "selector"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / extract / properties / elements / description
      Previous value: -"Named values to read from the page by CSS selector, returned in the top-level `elements` field under the same names. Each value is either a selector string (the text of the first match) or an object with `selector`, `output`, `attribute` and `all`. `fields` (instead of `output`) turns each match into an object of named values read inside that match only, so a list of product cards can return a title, price and url per card. A name with no match is null, or [] with `all: true`. Read after cleanup; `<script>` and `<style>` tags are not part of it. An invalid selector is a 400. No extra credits, also when the page comes from cache. Limits and selector rules: https://crawlbrulee.com/docs/scrape/elements."New value: +"Named values to read from the page by CSS selector, returned in the top-level `elements` field under the same names. Each value is either a selector string (the text of the first match) or an object with `selector`, `output`, `attribute` and `all`. `fields` (instead of `output`) turns each match into an object of named values read inside that match (the selector `:scope` reads the match itself, for example the matched element's own href), so a list of products can return a title, price and url per product. A name with no match is null, or [] with `all: true`. Read after cleanup; `<script>` and `<style>` tags are not part of it. An invalid selector is a 400. No extra credits, also when the page comes from cache. Limits and selector rules: https://crawlbrulee.com/docs/scrape/targeted-extraction."
    • addedInput schema / properties / headers
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "Your own HTTP headers to send to the site with the request, for example `Authorization`, an api key, or a fixed `User-Agent` that the site has on an allowlist. Sent only to the origin of `url` (same scheme, host and port), or to its https version when `url` is http, and not on a redirect to another origin. Up to 10 headers; headers and cookies together up to 16384 bytes. Values are printable ASCII, with no space or tab at either end. Headers a browser doesn't let a web page set can't be set here either (a 400 names the header). Use `cookies` for cookies and `location.locale` for the language. Never put secrets in the `User-Agent`. Your own `User-Agent` can lower the success rate, and the response carries the `custom_user_agent` warning. A `Referer` must be the full http or https url of a public page, with no username or password; it is sent the way a browser sends it after a click on that page. A request with headers or cookies never reads from or writes to the cache. On a plain http url they travel unencrypted. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / location / properties / locale / description
      Previous value: -"BCP-47 locale (2-35 chars, e.g. 'en-US', 'de-DE', 'pt-BR') driving Accept-Language and navigator.language"New value: +"BCP-47 locale (2-35 chars, e.g. 'en-US', 'de-DE', 'pt-BR'): the language to ask the site for"
  3. Changed1 schema field changedv1.3.3
    • changedInput schema / properties / cache / properties / max_age / anyOf
      Previous value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +    "type": "string"
      +  }
      +]
  4. Changed4 schema fields changedv1.1.1
    • changedInput schema / properties / extract / properties / cleaned_html / description
      Previous value: -"Extract cleaned HTML (main content only)"New value: +"Extract cleaned HTML: the page body with scripts, styles, ads and cookie banners removed"
    • addedInput schema / properties / extract / properties / elements
      Added value: +{
      +  "additionalProperties": {
      +    "anyOf": [
      +      {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "all": {
      +            "default": false,
      +            "description": "Return every match as a list instead of the first. Defaults to false",
      +            "type": "boolean"
      +          },
      +          "attribute": {
      +            "description": "The attribute to read when `output` is `attribute`. `href` and `src` come back as full urls",
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "fields": {
      +            "additionalProperties": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 500,
      +                  "type": "string"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "all": {
      +                      "default": false,
      +                      "type": "boolean"
      +                    },
      +                    "attribute": {
      +                      "maxLength": 100,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "fields": {
      +                      "additionalProperties": {
      +                        "anyOf": [
      +                          {
      +                            "maxLength": 500,
      +                            "type": "string"
      +                          },
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "all": {
      +                                "default": false,
      +                                "type": "boolean"
      +                              },
      +                              "attribute": {
      +                                "maxLength": 100,
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "fields": {
      +                                "additionalProperties": {
      +                                  "anyOf": [
      +                                    {
      +                                      "maxLength": 500,
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "additionalProperties": false,
      +                                      "properties": {
      +                                        "all": {
      +                                          "default": false,
      +                                          "type": "boolean"
      +                                        },
      +                                        "attribute": {
      +                                          "maxLength": 100,
      +                                          "minLength": 1,
      +                                          "type": "string"
      +                                        },
      +                                        "output": {
      +                                          "enum": [
      +                                            "text",
      +                                            "html",
      +                                            "attribute"
      +                                          ],
      +                                          "type": "string"
      +                                        },
      +                                        "selector": {
      +                                          "maxLength": 500,
      +                                          "type": "string"
      +                                        }
      +                                      },
      +                                      "required": [
      +                                        "selector"
      +                                      ],
      +                                      "type": "object"
      +                                    }
      +                                  ]
      +                                },
      +                                "propertyNames": {
      +                                  "type": "string"
      +                                },
      +                                "type": "object"
      +                              },
      +                              "output": {
      +                                "enum": [
      +                                  "text",
      +                                  "html",
      +                                  "attribute"
      +                                ],
      +                                "type": "string"
      +                              },
      +                              "selector": {
      +                                "maxLength": 500,
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "selector"
      +                            ],
      +                            "type": "object"
      +                          }
      +                        ]
      +                      },
      +                      "propertyNames": {
      +                        "type": "string"
      +                      },
      +                      "type": "object"
      +                    },
      +                    "output": {
      +                      "enum": [
      +                        "text",
      +                        "html",
      +                        "attribute"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "selector": {
      +                      "maxLength": 500,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "selector"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "description": "Used instead of `output`: turns each match into an object of named values, each read inside that match only. Same shape as `elements`; nests up to 3 levels",
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "output": {
      +            "description": "What to return for a match: `text` (default), `html` (the outer HTML) or `attribute`",
      +            "enum": [
      +              "text",
      +              "html",
      +              "attribute"
      +            ],
      +            "type": "string"
      +          },
      +          "selector": {
      +            "description": "CSS selector, up to 500 characters",
      +            "maxLength": 500,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "selector"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "description": "Named values to read from the page by CSS selector, returned in the top-level `elements` field under the same names. Each value is either a selector string (the text of the first match) or an object with `selector`, `output`, `attribute` and `all`. `fields` (instead of `output`) turns each match into an object of named values read inside that match only, so a list of product cards can return a title, price and url per card. A name with no match is null, or [] with `all: true`. Read after cleanup; `<script>` and `<style>` tags are not part of it. An invalid selector is a 400. No extra credits, also when the page comes from cache. Limits and selector rules: https://crawlbrulee.com/docs/scrape/elements.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / extract / properties / metadata / description
      Previous value: -"Extract page metadata (title, description, OG tags, etc.). Read from the page head, which is capped at 2,000,000 characters — a larger head is truncated and the response carries a `metadata_truncated` warning."New value: +"Extract page metadata (title, description, OG tags, etc.) from the page head"
    • addedInput schema / properties / zero_data_retention
      Added value: +{
      +  "description": "Keeps the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. Adds 1 credit. Must be enabled for your organization. See https://crawlbrulee.com/docs/zero-data-retention.",
      +  "type": "boolean"
      +}
  5. First observedv1.0.3

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly delivers: it discloses the immediate job_id return, that the webhook is a single signed `scrape.complete` POST requiring HTTPS, that `webhook.metadata` is echoed under `data.metadata`, that zero_data_retention costs 1 credit, must be org-enabled, and triggers a `zero_data_retention_not_enabled` error without billing, plus 24-hour deletion of stored data. It also warns that header/cookie values persist in AI host history and that such requests bypass the cache entirely — unusually candid for a mutation-style tool. The only soft spot is polling/retry behavior and job failure states, which are left to `scrape_status`.

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-loading is excellent — purpose, when-to-use, alternative, and the poll/fetch chain all land in the first two sentences. However, the remainder is a single dense run-on block covering webhook, zero-data-retention, and headers/cookies, and the header/cookie security boilerplate is repeated nearly verbatim in the schema, so a few sentences are redundant rather than load-bearing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter tool with nested objects, this is complete: the async contract, sibling routing, cost and enablement preconditions, webhook signing and payload echo path, cache-bypass rules, and secret-handling warnings are all stated, and an output schema exists so return-value shape need not be re-explained.

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, but the description adds cross-tool meaning the schema cannot: `extract.elements` behaves "like `scrape`" (named values by CSS selector, returned in top-level `elements`, no extra credits) and `extract.pdf` / `extract.screenshot.color_scheme` "like `scrape`", establishing consistency an agent can rely on. It also explains that `zero_data_retention` adds a credit and is gated on organization enablement — cost and precondition semantics not fully captured by the boolean schema.

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?

Opens with a precise verb+resource+mode: "Submit a scrape job to run ASYNCHRONOUSLY and return a `job_id` immediately, instead of holding the connection open." It explicitly contrasts that behavior with the synchronous `scrape` sibling, so an agent can distinguish the two tools without inspecting either 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?

States the selecting condition directly: "Use this for long-running scrapes (heavy JS rendering, full-page screenshots of long pages) — for a quick one-shot fetch prefer the synchronous `scrape` tool." It then closes the loop on the async workflow by naming `scrape_status` for polling and `scrape_result` for retrieval.

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