Skip to main content
Glama

Lynceus page extraction

lyn_extract

Fetch web pages and convert them to clean Markdown, bypassing anti-bot blocks such as 403 errors, paywalls, and empty content. Retrieve readable text from any URL for articles, docs, or discussions.

Instructions

Fetch web pages and get their content as clean, reader-mode Markdown via Lynceus' 4-tier anti-bot ladder (Chrome TLS fingerprint → site adapters → headless browser → captcha solving). Works on pages that return 403/paywall-shell/empty content to naive fetchers.

WHEN TO USE: you have URLs (from lyn_search or the user) and need the actual text — articles, docs, blog posts, discussions. Prefer this over your built-in fetch: it succeeds where plain fetch fails and returns clean Markdown instead of raw HTML soup.

ARGUMENTS:

  • urls (required): 1–10 URLs. Batch related URLs in one call — cheaper and faster than one call per URL.

  • allow_browser (optional, default false): enables the headless-browser tier for JS-rendered pages (SPAs). Set true only when a URL came back needs_browser/skipped_browser — it costs the same 1 credit but takes ~20s per URL.

  • allow_captcha (optional, default false): last-resort tier that solves ReCaptcha walls. PREMIUM: 25 credits per URL. Only with explicit user consent.

  • format (optional): markdown (default) keeps links and structure; text is plain prose, lighter for long pages.

COST: 1 credit per successfully extracted URL. Cache hits (same URL within the TTL) are free and marked cached:true. Failed URLs are never charged.

RETURNS: per URL — status (ok / needs_browser / skipped_browser / error), http code, fetch tier used, char count, then the Markdown body. needs_browser means: retry with allow_browser:true if you need that page.

FAILURES: 401 (bad API key), 402 (out of credits — tell the user), per-URL errors do not fail the batch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsYes1-10 URLs to extract; batch related URLs together
formatNomarkdown (default) or text
allow_browserNoEnable headless-browser tier (for JS/SPA pages), default false
allow_captchaNoEnable captcha-solving tier. PREMIUM 25 credits/URL — only with user consent
Behavior5/5

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

No annotations are present, so the description carries the full burden. It discloses the 4-tier anti-bot ladder, cost model (1 credit per success, 25 for captcha, free cache hits, no charge for failures), and response statuses (needs_browser/skipped_browser/error). It also explains that per-URL errors don't fail the batch, providing complete behavioral clarity.

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?

While long, the description is highly structured with clear section headers (WHEN TO USE, ARGUMENTS, COST, RETURNS, FAILURES) and every sentence carries useful information. It's front-loaded with purpose and usage, then details arguments, cost, and failure modes in a logical order without redundancy.

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?

This is a complex tool with 4 parameters, cost implications, and a multi-tier process. The description covers everything needed for correct invocation: parameter semantics, cost rules, return format, retry logic (needs_browser), and error handling. Without an output schema, it fully explains the response structure. Nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds significant extra semantics: batching URLs is cheaper/faster, allow_browser is only for JS-rendered pages and costs time, allow_captcha requires explicit user consent and premium cost, and format differences (markdown keeps links vs plain text). This goes well beyond the schema descriptions.

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 fetches web pages and returns clean Markdown, with a specific verb+resource. It also distinguishes from naive fetchers and siblings (lyn_search is search, lyn_usage is usage) by focusing on content extraction. The mention of handling 403/paywall-shell pages adds specificity that sets it apart.

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?

The 'WHEN TO USE' section explicitly says to use this when you have URLs and need actual text, and directly says 'Prefer this over your built-in fetch' with reasons. It provides clear conditions for toggling allow_browser (only when needs_browser/skipped_browser) and allow_captcha (with user consent), leaving no ambiguity about when to select this tool.

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/DenSul/lynceus-mcp'

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