Skip to main content
Glama

MyMarket.az

Search MyMarket.az listings

search_listings
Read-onlyIdempotent

Use this when the user wants to find things for sale, services or job vacancies on MyMarket.az, the Azerbaijani classifieds site. Matches keywords in listing titles and descriptions (every word must appear), optionally within a category, a city, a store or a price range in AZN, sorted by newest or price. Returns up to 20 published listings per page with post number, title, price, old price when discounted, city, date, category, thumbnail and the listing link. Seller contact details are not included; the user contacts the seller through the listing link.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoOnly listings in this city, as the user names it, for example Bakı, Gəncə or Sumqayıt (English spellings such as Baku and Ganja work). Do not fill it in from the user's own location.
pageNoResults page, 1 to 50. Default 1.
sortNonewest (default; most recently published or renewed first), price_asc (cheapest first; listings without a price last) or price_desc.
limitNoHow many listings to return, 1 to 20. Default 10.
storeNoOnly listings of this store: the slug from list_stores (for example ticshop) or the store's mymarket.az/magaza/ link.
keywordNoWords to look for, for example "iphone 13", "divan", "kondisioner" or "mühasib". Listings are mostly in Azerbaijani, so translate general words (sofa = divan, fridge = soyuducu, job = iş); brand and model names work as typed.
price_maxNoHighest price in AZN.
price_minNoLowest price in AZN.
category_idNoOnly listings in this category and its subcategories. Get the id from list_categories.
discounted_onlyNotrue for discounted listings only.

Output Schema

NameRequiredDescriptionDefault
pageYes
notesYes
filtersYesThe search that was run, after spelling and category lookups.
has_moreYesTrue when the next page has more listings.
listingsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: every keyword word must appear, prices are in AZN, results are capped at 20 per page, and seller contacts are deliberately excluded. It does not address rate limits or empty-result behavior, which keeps it below the top mark.

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?

Front-loaded with the trigger condition, then matching semantics, then filters, then output. Three dense sentences with little waste. The enumeration of returned fields overlaps with the output schema, so that clause earns its place less than the others, but it does not derail the structure.

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?

For a 10-parameter, fully optional search tool with an output schema and rich annotations, nothing an agent needs is missing: trigger, keyword matching rules, filter semantics, sort options, paging cap, and the notable absence of seller contact data. Return values are covered by the output schema, so the description need not expand further.

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 description coverage is 100%, so the baseline is 3 because the schema already documents every parameter including enum values and examples. The description still contributes meaning beyond the schema by stating the AND semantics of keyword matching ('every word must appear') and framing the filters as optional and combinable with sorting by newest or price.

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?

States a specific verb and resource ('find things for sale, services or job vacancies on MyMarket.az') plus the matching mechanism (keywords in titles and descriptions) and the return shape. An agent can distinguish this from get_listing or get_store purely from the description, since those clearly retrieve single entities rather than search listings.

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?

'Use this when the user wants to find things for sale, services or job vacancies' gives a clear trigger condition, and the closing note that seller contact details are absent, with the user contacting the seller via the listing link, sets expectations about the follow-up path. It stops short of naming when to prefer a sibling (e.g. get_listing for a known post number) or listing exclusions, so it is strong context rather than explicit when/when-not routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources