Skip to main content
Glama
Bright Data MCP

Bright Data MCP

Official
by brightdata

scrape_as_markdown

Read-only

Fetches a single web page and returns its content as Markdown, plain text, HTML, or schema.org data. Use it to read page content for AI analysis without JavaScript rendering.

Instructions

Fetch one web page. Returns JSON: url, format, content, plus title and note when present. content is the page in one format, markdown by default. Pick another with the format param:

  • text: plain text, no links or headings

  • html: raw HTML, for CSS selectors or data hidden in the markup

  • ld_json: schema.org data (price, rating, author...) If the page has no data in that format, markdown is returned instead, with a note. No JavaScript rendering. Pages that take longer than 45 s time out. Pages over 40,000 characters are cut. To read the rest for free, call again with the snapshot_id and start values from the result's next field.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
startNoCharacter offset to read from, from next
formatNomarkdown
snapshot_idNoFrom next in a cut result

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.8.0
    • addedInput schema / properties / snapshot_id
      Added value: +{
      +  "description": "From next in a cut result",
      +  "type": "string"
      +}
    • addedInput schema / properties / start
      Added value: +{
      +  "default": 0,
      +  "description": "Character offset to read from, from next",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Changed1 schema field changedv4.2.0
    • addedInput schema / properties / format
      Added value: +{
      +  "default": "markdown",
      +  "enum": [
      +    "markdown",
      +    "text",
      +    "html",
      +    "ld_json"
      +  ],
      +  "type": "string"
      +}
  3. Addedv2.9.3

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare read-only/open-world/non-destructive; the description goes well beyond that by disclosing no JavaScript rendering, a 45-second timeout, a 40,000-character truncation limit, and the fallback rule that markdown is substituted with a note when the requested format has no data. It also explains the free continuation path via snapshot_id and start.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Return shape is stated first, then format options as a tight bulleted list, then limits and the continuation recipe. Every sentence carries operational information; nothing is padded or repeated from the schema verbatim.

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?

There is no output schema, yet the description enumerates the return keys (url, format, content, title, note) and the next field used for pagination. Combined with the disclosed limits and fallback behavior, an agent has everything needed to call and continue correctly.

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 50%, so the description must carry weight, and it does: it explains what each format enum value actually yields and how start plus snapshot_id work together with the result's next field to resume a truncated page. Only the url parameter is left implicit, which is self-evident from a URI-typed required field.

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 specific verb and resource ('Fetch one web page') with the singular scope front-loaded, which implicitly separates it from the batch sibling scrape_batch. An agent knows exactly what this returns (a single page converted to a chosen format) 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 Guidelines4/5

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

Gives explicit selection criteria among formats: html for CSS selectors or data hidden in markup, ld_json for schema.org fields, text for link-free plain text. It does not say when to prefer this tool over scrape_batch or the scraping_browser_* family, but the format guidance is concrete and actionable.

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