Skip to main content
Glama

url_extraction

Extract structured product data and image URLs from any web page. Use a prompt or JSON schema to get exactly the fields you need, returned as compact JSON with page metadata—not full page text.

Instructions

Extract structured data from a web page — a product listing (Amazon, Shopify, AliExpress, any store) or any URL — guided by a prompt and/or a JSON schema. Returns the requested fields (e.g. name, brand, price, description, specs) and any gallery image URLs as a compact JSON object, plus page metadata — not the page's full text. Use when you need specific data or image URLs from a page. Set dry_run=true to preview the exact request without spending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe page URL to extract from (an http(s) URL).
promptNoWhat to extract, in plain language — e.g. 'product name, brand, price, currency, variant, full description, feature bullets, specs, and all product-gallery image URLs (front/side/back/close-up/packaging); exclude review photos, related products, banners, logos'.
schemaNoOptional JSON Schema describing the exact shape to return. Use for a strict, typed result; omit to let the prompt guide the extraction.
dry_runNoIf true, return the request that would be sent (key masked), make no API call.
Behavior4/5

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

Without annotations, the description carries the full burden. It discloses the return type (compact JSON object, not full text), mentions page metadata and gallery image URLs, and explains the dry_run parameter. It also hints at cost via 'without spending.' It could be more explicit about errors or rate limits, but overall it offers strong transparency.

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 only three sentences, front-loaded with the core action, and contains no redundant information. Every word contributes to understanding the tool's purpose and usage.

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 no output schema, the description does an excellent job covering purpose, output details, usage context, and the dry_run option. It gives a complete picture of what to expect from the tool.

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 baseline is 3. The description adds value by explaining that prompt and/or schema guide extraction, and that dry_run previews the request without spending. This goes beyond the schema's basic field descriptions.

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 that the tool extracts structured data from a web page, with a specific focus on product listings and any URL. This distinguishes it from sibling tools that handle media generation or analysis.

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 provides clear context: 'Use when you need specific data or image URLs from a page.' It does not explicitly mention alternatives or exclusions, but the intended use case is well defined.

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/SupercmoHQ/superCMO-skills'

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