Skip to main content
Glama

search_offers

Search OLX.ua for used or new items with filters for price, region, category, and condition. Returns structured offers with total count and direct links.

Instructions

Search OLX.ua (Ukrainian classified ads) and return a page of matching offers plus the total count. Returns {'total', 'returned', 'offers'}; each offer has id, title, price (UAH), currency, location, url. For category-specific attributes (brand, resolution, capacity, ...) call list_filters(query) FIRST, then pass the keys via filters. For region/city ids call list_regions(); for a category id call list_categories(). For comparing prices of a new product across shops, also call hotline_search_offers and prom_search_offers. For Rozetka, use the brightdata MCP server's browser tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoResult ordering: 'newest' = by creation date, newest first (server-side, OLX supports it); 'price_asc' / 'price_desc' = cheapest / most expensive first (sorts the returned page client-side — OLX ignores server-side price sort). Omit for OLX default relevance order.
limitNoMaximum number of offers to return (1..50, default 20).
queryYesSearch keywords. Put attributes that have no dedicated filter (form-factor, brand, size) here as plain words, e.g. 'ssd 240gb 2.5' or 'диван б/у'.
stateNoCondition filter: 'used' (б/у / вживане) or 'new' (нове). Omit to include both.
offsetNoPagination: skip the first N matches (default 0). Prefer narrowing with filters over deep pagination.
city_idNoOLX city id from list_regions(). Omit to search the whole region/country.
filtersNoCategory-specific filters; keys and values come from list_filters(query). Values are either a plain string (the option's key, e.g. {'resolution': 'full_hd'}) or a plain two-number list [from, to] for ranges (e.g. {'screen_size': [24, 24]}). The server also accepts the OLX-style {'item': [from, to]} wrapper for ranges. Omit keys you don't need.
max_priceNoMaximum price in UAH (inclusive). Omit for no upper bound.
min_priceNoMinimum price in UAH (inclusive). Omit for no lower bound.
region_idNoOLX region (oblast) id from list_regions(). Omit to search all of Ukraine.
category_idNoOLX category id from list_categories(). Narrows to one category. Omit for keyword search.
include_promotedNoInclude paid/promoted listings (top_ad, highlighted, urgent). Default False (excluded).
Install Server

TDQS

A5/5.0
Behavior5/5

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

With no annotations provided, the description fully discloses behavior: return format (total, returned, offers), offer structure (id, title, price in UAH, currency, location, url), sorting behavior (price_asc/price_desc sorted client-side), filters handling (string keys or two-number arrays for ranges), and the include_promoted option. It also notes that the server accepts OLX-style wrappers for range filters.

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 concise: a one-sentence purpose and return format summary, followed by a clear paragraph of usage guidelines. Every sentence adds unique value, no repetition of schema or annotations, and the structure front-loads the essential purpose.

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 12 parameters, no output schema, and no annotations, the description is remarkably complete. It covers the return format, offer fields, parameter usage patterns (query vs filters, location/category IDs), sorting behaviors, and platform alternatives. The description fully compensates for the lack of structured annotations and output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

While schema coverage is 100%, the description adds significant meaning beyond the schema: it explains how to use the query parameter for attributes without dedicated filters, clarifies the client-side sorting behavior for price sorts, details the filter value format (string or two-number list) and the accepted OLX wrapper, and specifies that include_promoted controls top_ad, highlighted, and urgent listings. This goes well beyond the schema's field 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?

The description clearly states it searches OLX.ua and returns a page of matching offers plus total count. It specifies the return format and distinguishes from sibling tools (hotline_search_offers, prom_search_offers, list_filters, etc.) by naming them explicitly, making the tool's specific function unambiguous.

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

Usage Guidelines5/5

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

The description provides explicit when-to-use guidance: call list_filters for category-specific attributes, list_regions for location IDs, list_categories for category IDs. It also tells the agent when to use alternatives (hotline_search_offers and prom_search_offers for price comparison across shops) and warns against deep pagination in favor of filters.

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

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/cuzin85/marketua'

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