Skip to main content
Glama

fetch_product_images

Fetch product images from a product page URL or direct image URLs, returning data-URLs for chat display and local file paths.

Instructions

Baixa as imagens de um produto para EXIBIÇÃO no chat. Aceita: (a) URL da página (raspa e baixa todas as imagens do produto), ou (b) lista direta de URLs. Retorna data-URLs (renderizáveis no markdown) + caminhos locais.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMáx de imagens (default 6)
image_urlsNoLista direta de URLs de imagem
product_urlNoURL da página do produto (raspa as imagens)
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. It does mention scraping and downloading, and that it returns local paths, implying disk writes. However, it does not clarify side effects like whether files are persistent, overwritten, or if any rate limits or permissions apply, which is a gap for a tool that downloads resources.

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 a single, well-structured sentence that front-loads the main action and audience, then lists input options and return values. Every clause adds meaningful information without redundancy.

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?

With no output schema, the description appropriately explains the return format (data-URLs + local paths) and both input modes. It covers the core usage for a simple 3-parameter tool, though it could benefit from noting that product_url and image_urls should not both be provided, but the 'ou' (or) already implies exclusivity.

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?

The schema already provides descriptions for all parameters (100% coverage), giving a baseline of 3. The description adds the crucial relationship that the tool accepts either a product_url OR image_urls (mutually exclusive), which is not evident from the schema alone. It also clarifies the limit parameter's role in the context of fetching.

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 downloads product images for display in chat, using a specific verb ('Baixa') and resource ('imagens de um produto'). It distinguishes from siblings by explicitly mentioning two input modes (page URL scraping or direct URL list) and the return type (data-URLs + local paths), which sets it apart from search/analyze/OCR 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 description gives clear context for when to use the tool ('para EXIBIÇÃO no chat') and explains the two alternative input modes ('URL da página' vs 'lista direta de URLs'). It lacks explicit exclusions or comparisons to sibling tools, but the intended use case is well implied and distinct.

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/carlosnunesjr1/catalog-intelligence-agent'

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