Skip to main content
Glama
Sekharz

web-scrapper-mcp

by Sekharz

scrape_page

Scrape JavaScript-rendered webpages by providing a URL. Return content as markdown, HTML, or text with configurable wait states to handle dynamic loading.

Instructions

Scrape any SPA or JS-rendered webpage and return its content.

Args: url: The page URL to scrape. wait_for: Playwright wait state — 'networkidle' | 'load' | 'domcontentloaded'. selector: Optional CSS selector to wait for before returning content. mode: Output format — 'markdown' | 'html' | 'text'. wait_ms: Extra settle delay in milliseconds after the page loads.

Returns: {content, page_title, url, word_count, mode}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
modeNomarkdown
wait_msNo
selectorNo
wait_forNonetworkidle
Behavior3/5

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

With no annotations provided, the description carries the full burden. It mentions using Playwright for JS rendering and describes the return structure, but does not disclose potential side effects, authentication needs, or error handling behaviors.

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?

The description is well-structured with a clear purpose sentence followed by an Args list and Returns. Every sentence provides necessary information, and it is appropriately sized without fluff.

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?

Given no output schema, the description includes return fields. It covers parameter details and the core scraping behavior. However, it lacks error handling or timeout information. Overall, it is fairly complete for the tool's complexity.

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 input schema has 0% description coverage, so the description compensates by explaining each parameter's purpose (e.g., 'wait_for' as Playwright wait state, 'selector' as CSS selector). It adds meaning beyond the schema, though some descriptions are minimal.

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 it scrapes any SPA or JS-rendered webpage and returns content. It distinguishes from siblings like screenshot_page (screenshots) and extract_api_endpoints (extracts endpoints) by focusing on content extraction.

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?

The description does not provide explicit guidance on when to use this tool versus siblings. It lacks any 'when not to use' or alternative suggestions, requiring the agent to infer usage from the tool name and description.

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/Sekharz/web-scrapper-mcp'

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