Skip to main content
Glama

scrape_page

Extract raw storefront data without AI: product catalogs, facets, page metadata, dataLayer events, and platform fingerprinting via network response interception.

Instructions

[DEPRECATED — use acquire instead] Extract raw structured data from any storefront URL without running AI analysis. Returns product catalog (title, price, stock, CTA, description, B2B/B2C signals), facets/filters, page metadata, performance timing, data layer contents, and interactable elements. Also intercepts XHR/fetch network responses to fingerprint the commerce platform (Algolia, Elasticsearch, SFCC, Shopify, etc.), extract structured product and facet data directly from APIs when confidence is high, and parse dataLayer/digitalData ecommerce events (GA4, GTM, Adobe, Segment). Results are cached for 10 minutes — calling audit_storefront or ask_page on the same URL afterward will reuse this data. Session cookies are managed automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull http/https URL to scrape.
depthNoPages of pagination to follow (1 = current page only, max 5). Default: 1.
max_productsNoMax products to extract per page. Default: 10.
include_pagespeedNoFetch real Core Web Vitals from PageSpeed Insights API (adds ~5s). Default: false.
mobile_screenshotNoAlso capture a 390×844 (iPhone 14) mobile viewport screenshot. Returned as a second image. Default: false.
include_screenshotNoSet true to include a base64 JPEG screenshot. Default: false.
Behavior5/5

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

With no annotations provided, the description carries full burden. It discloses network interception, caching behavior, automatic session cookie management, and the absence of AI analysis. This is rich behavioral context beyond the raw schema.

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 dense paragraph, but it is front-loaded with the deprecation notice and every sentence adds meaningful detail. A bit long, but appropriate given the tool's complexity and lack of an output schema.

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

Completeness5/5

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

Given high complexity, no output schema, and no annotations, the description is remarkably complete. It covers return categories, caching, session handling, platform fingerprinting, and deprecation, leaving little ambiguity about what the tool does and its side effects.

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 coverage is 100%, so the baseline is 3. The description does not add parameter-level explanation, but it provides domain context about what the scraped data will contain. Since each parameter is already fully documented in the schema, 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 the tool extracts raw structured data from storefront URLs without AI analysis, enumerates the returned data categories, and explicitly marks the tool as deprecated with a direct alternative. This distinguishes it from siblings like scrape_pdp and acquire.

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

Usage Guidelines5/5

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

The deprecation notice explicitly directs users to use 'acquire instead', providing a clear when-not-to-use instruction. It also notes that results are cached and reused by audit_storefront or ask_page, giving additional context for downstream usage.

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/grahamton/merchGent'

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