Skip to main content
Glama

explore

Bypass blocked web pages and extract readable text when fetches hit 403, Cloudflare, login/paywall, or JavaScript shells; captures a screenshot only when text extraction fails.

Instructions

USE THIS WHEN WebFetch/WebSearch/curl GOT BLOCKED — a 403, a Cloudflare/DataDome "Just a moment..." challenge, a login/paywall, or an empty "JavaScript is required" shell: don't report failure, use this — patchright clears most such walls cold. ONE-CALL 'look at this URL', TEXT-FIRST. Does a DNS pre-check → auto-start a session if needed (headless) → navigate → extract the text. It does NOT screenshot by default: read and navigate with the returned text/selectors, and a screenshot is captured only as a FALLBACK when the page yields no usable text (canvas/image/blank SPA). This is the 80% case of 'just show me what's on this page' — use it instead of separate start / navigate / read calls unless you need multi-step interaction. Pass screenshot='always' to force a screenshot, 'never' to suppress even the fallback; when one is captured it comes back as a viewable image, not base64 text. Without an explicit session it runs on an OFF-BUDGET transient ephemeral session (0.7.0) — it never competes with persistent sessions for a slot and is auto-deleted afterward, so it won't touch your 'default' session.

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

Input Schema

NameRequiredDescriptionDefault
urlYesTarget URL — required.
leaseNoOptional lease token to present if the target session is leased (0.7.0). Threaded per-call; never read from the server's env.
intentNoOptional natural-language description (reserved for future).
sessionNoOptional session name to target (omit for the shared 'default'). On a daemon shared with other agents, pass a UNIQUE name for stateful multi-step work (go→click→fill) so you don't collide on 'default'.
full_pageNoFull-page vs viewport screenshot, when one is captured.
keep_openNoLeave session open for follow-up calls.
screenshotNoScreenshot policy. 'auto' (default): capture ONLY if the page returns no usable text (or is challenge/login walled). 'always' (or true): force a screenshot. 'never' (or false): suppress even the fallback. When captured it is returned as a viewable image block, not base64 text.auto
skip_verifyNoSkip DNS pre-check (trusted URLs only).
min_text_charsNoAuto-mode fallback threshold: capture a screenshot if the page's extracted text is shorter than this.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With only openWorldHint supplied, the description carries real weight: it discloses the pipeline (DNS pre-check → auto-start headless session → navigate → extract text), that screenshots are a fallback only, that a captured screenshot returns as an image block rather than base64, and that an unnamed-session run uses an off-budget, auto-deleted ephemeral session that is cleaned up afterward. The remaining gap is failure behavior (timeouts, challenge-clearing limits) – it only asserts patchright 'clears most such walls'.

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 critical trigger and the one-call framing are front-loaded in the first sentence, before the pipeline and fallback details. It is dense and heavily capitalized with some redundant phrasing ('TEXT-FIRST', '80% case', repeated screenshot caveats), but nearly every sentence carries actionable information.

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 9-parameter tool with no output schema, the description covers the default behavior, the screenshot fallback contract, session lifecycle and isolation, and the escape hatches for skip_verify-style urgency. It stops short of stating what a failed navigation or an unbreakable challenge returns, which is the one thing an agent still has to discover empirically.

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 already 100%, so the baseline is 3, and the description mostly restates the screenshot policy and session semantics already documented in the schema. It does add meaning about the consequence of omitting session (off-budget, auto-deleted, no slot contention), but that conflicts with the schema's own note that omitting session targets the shared 'default', which could confuse an agent choosing whether to pass a session name.

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 ('ONE-CALL look at this URL' that navigates and extracts text) and explicitly distinguishes itself from the sibling primitives start/navigate/read, which it says to use only for multi-step interaction. An agent can identify the tool's job and its boundary with siblings 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?

It leads with an explicit when-to-use trigger (WebFetch/WebSearch/curl blocked by 403, Cloudflare/DataDome challenge, login/paywall, empty JS shell) and states the alternative it replaces ('use it instead of separate start / navigate / read calls unless you need multi-step interaction'). It also gives when-not guidance for screenshots via the 'always'/'never' switches.

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