Skip to main content
Glama

extract_web_content

Extract clean, token-optimized Markdown from any webpage, removing noise for efficient LLM consumption. Handles anti-bot challenges with optional deep crawl mode.

Instructions

Extract token-optimized clean Markdown content from a target website for LLM consumption.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesTarget website URL to extract content from.
modeNoCrawl mode: 'fast' (native HTTP fetch) or 'deep' (headless Playwright browser with JS execution).fast
proxyNoOptional HTTP/SOCKS5 proxy URL (e.g. 'http://proxy.example.com:8080').
cookiesNoOptional custom HTTP cookies key-value dictionary.
headersNoOptional custom HTTP request headers key-value dictionary.
max_retriesNoMaximum retry attempts for transient errors or rate limits (default: 3).
css_selectorNoOptional CSS selector to scope content extraction to a specific HTML node.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations present, the description carries the full burden of behavioral disclosure. It only states the output is token-optimized clean Markdown; it does not reveal that the tool makes live network requests, that 'deep' mode executes JavaScript via a headless browser, how failures or rate limits are handled, or any side effects. The schema documents the mode options, but the description itself leaves key behavioral traits undisclosed.

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 a single, front-loaded sentence that communicates the primary purpose and output format without wasted words. It is appropriately concise, though a little more detail about usage trade-offs would have made it richer without harming structure.

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

Completeness2/5

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

The tool has 7 parameters, nested objects, and no output schema or annotations, yet the description only covers the surface purpose. It omits important operational context such as dynamic content handling, proxy/cookie use cases, retry behavior, and how to decide between 'fast' and 'deep' modes. An agent receives the raw schema but not sufficient high-level orientation for a tool of this complexity.

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%, so every parameter already has a clear description in the schema. The tool description adds little beyond 'clean Markdown', which indirectly hints at the purpose of css_selector scoping but does not meaningfully extend parameter understanding. Baseline 3 is appropriate because the schema does the heavy lifting.

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?

The description has a clear verb ('Extract'), a specific resource ('content from a target website'), and a defined output format ('clean Markdown content'). It conveys the tool's core purpose well and inherently contrasts with extract_structured_data by promising Markdown. However, it does not explicitly distinguish itself from batch_extract_web_content, leaving the single-URL versus batch distinction to be inferred from the sibling name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus its siblings. There is no mention of batch_extract_web_content for bulk jobs or extract_structured_data for non-Markdown outputs. The 'for LLM consumption' phrase gives some context but does not help an agent choose among alternatives.

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

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/lucasmartins-ai/lookacrawler'

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