Skip to main content
Glama

Zyte MCP Server

fetch_page

Open a URL in a remote browser using Zyte API and return the rendered page. GET navigation only. Returns Markdown by default; 'output' selects Markdown, the rendered HTML and/or a screenshot. Supports browser actions (click, type, scroll, wait, evaluate, ...), a JavaScript on/off toggle, viewport, referer, sessions, cookies, and geolocation. Slower and costlier than fetch_http — prefer fetch_http for static pages and API endpoints, and extract_from_browser for structured data (products, articles, jobs). Returns a JSON metadata block (final URL, target HTTP status, optional headers/cookies/action results) followed by the requested outputs in this order: Markdown, HTML, screenshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute http(s) URL to open (max 8192 chars). The host must be a domain name, not an IP address.
tagsNoArbitrary key/value pairs (string values or null) attached to the request for filtering in the Zyte Stats API.
ipTypeNoType of IP address to send the request from. Default: Zyte API picks the type that avoids bans for the target site.
outputNoWhat to return: 'markdown' (default; the main content as Markdown, without navigation, headers, footers and sidebars), 'fullPageMarkdown' (the whole page as Markdown), 'html' (the DOM after rendering and actions) and/or 'screenshot'. 'markdown' and 'fullPageMarkdown' can't be combined.
actionsNoBrowser actions executed in order after the page loads and before the output is captured: click, type, scrollBottom, waitForSelector, evaluate, etc. Per-action results are returned in the metadata block. Each action takes the parameters documented in the Zyte API actions reference (https://docs.zyte.com/zyte-api/usage/reference.html), e.g. selector {type: css|xpath, value}, timeout, source, url, keyword. Parameters are validated against the Zyte API contract.
refererNoReferer header for the navigation — the only request header browser requests support.
viewportNoBrowser viewport size; affects rendering and non-fullPage screenshots. Defaults to 1920x1080.
sessionIdNoClient-managed session ID — a version 4 UUID you generate. Requests with the same ID reuse the same session (IP, cookies). Sessions expire 15 minutes after creation, after 2 idle minutes, or after 3 bans.
javascriptNoForce JavaScript execution on (true) or off (false). Default: Zyte API chooses whichever avoids bans for the target site.
geolocationNoISO 3166-1 alpha-2 country code to route the request from (e.g. 'US', 'DE'). Default: Zyte API picks a geolocation that avoids bans and locale surprises for the target site.
includeIframesNoInclude iframe content in the returned HTML. Default false. Iframes appear in screenshots regardless.
organizationIdYesRequired. The Zyte organization to attribute this call to (max 100 characters, printable ASCII without spaces). If you do not already have an id, call the user_info tool: it lists the organizations your credential belongs to. IMPORTANT: if it lists more than one, ask the user which to use and wait for their answer — this call is billed to whichever organization you name here, so it is the user's choice to make, not yours. Never guess an id, and never fall back to a default. Once the user has chosen, reuse that id across the session unless they ask for a different organization.
requestCookiesNoCookies to send with the request (max 100). The responseCookies output of a previous call can be passed here verbatim.
sessionContextNoServer-managed session context: up to 10 name/value pairs. Zyte API reuses or creates a session per distinct context. Sessions expire after 4 hours or 3 bans.
enableZeroTraceNoKeep the URL and other potentially sensitive request data out of Zyte API's request logs, metrics and stats records for this request. Default false. Use it for sensitive targets; it also leaves Zyte support less to go on when investigating the request.
responseCookiesNoReturn the cookies set during the request in the metadata block. Prefer this over Set-Cookie response headers — it reflects the final cookie state.
cookieManagementNoHow cookies are handled: 'auto' (default) uses requestCookies if given, otherwise Zyte API's automatic cookies; 'discard' uses requestCookies if given, otherwise no cookies.
screenshotOptionsNoScreenshot tuning; only valid when output includes 'screenshot'.
sessionContextActionsNoBrowser actions run once to initialize a server-managed session for the given sessionContext (e.g. login steps). Each action takes the parameters documented in the Zyte API actions reference (https://docs.zyte.com/zyte-api/usage/reference.html), e.g. selector {type: css|xpath, value}, timeout, source, url, keyword. Parameters are validated against the Zyte API contract.
includeResponseHeadersNoInclude the target response's HTTP headers in the metadata block.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/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 does disclose non-obvious traits: relative cost/latency versus fetch_http, the GET-only constraint, and the exact return structure (JSON metadata block followed by outputs in Markdown, HTML, screenshot order). It omits auth/permission requirements and rate limits, but the required-param schema covers billing attribution.

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?

Four tightly packed sentences, purpose front-loaded, then constraint, then alternatives, then return shape. No filler; each sentence carries distinct decision-relevant information.

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 a 20-parameter tool with nested objects and no output schema, the description supplies the missing return-value contract (metadata block plus ordered Markdown/HTML/screenshot outputs) and the cost-aware routing context, so an agent has everything needed to call it correctly.

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 coverage is 100%, so the schema already documents all 20 parameters and the baseline is 3. The description enumerates the capability areas (actions, javascript toggle, viewport, referer, sessions, cookies, geolocation) and names the 'output' selector, but adds no syntax or semantics beyond what the schema fields already provide.

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 ('Open a URL in a remote browser using Zyte API and return the rendered page') and adds a scope constraint ('GET navigation only'). It explicitly distinguishes itself from fetch_http and extract_from_browser, so an agent can route without opening any 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?

Explicit when-to-use and when-not-to-use guidance: 'prefer fetch_http for static pages and API endpoints, and extract_from_browser for structured data (products, articles, jobs)', with the reason (slower and costlier) stated. This is exactly the alternative-routing an agent needs.

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