Skip to main content
Glama
Bright Data MCP

Bright Data MCP

Official
by brightdata

web_fetch

Read-only

Fetch a public web page and return its content as JSON, choosing markdown, plain text, raw HTML, or schema.org data for extraction.

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

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. Addedv4.10.0

TDQS

A4.2/5.0
Behavior5/5

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

The description goes well past the readOnly/openWorld annotations: no JavaScript rendering, a 45-second timeout, a 40,000-character truncation cap, and the fallback that markdown is returned with a note when the requested format is absent. It also explains the resume path via snapshot_id plus start from the next field, which is the single most operationally important detail. This is the exact behavioral context annotations cannot supply.

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?

The return shape is front-loaded in one line, then the format options are a tight bulleted list, then the failure and continuation modes follow in short declarative sentences. Every sentence carries a distinct fact; nothing is restated from the schema or annotations.

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, so the description carries return-value burden itself and discharges it fully by naming the JSON keys (url, format, content, title, note, next). Combined with disclosed limits, timeout, and the resume procedure, an agent has everything needed to call it and to react to a truncated result.

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 description coverage is only 50% (url and format are undocumented in the schema), so the description must compensate, and it largely does: all four format enum values are given meaning, and snapshot_id/start are tied to the next field in the result. Only url is left with no added semantics, and it needs none.

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?

"Fetch one web page" is a specific verb plus resource with the singular scope made explicit, and the return-shape sentence confirms what the agent gets back. It stops short of naming a sibling, so the boundary with scraping_browser_navigate or search_engine is left implicit. Still, an agent can tell this is a single-page raw fetch rather than a browser session or a search.

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?

Guidance is strong at the parameter level (use html for CSS selectors or markup-hidden data, ld_json for schema.org data) and the pagination condition is spelled out exactly. But there is no when-to-use-this-tool-vs-alternatives guidance, no statement of when to prefer the browser tools instead. Usage is implied by the format choices rather than framed as a selection rule.

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