Skip to main content
Glama
rodrigopg

mcp-brazil-marketplaces

by rodrigopg

olx_buscar_anuncios

Read-onlyIdempotent

Search public ads on OLX Brasil with filters for text, state, category, and price. Get paginated results including title, price, location, and URL.

Instructions

Busca anúncios públicos na OLX Brasil com filtros de texto, estado, categoria, preço e ordenação.

Retorna lista paginada de anúncios com título, preço, localização, data, URL e propriedades extras.

Args: params (BuscarAnunciosInput): - query (str): Termo de busca obrigatório. - estado (Optional[str]): Sigla do estado ('sp', 'go', etc.). Padrão: todo Brasil. - categoria (Optional[str]): Slug de categoria OLX. Ex: 'informatica-e-acessorios'. - preco_min (Optional[int]): Preço mínimo em reais. - preco_max (Optional[int]): Preço máximo em reais. - ordenar (str): 'relevance' | 'price' | 'date'. Padrão: 'relevance'. - pagina (int): Número da página (1–50). Padrão: 1.

Returns: str: JSON com campos: - total (int): Total de anúncios encontrados. - pagina (int): Página atual. - por_pagina (int): Anúncios por página. - url_busca (str): URL utilizada na busca. - anuncios (list): Lista de anúncios com id, titulo, preco, categoria, localizacao, bairro, data, url, imagem, profissional, entrega_olx, propriedades.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint, openWorldHint. The description adds details on pagination limits (1-50), ordering options, and price range, but does not mention rate limits or authentication. No contradiction with annotations.

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?

The description is well-structured with a clear purpose statement, followed by parameter and return lists. It is informative but slightly verbose; could be more concise without losing clarity.

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 the complexity of the tool (multiple filters, pagination, ordering), the description covers all essential aspects, including the return format. It is fully adequate for an agent to use 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?

The description adds value beyond the input schema by providing example values for each parameter (e.g., 'sp', 'notebook', 500). The schema already has descriptions for each property, but the description consolidates and contextualizes them effectively.

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 it searches public ads on OLX Brazil with various filters and returns a paginated list. It distinguishes from sibling tools (ml_buscar_anuncios, ml_detalhe_anuncio, olx_detalhe_anuncio) by specifying the platform and action.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly compare with sibling tools or state when to use this tool vs alternatives. However, the platform-specific name and description imply it's for OLX searches, providing implicit guidance.

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/rodrigopg/mcp-brazil-marketplaces'

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