Skip to main content
Glama
Web Scraper MCP Server

Web Scraper MCP Server

by bhubadinn

scrape_url

Extract text, metadata, links, and structured data from any URL, with optional CSS selector waiting and timeout control.

Instructions

Extract text content, metadata, links, and structured data from any URL

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to scrape
timeoutNoNavigation timeout in ms (default: 30000)
wait_forNoCSS selector to wait for before extracting (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the whole behavioral burden, and it does not. It says nothing about permissions or auth needs, whether JavaScript-rendered content is handled, rate limits or blocking behavior, or what happens on timeout/navigation failure — all material for a scraper that takes a 30s timeout parameter.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is partly the source of the missing guidance rather than a sign of tight scoping.

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?

The tool is simple (3 params, flat schema, full parameter documentation) and the sentence enumerates the return categories, which partly compensates for the absent output schema. What remains missing — failure modes, rendering behavior, and relation to sibling extraction tools — is enough to keep this at minimum-viable rather than complete.

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%, with url, timeout, and wait_for all documented inline, so the description does not need to restate them. It adds no meaning beyond the schema, which is acceptable at full coverage but earns no extra credit.

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?

"Extract ... from any URL" gives a specific verb and resource, and enumerating the four output kinds (text, metadata, links, structured data) tells an agent concretely what it gets back. It does not differentiate itself from siblings like get_links or extract_data, which overlap with the stated outputs, so the boundary is left implicit.

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 gives no when-to-use or when-not-to-use guidance and never mentions the sibling tools (screenshot_url, get_links, extract_data) that an agent would plausibly choose between. The only hint is "any URL," which implies broad applicability rather than a selection rule.

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