Skip to main content
Glama

Mercado Libre Scraper - Search, Products, Reviews, Sellers

Mercado Livre & Amazon BR Coupon Checker

check_coupon
Read-onlyIdempotent

Check if a Mercado Livre or Amazon Brazil coupon code really works, live in the store coupon box: valid, expired, invalid or not applicable, with discount (% or BRL), minimum purchase, max discount, expiry date and eligible products (Mercado Livre). One code per call, 5 to 20 s. Use to test whether a Mercado Livre or Amazon Brazil coupon code works now; it does not search for products. Returns {items: [...]} with one object per result, for example: {"code":"MELIACHA30","store":"Mercado Livre","status":"valid","valid":true,"message":"Code works","discountPercent":30,"maxDiscountBRL":30,"minimumPurchaseBRL":79,"expiresAt":"2026-11-30T23:59:00-03:00","eligibleProductsUrl":"https://www.mercadolivre.com.br/..."} Cost: pay per result (prices on the store page where you subscribed), or US$ 0.01 per call with x402 (1 code). Read-only: it only reads public data.

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": {
      "code": "<code>"
    },
    "name": "check_coupon"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobNoOnly to fetch a result that came back "pending": the job id from that answer (kept 1 hour).
codeYesCoupon code (letters and digits, 3 to 30 characters). One per call.
storeNoStore the code belongs to (default mercadolivre).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false), yet the description still adds non-obvious operational context: 5 to 20 s latency per call, one code per call, and a pay-per-result / US$ 0.01 x402 cost model. It also explains that the check is performed live against the store coupon box, which is behavioral information the annotations cannot express.

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 purpose and the usage constraint are front-loaded in the first two sentences, and latency, return shape, cost, and the read-only guarantee follow in a logical order. The inline example response is long but earns its place by pinning down every field, since there is no output schema; the first sentence is dense but not padded.

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?

With no output schema, the description compensates fully by listing the result fields and showing a concrete response object, plus the pending/job flow is covered by the schema. Latency, cost, call limits, and the read-only guarantee are all present, so an agent has everything needed to decide to call it and how to interpret the answer.

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 schema already documents code, store, and the pending-job parameter, and the description adds little beyond restating "One code per call." The enumerated status vocabulary (valid/expired/invalid/not applicable) enriches interpretation of results rather than parameter meaning, so baseline 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?

"Check if a Mercado Livre or Amazon Brazil coupon code really works, live in the store coupon box" gives a specific verb (check/validate), a specific resource (coupon code), and a specific scope (two named stores). It also enumerates the possible outcomes (valid, expired, invalid, not applicable), so an agent knows exactly what it gets back and can distinguish this from the sibling search/review tools.

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 to test whether a ... coupon code works now; it does not search for products" supplies both a when-to-use and an explicit when-not-to-use boundary that matters given the product-search siblings. What is missing is an explicit pointer to the alternative tool when the agent actually wants product discovery, leaving that inference to the agent.

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.