Skip to main content
Glama
theriskus
by theriskus

web_scrape

Extract content from dynamic and single-page applications using a browser that supports JavaScript. Load any URL and retrieve rendered HTML.

Instructions

Use Playwright (browser) to load a page with JavaScript support and extract content. Best for dynamic/SPA sites.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to scrape
waitForSelectorNoCSS selector to wait for before extracting (e.g. 'main', '.article-body')
timeoutNoPage load timeout in ms (default 30000)
maxContentLengthNoMaximum content length in characters (default 15000)
takeScreenshotNoTake a screenshot after loading (default false)
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions using Playwright (browser) and extracting content, but omits details like resource intensiveness, potential script execution, or what specific content is extracted (e.g., text vs. markup). Somewhat transparent but not fully detailed.

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 concise sentences that front-load the core purpose and application. Every word adds value with no redundancy.

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

Completeness3/5

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

Given the absence of an output schema and annotations, the description should clarify what 'extract content' means (e.g., returns text, links, or HTML). It also does not mention potential pitfalls like timeouts or content limitations, leaving the agent somewhat under-informed.

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?

All 5 parameters have descriptions in the schema (100% coverage), so the description adds no extra meaning. Baseline score of 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?

The description clearly states it uses a browser to load pages with JavaScript support and extract content, specifically calling out dynamic/SPA sites, which distinguishes it from siblings like web_fetch (no JS) and web_search.

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?

The description explicitly recommends it 'Best for dynamic/SPA sites,' implying when to use, but does not explicitly state when not to use or suggest alternatives. Still, it provides clear context for selection.

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/theriskus/mcp-web-browser'

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