Skip to main content
Glama

Scraperapi Scrape

scraperapi_scrape
Read-onlyIdempotent

Scrape any web page through ScraperAPI's rotating proxies and return its content. Returns HTML by default, or clean markdown with output_format:"markdown" (ideal for feeding an LLM). Use render:true for JavaScript-heavy pages (SPAs), premium:true for hard-to-scrape sites (residential proxies), and country_code to geotarget. Example: scraperapi_scrape({ url: "https://example.com", output_format: "markdown", render: true, _apiKey: "your-key" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe full URL to scrape, e.g. "https://example.com/page"
renderNoRender JavaScript before returning content (use for SPAs / dynamic pages). Default false.
_apiKeyYesScraperAPI key (sign up at https://www.scraperapi.com)
premiumNoUse premium residential proxies for hard-to-scrape sites. Default false.
autoparseNoAsk ScraperAPI to auto-parse supported sites (Amazon/Google) into structured JSON. Default false.
country_codeNoTwo-letter country code to proxy from, e.g. "us", "gb", "de". Optional geotargeting.
output_formatNoResponse format: "markdown" or "text" for LLM-friendly content, otherwise HTML (default). Options: markdown, text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false. The description adds useful behavioral detail beyond that: rotating proxies, JavaScript rendering, and configurable output format. It does not contradict any annotation.

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 three well-structured sentences plus a clear example, with the core purpose front-loaded. Every sentence adds a distinct piece of information—purpose, output options, key flags—and nothing is redundant.

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?

For a 7-parameter tool with no output schema, the description covers general usage, output formats, and the most important tuning flags. It omits autoparse, but the schema fully describes that parameter, and the example gives a realistic invocation. Overall sufficient for correct invocation.

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?

Schema coverage is 100%, so the schema already documents all parameters. The description adds extra meaning by explaining markdown is 'ideal for feeding an LLM' and providing a combined usage example. This is above the baseline for fully covered schemas.

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 clearly states the tool scrapes any web page through ScraperAPI and returns content, with a specific verb and resource. It implicitly differentiates from specialized siblings by using 'any web page', but does not explicitly name alternatives like scraperapi_amazon_product.

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 gives concrete usage context for render, premium, country_code, and output_format, recommending markdown for LLM consumption. However, it lacks explicit 'when not to use' guidance or mention of specialized sister tools, so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.