Skip to main content
Glama

fetch_product_images

Extract verified high-resolution product images from e-commerce sites by query or URL. Scrapes authoritative sources, verifies images, and returns master CDN URLs.

Instructions

Universally extracts verified, high-resolution product photography and official sources across the web.

USE THIS TOOL WHEN:

  • You need product photos, packshots, visual references, or master CDN assets for any physical item.

  • You want Promas to automatically discover authoritative stores, scrape candidate pages, verify images via HTTP, and deduplicate near-identical photo crops.

EXAMPLE QUERIES:

RETURNS:

  • ProductImageResult containing:

    • status: 'success' or 'error'

    • title: Cleaned product title

    • sources_scraped: List of retail & brand URLs visited

    • images: List of verified master-resolution image URLs (up to 2500px+)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe product name, model identifier, or direct e-commerce product URL to extract images for. Examples: 'iPhone 16 Pro', 'Nike Air Jordan 1 Low', 'Sony FX3 Cinema Camera', 'https://www.apple.com/iphone-16-pro/'
no_cacheNoIf True, bypasses the TTL disk cache and forces a live scrape.
max_imagesNoMaximum number of verified, high-resolution master product images to return (1-20). Default is 10.
site_filterNoOptional domain to restrict the product search to (e.g. 'apple.com', 'nike.com', 'bhphotovideo.com', 'amazon.com').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query or URL requested
titleNoTitle of the matched product or primary page
imagesNoArray of high-resolution image URLs
statusYes'success' or 'error'
error_messageNoError message if scraping failed
sources_scrapedNoURLs or domains scraped
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 it well. It discloses that the tool scrapes candidate pages, verifies images via HTTP, deduplicates near-identical crops, maintains a TTL disk cache, and returns a status field. It does not cover rate limits or failure modes, but the core behavior is clearly described.

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 well-structured with bold section headers: summary, usage conditions, example queries, and return fields. It is appropriately sized and front-loaded; every section adds meaningful guidance without verbose filler.

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 web-extraction tool with four parameters and an output schema, the description covers the workflow, return format, and example invocations. It could better disambiguate from the sibling tool get_product_images_tool, but the provided detail is sufficient for an agent to call it correctly.

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 with concrete example queries showing how to pass product names, URLs, max_images, and site_filter, which reinforces the schema's documentation without being redundant.

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?

Description clearly states a specific verb and resource: 'Universally extracts verified, high-resolution product photography and official sources across the web.' It also conveys a distinct approach (automatic discovery, HTTP verification, deduplication) that differentiates it from generic scrapers, though it doesn't explicitly name or contrast sibling tools.

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 'USE THIS TOOL WHEN' section explicitly lists the scenarios for using this tool: needing product photos, packshots, visual references, or master CDN assets. It also describes the automatic discovery and verification behavior. It does not state exclusions or alternatives, but the context is clear enough for an agent to select it.

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/szqiel/promas'

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