Skip to main content
Glama

A stealth headless browser engine in Rust. Passes Cloudflare without Chromium.

Real V8 and a DOM, a Chrome TLS/HTTP fingerprint (JA3/JA4) and JS-level stealth, driven over the Chrome DevTools Protocol: Puppeteer and Playwright connect as usual. Also an MCP server for AI agents.

CI Release PyPI npm Docker Rust License: MIT OR Apache-2.0 Status: alpha

scrapingcourse.com's Cloudflare test page, one run from a home connection; medians across sites are in the tables below.

The nøkk is a shapeshifting water-spirit of Norse myth that takes on a familiar shape to pass unnoticed. This one takes the shape of Chrome.


Install

pip install nokk                    # Python: the prebuilt binary is in the wheel
npm install @koloss777/nokk         # Node: run it with `npx nokk`
docker run --rm -p 9222:9222 ghcr.io/koloss777/nokk:latest

No browser to download. Prebuilt for Linux (x86_64, ARM64), macOS on Apple Silicon and Windows x64; anything else builds from source.

Related MCP server: Airbrowser

Quick start

# Load a page behind Cloudflare, clear the challenge, print what is behind it
nokk --load https://www.scrapingcourse.com/cloudflare-challenge --solve-challenge 30 \
     --eval "document.querySelector('h2').textContent.trim()"

# Or run the CDP server and drive it from any client
nokk --port 9222 --auto-solve   # ws://127.0.0.1:9222/devtools/browser/nokk
import nokk
from playwright.sync_api import sync_playwright

with nokk.launch(auto_solve=True) as server, sync_playwright() as pw:
    page = pw.chromium.connect_over_cdp(server.ws_endpoint).new_page()
    page.goto("https://www.scrapingcourse.com/cloudflare-challenge")
    print(page.title())

For AI agents, uvx nokk-mcp runs it as an MCP server. Puppeteer, Node, sessions and the Cloudflare options are below.

Why nokk

Puppeteer and Playwright drive a real Chromium, and anti-bot systems spot it through navigator.webdriver, CDP artifacts and a headless TLS handshake. nokk is built to look like Chrome from the TLS handshake to the JavaScript environment, and has no rendering engine at all.

nokk 0.1.35

Chrome 151 (Puppeteer / Playwright)

Start until CDP answers

~0.05 s

~0.2 s

Idle memory (PSS)

~60 MB, 1 process

~330 MB, 12–14 processes

Cloudflare solve, median wall time

12.4 s

12.4 s

Slowest solve

15.6 s

27.8 s

CPU per solve

6.4 s

9.5 s

Peak memory per solve

~570 MB

~720 MB

Solved

24/24

24/24

TLS fingerprint (JA3/JA4)

matches Chrome 151

Chrome

Screenshots, PDF, layout

no

yes

CDP coverage

the common path

full

Measured on nokk 0.1.35, an 8-core Linux box, October 2026. Cloudflare row: 8 production sites × 3 runs through one proxy, nokk with --until-clearance, Chrome driven by a checkbox-clicking harness; a solve counts only if the site then opens with the cookie.

Not for you if you need screenshots, PDFs, layout or paint, or the whole Playwright/CDP surface: nokk has no rendering engine by design, and its CDP coverage is the path Puppeteer and Playwright use for navigation and scripting.

Measured on public pages

Three runs per page from the CLI with --solve-challenge 30 and no proxy, on an 8-core Linux box (October 2026). The time is the whole command, from process start to the printed result. Run them yourself with tools/cf-check.sh.

Page

Challenge

Solved

Median

Slowest

chess.com/login

invisible Turnstile widget on a live site

3/3

7 s

9 s

scrapingcourse.com/cloudflare-challenge

managed interstitial

3/3

5 s

7 s

peet.ws/turnstile-test/managed.html

managed widget

3/3

7 s

8 s

peet.ws/turnstile-test/non-interactive.html

non-interactive widget

3/3

3 s

4 s

nopecha.com/demo/cloudflare

interactive interstitial with a checkbox

3/3

10 s

11 s

On production sites behind Cloudflare the result is in the comparison above: 8 sites, 24 of 24 solved. Those sites are not named here.

Usage

Command line

nokk --fetch https://tls.browserleaks.com/json                   # Chrome TLS + HTTP/2 fingerprint
nokk --load https://example.com --eval 'document.title'          # run the page, query the DOM
nokk --load https://quotes.toscrape.com --dump-requests          # every request the page makes
nokk --load https://target --proxy socks5://host:1080            # through a proxy
nokk --load https://target --solve-challenge 30 --json           # one JSON result: status, challenge, cookies
nokk --port 9222 --rotate-fingerprint --geoip-timezone           # CDP server, a machine per context

Ad, analytics and tracker requests are dropped by default; --allow-trackers loads them. Anti-bot vendors are never blocked, because they must run to hand out a token.

Puppeteer

import puppeteer from 'puppeteer';

const browser = await puppeteer.connect({
  browserWSEndpoint: 'ws://127.0.0.1:9222/devtools/browser/nokk',   // nokk --port 9222
});
const page = await browser.newPage();
await page.goto('https://example.com');
console.log(await page.title());

Node and Python

Both packages carry the prebuilt binary and start the CDP server for you.

const server = await require("@koloss777/nokk").launch({ autoSolve: true });
// server.wsEndpoint -> puppeteer.connect / chromium.connectOverCDP
with nokk.launch(auto_solve=True) as server:   # or: await nokk.launch_async()
    ...  # server.ws_endpoint -> connect_over_cdp

crawl4ai, Scrapy, Playwright MCP and other CDP tools

Anything that drives Chrome over CDP can drive nokk instead. crawl4ai, stopped by Cloudflare with its own Chromium, gets the page behind it through nokk: BrowserConfig(browser_mode="custom", cdp_url=server.ws_endpoint). Scrapy (scrapy-playwright's PLAYWRIGHT_CDP_URL) and Playwright MCP (--cdp-endpoint) work the same way. See docs/integrations.md.

For AI agents (MCP)

nokk runs as a Model Context Protocol server, so an agent such as Claude Desktop or Claude Code browses through the fingerprinted engine. With uv nothing needs installing first:

{ "mcpServers": { "nokk": { "command": "uvx", "args": ["nokk-mcp", "--rotate-fingerprint"] } } }

Without uv: pip install "nokk[mcp]", then "command": "python", "args": ["-m", "nokk.mcp"]. Tools: open, snapshot, read_text, read_html, click, fill, evaluate, links, solve_challenge, challenge_state, reset.

Cloudflare challenges

nokk clears Turnstile by itself: the invisible widget, the managed interstitial and the interactive Verify you are human checkbox. Nothing is configured per site. Where a widget needs a press, the engine presses it like a person would.

  • --solve-challenge N sets the time budget, and --fail-on-challenge exits 3 if a gate is still up.

  • --until-clearance stops at a fresh cf_clearance and skips the heavy page behind the gate.

  • --auto-solve does the same for every page.goto() over CDP; Nokk.solveChallenge does it on demand.

  • A cf_clearance from a real browser can be imported, because nokk's JA4 matches Chrome 151.

Details, the CDP methods and events: docs/cloudflare.md.

Persistent sessions

--session-store ./sessions saves each named session's cookie jar, cf_clearance included, to disk and reloads it in a new process. Warm a session once and reuse it instead of solving the challenge on every run. See docs/sessions.md.

Rotating fingerprints

--rotate-fingerprint gives every browser context its own coherent machine: TLS emulation, User-Agent, client hints, platform, screen and WebGL all agree. --geoip-timezone matches the timezone and languages to the proxy's exit IP. See docs/fingerprints.md.

Builds

Build

What it adds

Where

light (default)

everything above; canvas and WebGL pixels are synthesised

pip, npm, ghcr.io/koloss777/nokk:latest, nokk-*.tar.gz

render

real canvas 2D and WebGL rasterisation, about 100 MB more at peak

:render image, nokk-render-*.tar.gz, --features render,webgl

Prebuilt for Linux x86_64 and ARM64, macOS on Apple Silicon and Windows x64; the render build for Linux x86_64. Docker variants, the archives and building from source are in docs/install.md.

How it works

A Cargo workspace of small crates: a V8 isolate pool, a Chrome-fingerprinted HTTP client on BoringSSL, an html5ever DOM, the stealth layer and a CDP server. Concurrency is one isolate per thread with many contexts each, all IO runs on tokio off the isolate threads, and the JS fingerprint and the TLS fingerprint always agree. More in docs/architecture.md.

Project status

Alpha. The engine is real and end-to-end: V8 executes page JS against a parsed DOM, the fingerprinted transport clears Cloudflare's TLS/HTTP checks, the engine solves Turnstile on live sites — invisible, managed and interactive — and Puppeteer and Playwright connect over CDP to open a page, navigate, and evaluate.

What is not done yet, and where the sharp edges are:

  • JS-fingerprint hardening is ongoing. Much of the hardening is in place — native toString masking, internals hidden from Object.getOwnPropertyNames, navigator/screen as real prototype instances, an IP-coherent timezone, and per-context coherent fingerprint rotation, Web Workers, canvas/WebGL/WebGPU/audio with Chrome's pixels and samples, Trusted Types and CSP. nokk solves Cloudflare's challenges today, and the comparison against Chrome section by section is how the remaining tells get found; it is not yet a match for a dedicated fingerprinting suite like CreepJS. See the roadmap.

  • CDP coverage is the common path, not the whole protocol. Puppeteer and Playwright connect over CDP: navigation, evaluate, $ / $eval / $$eval, title(), url(), new pages and CDP sessions are tested; less-common domains are not implemented yet.

  • Per-context cookie isolation and per-session persistence work (each browser context gets its own jar; named sessions persist across runs); per-host / per-proxy / global connection limits are not yet enforced (Phase 7).

  • No rendering — screenshots, PDF, and layout/paint are out of scope by design.

See ROADMAP.md for the phased plan and the concrete hardening backlog.

Contributing

Issues and PRs are welcome — the hardening backlog in the roadmap is a good place to start. Before sending a change:

cargo fmt
cargo clippy --all-targets
cargo test

License

Licensed under either of MIT or Apache-2.0 at your option.

Unless you explicitly state otherwise, any contribution you submit for inclusion in this work, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.


Available Tools

11 tools
challenge_stateA

Report whether the current page is behind a bot check. kind is "none" when the page itself is shown, else the kind of check ("cloudflare-interstitial", "turnstile-widget", "aws-waf" and others); solvable says whether solve_challenge can clear it.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the burden, and it delivers the key behavior: the return semantics of `kind` (enumerating cloudflare-interstitial, turnstile-widget, aws-waf, plus a "none" baseline) and `solvable` as a boolean feasibility signal. It does not explicitly state that the call is read-only/non-mutating or that it requires an already-loaded page, leaving a small gap.

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?

A single front-loaded sentence with a parenthetical enumeration of kinds — dense and zero-waste. The embedded quoting of `kind`/`solvable` slightly crowds the sentence and the enumeration of check kinds is longer than strictly needed for selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description is not obligated to explain return values, yet it does briefly and usefully. For a no-parameter, read-only status probe, the only missing piece is an explicit statement of when in a workflow to call it (e.g. before or instead of solve_challenge on a failed read).

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?

Zero parameters, so the baseline is 4 and there is no parameter ambiguity to resolve. The prose instead spends its words on output field semantics, which is beyond what an empty parameter schema needs to convey.

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 object ("Report whether the current page is behind a bot check") and immediately separates itself from the closest sibling by naming solve_challenge as the actor that clears it. An agent can distinguish this diagnostic tool from solve_challenge, open, or snapshot 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 Guidelines4/5

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

Usage context is clear: call it to learn if a bot check is present, and `solvable` tells you whether solve_challenge can clear it. It lacks an explicit trigger phrase (e.g. "call after navigation when a page looks blocked") and no when-not-to-use exclusion, so it stops short of full routing guidance.

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

clickA

Click an element: a ref from snapshot or the first match of a CSS selector. Returns true; fails when nothing matches or the ref is stale.

NameRequiredDescriptionDefault
targetYesA ref from the last `snapshot`, e.g. `e12`, or a CSS selector, e.g. `#price`, `form input[name=q]`.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4/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 well: it discloses the return value (`true`) and the exact failure conditions (no match, stale ref). It does not cover whether the click waits for the element, navigates, or triggers page loads, leaving a modest gap for a mutating browser action.

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?

Two short sentences, front-loaded with the verb and resource, then the return/failure behavior. No filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool with an output schema, the description covers target semantics and failure modes adequately. Minor omission: no mention of post-click side effects (navigation, wait) that an agent driving a browser would care about.

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% and the `target` description already documents both the ref format (`e12`) and CSS selector formats. The description restates the same two forms without adding syntax or precedence rules, so the baseline 3 is appropriate.

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 (click) and resource (an element), and defines the two acceptable target forms. It is clearly distinguishable from siblings like fill, snapshot, and evaluate 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 Guidelines3/5

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

Referencing 'a ref from the last `snapshot`' implies a workflow ordering, but the description never explicitly says when to click versus using fill or evaluate, nor does it state prerequisites or exclusions. Usage is implied rather than spelled out.

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

evaluateA

Run a JavaScript expression in the current page and return its value as JSON (a promise is awaited). For data the other tools do not read.

NameRequiredDescriptionDefault
expressionYesJavaScript expression, e.g. `document.title` or `[...document.querySelectorAll('h2')].map(e => e.textContent)`.

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose meaningful behavior — the expression runs against the current page and promise results are awaited before serialization. However, it never warns that arbitrary JS executes with page privileges and can mutate DOM or trigger side effects, nor does it mention failure/error behavior for throwing expressions.

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?

Two short sentences, no filler, with the core action front-loaded and the scoping rule appended where it is most useful. The parenthetical about promises is compact and load-bearing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one 100%-documented parameter and no output schema, the essentials are covered: what runs, where, and what comes back. The remaining gap is the absence of side-effect/permission caveats, which matter for an arbitrary-code-execution tool with no annotation safety signals.

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 100% and the schema already gives two concrete examples, so the parameter is well specified without the description's help. The description adds only the execution context ('current page') and return serialization, neither of which is about the expression argument itself.

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 names a specific verb and resource ('Run a JavaScript expression in the current page') and states the return contract ('value as JSON, promise awaited'). The closing clause 'For data the other tools do not read' distinguishes it from the read_* / snapshot / links siblings without requiring the agent to compare schemas.

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?

'For data the other tools do not read' establishes a clear selection rule — this is the fallback when the structured readers fall short. It stops short of naming the specific alternatives it supersedes or stating when not to use it (e.g. prefer read_text for plain text).

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

fillA

Type value into a form field: a ref from snapshot or the first match of a CSS selector (its input and change events fire, as when a person types). Returns true; fails when nothing matches or the ref is stale.

NameRequiredDescriptionDefault
valueYesText to put in the field.
targetYesA ref from the last `snapshot`, e.g. `e12`, or a CSS selector, e.g. `#price`, `form input[name=q]`.

Output Schema

NameRequiredDescription
resultYes

TDQS

A3.8/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 well: it discloses that input and change events fire as with human typing, that the return is `true`, and the two failure modes (no match, stale ref). Missing only details like whether the field is cleared first or what happens to existing content.

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?

Two compact sentences, front-loaded with the action and target forms before the return/failure note. The parenthetical is informative rather than filler; nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and annotations are absent, so the description's job is behavioral and it covers event firing, return value, and failure conditions. Only minor gaps remain (field-clearing behavior, visibility/disabled-field handling) for a two-parameter mutation 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?

Schema coverage is 100%, so a baseline of 3 applies, but the description adds real meaning beyond the schema: it specifies that a CSS selector resolves to the *first* match, and that consistency with the last snapshot is required for refs. That is useful semantics not present in the field descriptions.

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?

States a specific verb ('type') and resource ('form field'), with the accepted target forms enumerated. An agent can distinguish it cleanly from click, evaluate, or read_text without opening the schema, though it never explicitly names those siblings.

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?

Implies usage via 'a ref from snapshot or the first match of a CSS selector', which gives context for when the tool applies. It does not state when-not to use it or contrast it with a sibling that could also set a field's value (e.g. evaluate).

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

openA

Load a page in the browser and wait until it has loaded. Returns the final url and title. A Cloudflare challenge on the way is solved first (unless the server runs with --no-auto-solve); challenge then reports kind, solved and remaining ("none" once through). Call this before the other tools.

NameRequiredDescriptionDefault
urlYesAbsolute address to load, e.g. `https://example.com/`.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.2/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 carries it well: it discloses that the call blocks until load, that a Cloudflare challenge is auto-solved unless the server runs `--no-auto-solve`, and that `challenge` reports `kind`/`solved`/`remaining` with `"none"` on success. It does not say whether navigation happens in the existing tab, what happens on timeout/DNS failure, or whether the previous page is lost — relevant for a stateful mutation of the browser session.

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?

Three dense sentences: what it does, what it returns, the caveat, then the call-order rule. Front-loaded and free of filler, with the challenge behavior parenthetically scoped rather than bloating the main clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so restating `url`/`title` is redundant but harmless, and the challenge-field detail is genuinely useful context. It is nearly complete for a one-parameter navigation tool; the remaining gap is failure/timeout behavior and tab semantics, which an agent needs to decide whether to retry or reset.

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?

The single `url` parameter is fully described in the schema (100% coverage), including an example, so the description doesn't need to compensate. The description adds no constraint beyond the schema (e.g., whether relative URLs or non-http schemes are rejected), so baseline 3 applies.

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?

"Load a page in the browser and wait until it has loaded" names a concrete action and the resource, and it is clearly distinguished from the sibling tools (snapshot, click, evaluate), which all operate on an already-open page. Return values are stated up front (final `url` and `title`).

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?

"Call this before the other tools" gives an explicit ordering rule that selects this tool over all siblings. What's missing is the inverse: no guidance on when an agent might prefer `challenge_state`/`solve_challenge` directly (i.e., whether those are needed at all given the auto-solve).

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

read_htmlA

Return the HTML of the current page as it is now (after its scripts ran), or the outer HTML of the first element matching selector. null when no element matches.

NameRequiredDescriptionDefault
selectorNoCSS selector of one element; empty for the whole page.

Output Schema

NameRequiredDescription
resultYes

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does well: it discloses that the HTML reflects the post-scripting DOM (not raw source), that only the first matching element is returned, and that `null` signals no match. It omits any note on size/truncation or cross-frame behavior, keeping it short of a 5.

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?

Two compact clauses, front-loaded with the primary return value, and the selector/null edge case immediately after. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single optional-parameter read tool with an output schema, this covers what an agent needs: what is returned, the post-JS timing, first-match semantics, and the null case. Minor omissions around output size or frame context are tolerable given the output schema.

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 100%, so baseline is 3, but the description adds real meaning beyond the schema: it clarifies that only the FIRST matching element is returned and that a non-match yields null, which the schema does not state.

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?

Specific verb ('Return') and resource ('HTML of the current page') with two modes of operation spelled out: whole page or outerHTML of the first matching element. It does not name or contrast with the obvious sibling read_text or snapshot, so sibling differentiation is left to the agent.

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?

Usage is implied by the 'as it is now (after its scripts ran)' framing, which tells the agent this returns the post-JS DOM, but there is no explicit when-to-use-this-vs-read_text/snapshot/evaluate guidance and no exclusions or prerequisites.

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

read_textA

Return the visible text of the current page, or of the first element matching selector. null when no element matches.

NameRequiredDescriptionDefault
selectorNoCSS selector of one element; empty for the whole page.

Output Schema

NameRequiredDescription
resultYes

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the burden but does disclose two useful behaviors: it returns only visible (rendered) text, and it returns `null` when nothing matches. It says nothing about waiting for load, scrolling, truncation, or permission/auth context, which matters for a browser-automation read.

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?

Two short sentences, no filler, with the primary behavior front-loaded and the edge case (null on no match) trailing. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return shape needn't be spelled out, and the single parameter is fully documented in the schema. What remains thin is the relationship to sibling read tools (read_html, snapshot), which an agent must infer.

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 100%, so the baseline would be 3, but the description adds real meaning: only the FIRST element matching the selector is used. That resolves a genuine ambiguity in CSS-selector semantics that the schema does not state.

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?

States a specific verb ('Return') and resource ('visible text of the current page' or a selected element), which is precise enough to distinguish it from read_html and snapshot in practice. It never names those siblings explicitly, so the differentiation is left to inference.

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?

Usage is implied rather than stated: 'visible text' suggests use when rendered text is wanted instead of markup, and the empty-selector default is covered by the schema. There is no explicit when-to-use/when-not or pointer to read_html/snapshot/evaluate as alternatives.

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

resetA

Close the browser session: cookies and page state are dropped, and the next open starts a fresh one.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.2/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 well: it discloses that cookies and page state are permanently dropped and what the follow-up `open` will do. It does not say what happens if no session is active or whether the call is idempotent, which would round out the state-changing semantics.

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?

A single sentence, front-loaded with the action, then the effects, then the consequence for the next call. No filler and nothing repeated from structured fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool with an output schema and no annotations, the description covers the essential behavior and the session-lifecycle relationship to `open`. Minor gaps remain on error/no-session behavior, but the core is complete.

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?

The tool takes zero parameters and the schema is an empty object, so there is nothing for the description to compensate for. Baseline 4 applies; no parameter detail is needed or missing.

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 states a specific action ("Close the browser session") plus the concrete effects (cookies and page state dropped), which disambiguates the otherwise vague tool name `reset` from siblings like `open` and `snapshot`. An agent can tell exactly what this does 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 Guidelines3/5

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

Usage is implied rather than stated: the phrase "the next `open` starts a fresh one" tells the agent this belongs before a fresh `open`, but there is no explicit "use this when…" or "don't use this when…". No alternative sibling is named as a substitute for achieving a clean session.

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

snapshotA

Show the current page as a compact outline: headings and text in reading order, and every link, button and form field numbered ([e12]) with its name, address or value. Pass a ref to click or fill. Far smaller than read_html; take a new snapshot after the page changes. null when selector matches nothing.

NameRequiredDescriptionDefault
selectorNoCSS selector of one element; empty for the whole page.
max_charsNoCut the outline after this many characters.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations at all, the description carries the behavioral burden and does well: it discloses the output shape (numbered refs like `[e12]`), staleness semantics ('take a new snapshot after the page changes'), the truncation behavior implied by compactness, and the null-on-no-match result. It omits nothing safety-critical for a read operation, though it doesn't state how refs are numbered or that refs may be invalidated between snapshots.

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?

Three dense sentences, front-loaded with what the output looks like, followed by usage and edge-case behavior. No filler; each clause adds either format, usage or fallback 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?

An output schema exists, yet the description still explains the ref format agents must act on, plus the null result and re-snapshot cycle — exactly the operational detail an agent needs to chain this with `click`/`fill`.

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 100%, so the baseline is 3, but the description adds meaning beyond it: `selector` returning `null` when nothing matches, and the compact outline being cut rather than erroring. It also explains that the emitted refs (not just parameters) are the payload passed to `click`/`fill`.

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 ('Show the current page as a compact outline') and enumerates exactly what the outline contains: headings, reading-order text, and numbered links/buttons/form fields with names, addresses or values. It also distinguishes itself from the sibling 'read_html' by size and explains the `[e12]` ref format, so an agent can tell what it produces 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 usage context: pass refs to `click` or `fill`, and re-snapshot after the page changes, plus the return-null condition when `selector` matches nothing. It names `read_html` as the heavier alternative. It does not differentiate from `read_text`, `links`, or `evaluate`, so the alternative guidance is partial rather than exhaustive.

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

solve_challengeA

Solve the Cloudflare challenge on the current page: the "Just a moment..." page or a Turnstile widget, pressing its checkbox if it shows one. Only needed when open ran with auto-solve off or a widget appeared later. Returns status, solved, remaining, title and url.

NameRequiredDescriptionDefault
timeout_secondsNoHow long to wait for the challenge to clear, in seconds.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully says the tool presses a checkbox if one appears and lists return fields, but it does not describe failure behavior, timeout handling beyond the schema, or side effects of interacting with the page.

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?

Two sentences, front-loaded with the core action and followed by the usage condition and return fields. There is no redundant or wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the action, when to use it, the checkbox behavior, and the return fields. Since an output schema exists, listing return values is extra rather than required, but the definition is nearly complete for a one-parameter browser-automation tool.

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?

There is one parameter, `timeout_seconds`, and schema coverage is 100%, so the schema already fully documents its meaning. The description does not add parameter-specific detail, but the high schema coverage makes 3 the appropriate 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 states a specific verb and resource: solving a Cloudflare challenge on the current page, including the "Just a moment..." page and Turnstile widget. It distinguishes the action from the sibling `open` flow by saying this is only needed when auto-solve was off or a widget appeared later.

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?

It gives an explicit condition for use: only when `open` ran with auto-solve off or a widget appeared later. That implies the when-not case as well, since auto-solved pages do not need this tool, and it names the relevant sibling flow.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 8 tool updatesv0.1.47-alpha
    • Changedclick3 fields changed
      • removedInput schema / properties / selector
        Removed value: -{
        -  "title": "Selector",
        -  "type": "string"
        -}
      • addedInput schema / properties / target
        Added value: +{
        +  "description": "A ref from the last `snapshot`, e.g. `e12`, or a CSS selector, e.g. `#price`, `form input[name=q]`.",
        +  "title": "Target",
        +  "type": "string"
        +}
      • changedInput schema / required
        Previous value: -[
        -  "selector"
        -]New value: +[
        +  "target"
        +]
    • Changedevaluate1 field changed
      • addedInput schema / properties / expression / description
        Added value: +"JavaScript expression, e.g. `document.title` or `[...document.querySelectorAll('h2')].map(e => e.textContent)`."
    • Changedfill4 fields changed
      • removedInput schema / properties / selector
        Removed value: -{
        -  "title": "Selector",
        -  "type": "string"
        -}
      • addedInput schema / properties / target
        Added value: +{
        +  "description": "A ref from the last `snapshot`, e.g. `e12`, or a CSS selector, e.g. `#price`, `form input[name=q]`.",
        +  "title": "Target",
        +  "type": "string"
        +}
      • addedInput schema / properties / value / description
        Added value: +"Text to put in the field."
      • changedInput schema / required
        Previous value: -[
        -  "selector",
        -  "value"
        -]New value: +[
        +  "target",
        +  "value"
        +]
    • Changedopen1 field changed
      • addedInput schema / properties / url / description
        Added value: +"Absolute address to load, e.g. `https://example.com/`."
    • Changedread_html1 field changed
      • addedInput schema / properties / selector / description
        Added value: +"CSS selector of one element; empty for the whole page."
    • Changedread_text1 field changed
      • addedInput schema / properties / selector / description
        Added value: +"CSS selector of one element; empty for the whole page."
    • Addedsnapshot
    • Changedsolve_challenge1 field changed
      • addedInput schema / properties / timeout_seconds / description
        Added value: +"How long to wait for the challenge to clear, in seconds."
  2. 10 tool updatesv0.1.46
    • First observedchallenge_state
    • First observedclick
    • First observedevaluate
    • First observedfill
    • First observedlinks
    • First observedopen
    • First observedread_html
    • First observedread_text
    • First observedreset
    • First observedsolve_challenge

TDQS

A3.9/5.0

Scored across 11 tools

Disambiguation4/5

The reading tools (snapshot, read_text, read_html) overlap in that all return page content, but the descriptions clearly carve out distinct roles — numbered interactive outline vs visible text vs raw HTML — and explicitly recommend snapshot over read_html. challenge_state and solve_challenge are cleanly split into report vs act, and evaluate is explicitly framed as a fallback for 'data the other tools do not read'.

Naming Consistency3/5

All names are snake_case, which avoids casing chaos, but conventions are mixed: action verbs (open, click, fill, evaluate, reset, solve_challenge) sit alongside bare nouns (snapshot, links, challenge_state). Readable and semi-predictable (nouns for getters, verbs for actions), but not a uniform verb_noun pattern.

Tool Count5/5

Eleven tools is well within the sweet spot for a browser automation server, and each has a clear, non-redundant role in the open → snapshot → act → read lifecycle. Nothing feels padded or missing at the count level.

Completeness4/5

Core lifecycle (open, solve challenge, inspect, click/fill, reset) is fully covered, but common browser operations like back/forward navigation, key presses, select/hover, and downloads lack dedicated tools. The evaluate escape hatch lets agents work around most of these gaps, so they are minor rather than blocking.

Maintenance

ActivityActive
ResponsivenessLimited data

Related MCP Connectors

Related MCP Servers