Skip to main content
Glama

MyMarket.az

Get a MyMarket.az listing

get_listing
Read-onlyIdempotent

Use this when the user wants the details of one MyMarket.az listing: from a post number returned by search_listings or a mymarket.az/elan/ link the user shares. Returns the title, price, description (up to about 1,500 characters), category, listed details such as brand, size or condition, delivery, credit and barter options, city, up to 8 photo links, whether the seller is a store (with the store's name and page) or a private seller, and the listing link. Phone numbers, emails and private sellers' names are not returned.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "listing": "<listing>"
    },
    "name": "get_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingYesThe listing's post number (for example 1234567) or its link, for example https://mymarket.az/elan/iphone-13-128gb-1234567.

Output Schema

NameRequiredDescriptionDefault
urlYesPublic listing page, where the user can see the seller's contact options.
cityYes
priceYesPrice in AZN; null when there is none.
titleYes
photosYesUp to 8 photo links.
sellerYes
post_noYes
categoryYes
currencyYes
featuresYesWhether the seller offers delivery, barter (exchange) or credit.
old_priceYesPrice before the discount, only when the listing is discounted.
attributesYesDetails the seller picked on the site, in Azerbaijani, for example Marka: Apple.
created_onYesDate the listing was created, YYYY-MM-DD.
price_noteYesWhy there is no price, for example a salary agreed at the interview.
descriptionYesThe seller's text, with phone numbers, emails and messenger links masked.
photo_countYes
how_to_contactYes
discount_percentYes
description_truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, and the description adds real substance on top: truncation of the description at about 1,500 characters, a cap of 8 photo links, and the deliberate omission of phone numbers, emails, and private sellers' names. These are privacy and content-shape facts an agent cannot get from the structured fields.

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 usage condition is front-loaded in the first clause, and the second sentence is a dense enumeration of returned fields with no filler. The return-field list is somewhat long given an output schema exists, but it still serves tool selection rather than repeating boilerplate.

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 single-parameter read tool with an output schema and full annotation coverage, the description supplies everything needed: when to call it, what input shapes are accepted, what comes back, and what is intentionally withheld. Nothing material is missing.

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 coverage is 100% and the parameter already carries an example, so the baseline is 3. The description goes further by explaining where the value originates (post number returned by search_listings, or a link the user shares), which helps the agent construct the argument correctly.

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 opens with a specific verb and resource ("the details of one MyMarket.az listing") and explicitly ties the input to a post number from search_listings or a mymarket.az/elan/ link, which separates it from search_listings and get_store without needing their schemas.

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?

It states the trigger condition clearly (user wants one listing's details) and names the upstream tool whose output feeds it, so an agent knows to call search_listings first. It stops short of an explicit exclusion, e.g. telling the agent not to use this for keyword browsing.

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