Skip to main content
Glama

navigate

Fetch and parse web pages with optional JavaScript execution, auto-extract embedded JSON, and solve browser challenges, returning structured BlockMap data for LLM agents.

Instructions

Fetch a URL with Chrome-fingerprinted HTTP using the active profile. Parses HTML, seeds the JS DOM, returns BlockMap inline. With exec_scripts: true, extracts inline AND external tags from the parsed HTML, fetches externals in parallel (8s per-fetch timeout), eval's them in document order in QuickJS (with shims for setTimeout/fetch/etc.), then settles the event loop and fires DOMContentLoaded + load. <script async> is honored: async scripts execute after the sync queue. When --policy=blocklist is set, tracker URLs are blocked at script-fetch time (see scripts.policy_blocked in the result). Returns a scripts summary with inline_count, external_count, async_count, policy_blocked, executed, errors.

Auto-extract: when the page embeds JSON-bearing tags (density.json_scripts > 0 — covers application/json, application/ld+json, text/x-magento-init, text/x-shopify-app, etc.), navigate auto-runs extract() and returns the result as the extract field. Saves a round trip on the common case where the data the JS would have rendered is already sitting in the HTML — JSON-LD article schemas on news sites, NEXT_DATA page state on Next.js apps, json_in_script product blobs on Magento/Shopify, GitHub RSC payloads, etc. Capped at 16 KB inline; over that limit extract returns a stub with strategy/confidence/size_bytes/hint and the agent should call extract() explicitly to retrieve the full payload. Pages with no embedded JSON get extract:null and pay zero extra cost.

Tool advice: navigate also returns tool_likelihoods plus tool_recommendations, derived from concrete page signals (structure/headings, selector hints, density, embedded data, network captures, challenge state, and script pathology) so agents can pick the next tool without guessing.

Auto-solve: Reddit's JS proof-of-work challenge (provider: reddit_js_challenge) is transparently solved — the challenge is detected, the GET solution URL is computed (solution = hex_value + hex_value), and the real page is returned in one navigate call. challenge:null on the result means the real page was served. Subsequent navigations in the same session carry the clearance cookie and skip the challenge entirely.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute URL to fetch
exec_scriptsNoRun page <script> tags (inline + external src) after parse, settle the event loop, and fire DOMContentLoaded + load. Default false.
include_asciiNoInclude human-readable ASCII blockmap grid (redundant with JSON fields). Default false.
Behavior5/5

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

With no annotations, the description fully discloses behavior: script execution details (timeouts, async, policy blocking), auto-extract triggers and limits, auto-solve for Reddit challenges. No contradictions, and provides comprehensive insight into operations.

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?

The description is lengthy but well-organized into clear paragraphs (main function, auto-extract, tool advice, auto-solve). It front-loads the essential purpose. While not perfectly concise, the complexity justifies the length.

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?

Despite no output schema, the description thoroughly explains return values: BlockMap inline, scripts summary (inline_count, external_count, etc.), extract field with cap details, and challenge state. Covers all important aspects for a navigation tool.

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?

All 3 parameters are documented in the input schema (100% coverage). The description adds significant context beyond the schema, especially for exec_scripts (inline/external fetching, async handling, policy_blocked). This extra detail warrants a score above the baseline.

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?

The description clearly states the tool's primary function: fetch a URL with Chrome fingerprinting, parse HTML, seed JS DOM, and return a BlockMap. It also details auto-extract and auto-solve features, distinguishing it clearly from sibling tools like body, text, or extract.

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?

The description implies use for loading pages and extracting data, but does not explicitly state when to use vs. alternatives. However, it mentions tool_recommendations and tool_likelihoods, which aid downstream tool selection. Lacks explicit when-not or alternative comparison.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/protostatis/unbrowser'

If you have feedback or need assistance with the MCP directory API, please join our Discord server