Skip to main content
Glama

Search Brazilian marketplaces from a product photo

search_by_image

Upload a product photo to identify brand and model, then search offers across Mercado Livre, Shopee, and AliExpress. Returns normalized results with an interpreted query for verification.

Instructions

Search from a product PHOTO: a vision model reads the brand, model and attributes off the image and the resulting query runs across all three marketplaces. Returns the same normalized offers as search_products, plus interpreted_query — check it: if the model misread the photo, that field is where you will see it. Paid ($0.05).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ufNoBuyer's 2-letter Brazilian state (e.g. SP), for the ICMS rate in landed-price estimates. Default: 20% ceiling.
sortNoDefault price_asc (cheapest first).
limitNoResults in the merged page. Default 10, max 20.
image_urlYesPublic https URL of the product photo. JPEG/PNG/WebP, max 5MB.
max_priceNoMaximum price in BRL.
min_priceNoMinimum price in BRL (e.g. 199.90).
marketplaceNoRestrict the search to these marketplaces. Default: all three.
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses the cost ('Paid ($0.05)'), the reliance on a vision model, the possibility of misreading ('if the model misread the photo'), and the behavior of returning interpreted_query. It could add more about failure modes or rate limits, but the disclosed traits are substantive.

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 three sentences, front-loads the core purpose in the first sentence, and every sentence adds value: what the tool does, how the output relates to search_products, a caveat about interpreted_query, and pricing. There is zero wasted text.

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?

The tool is moderately complex (vision model, paid, merged marketplaces) and has no output schema, so the description compensates by clarifying the return value (same as search_products plus interpreted_query) and the potential misread pitfall. It doesn't explain error handling or all return fields, but it is sufficient for a competent agent given the schema.

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 description coverage is 100%, so the description does not need to repeat parameter details. It adds some semantic context by explaining that the vision model reads 'brand, model and attributes' and the query runs across all marketplaces, but no parameter-specific guidance is given. The baseline of 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 specific action ('Search from a product PHOTO') and the resource ('Brazilian marketplaces'), and distinguishes it from siblings by noting it returns 'the same normalized offers as search_products, plus interpreted_query'. This makes the tool's unique purpose obvious.

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 implies the tool should be used when the user has a product photo, and it contrasts with search_products by noting the photo-based input and the added interpreted_query field. It does not explicitly state when not to use it or name an alternative, but the context is clear enough for an agent to select it appropriately.

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/thomenz/brmarket-mcp'

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