Skip to main content
Glama

url_extraction

Extract structured data from any web page or product listing in SuperCMO Skills with a prompt or JSON schema; get requested fields and gallery image URLs as compact JSON, or page text and branding.

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 — not the page's full text — plus page metadata. Omit both prompt and schema to get the page's own text (markdown) instead, which costs less, together with the colours, fonts and logo the page renders (branding) and a screenshot URL of the page as a visitor first sees it. A page that answers HTTP 400 or above comes back as a failed read. Use when you need specific data, image URLs or the text of a page. Set dry_run=true to preview the exact request without spending.

Input 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.13

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it states the return is compact JSON (not full text), that text mode 'costs less', that HTTP 400+ comes back as a failed read, and that dry_run previews without spending. It omits auth/API-key requirements and any rate limits or latency expectations.

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?

Purpose and primary return shape are front-loaded, and every sentence carries information. The third sentence is long and packs several ideas with em-dashes, making it slightly harder to parse, but nothing is truly 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 tool with no output schema and no annotations, the description covers return values, mode selection, failure behavior, cost, and dry-run – enough to call it correctly. The missing piece is permission/auth expectations, which the mention of a masked 'key' only hints at.

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, but the description adds real meaning beyond the schema by explaining the cross-parameter interaction: omit BOTH prompt and schema to get markdown text instead of extracted fields. That behavioral coupling isn't captured in the individual parameter 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?

States a specific verb+resource ('Extract structured data from a web page') and enumerates concrete use cases (product listings on Amazon/Shopify/AliExpress, any URL). It clearly distinguishes the tool from siblings like social_research or image_analysis by describing exactly what it extracts and returns.

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?

Explicitly says 'Use when you need specific data, image URLs or the text of a page' and lays out two modes (prompt/schema for structured fields vs. omitting both for cheaper markdown text). It doesn't name when NOT to use it or route to alternative siblings, so it stops short of a full 5.

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