Skip to main content
Glama

Rafid Intelligence Network

zyte_web_extract

Read-onlyIdempotent

Zyte-API-compatible web scraping and structured data extraction supporting automatic product, article, job posting, SERP, and pageContent schemas, custom CSS selectors, raw HTML/headers, and optional Zyte API browser rendering/screenshots. When: Use when an agent needs structured e-commerce product, news article, job posting, SERP, or custom CSS-selector extraction from a webpage, with optional Zyte API headless browser rendering and anti-bot handling when ZYTE_API_KEY is configured. Selection: supporting; prefer for Use when an agent needs structured e-commerce product, news article, job posting, SERP, or custom CSS-selector extraction from a webpage, with optional Zyte API headless browser rendering and anti-bot handling when ZYTE_API_KEY is configured.. Input is a strict JSON object; see the schema. Price: $0.10 USD per call. A free preview is available through preview_capability before payment. Full execution is paid per call via x402; an unpaid MCP call returns payment instructions.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
fieldsNo
maxLinksNo
selectorsNo
screenshotNo
browserHtmlNo
extractTypeNo
geolocationNo
includeLinksNo
outputSchemaNo
includeMarkdownNo
httpResponseBodyNo
httpResponseHeadersNo
customHttpRequestHeadersNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Well beyond the annotations, the description discloses the commercial mechanics: $0.10 USD per call, a free preview via `preview_capability`, x402 paid execution, and that an unpaid MCP call returns payment instructions rather than data. It also notes anti-bot handling only when ZYTE_API_KEY is configured. Worth noting the annotations say openWorldHint=false while the tool fetches arbitrary URLs, but that inconsistency originates in the annotations rather than the description.

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

Conciseness3/5

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

The first sentence is dense but front-loaded and informative, and the pricing sentence is efficient. However, the 'Selection:' clause is a near-verbatim duplicate of the 'When:' clause plus a dangling 'supporting; prefer for' fragment, which wastes a substantial share of the text and signals unresolved templating.

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 14-parameter tool, an output schema exists so return values need no explanation, and the payment/auth lifecycle is covered thoroughly. The remaining gap is input-side: with 0% schema coverage, half the parameters are semantically opaque, and the duplicated selection text leaves routing ambiguity intact.

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 0% across 14 parameters, so the description must carry the load and only partly does: it names the extractType schema family, custom CSS selectors, raw HTML/headers, and screenshots. Seven parameters (fields, maxLinks, geolocation, includeLinks, outputSchema, includeMarkdown, customHttpRequestHeaders) are never mentioned, and no format or interaction details are added.

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?

The opening clause names a concrete verb pair and resource: web scraping plus structured data extraction, with the supported extraction schemas (product, article, jobPosting, serp, pageContent) and CSS selectors spelled out. An agent can tell this is a paid, Zyte-API-compatible extraction endpoint. It does not, however, distinguish itself from the `web_extract` sibling that appears in the same catalog.

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 'When:' clause gives real trigger conditions (structured e-commerce/news/job/SERP extraction, or CSS-selector extraction) and flags the ZYTE_API_KEY prerequisite for rendering and anti-bot handling. The 'Selection:' field is malformed — it opens with 'supporting; prefer for' and then verbatim repeats the entire 'When:' sentence, adding zero routing information. No explicit when-not or comparison against the `web_extract` sibling is given.

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.