Skip to main content
Glama

Find the best discounts

zoodex_find_best_deals
Read-only

Scans Zoodex deals and ranks food, pickup, cash-back, and discount offers by savings or price, with optional query and budget filters to find deals that fit.

Instructions

Scan Zoodex for the best current deals and rank them. Combines Food Party, pickup parties, discounted items, specials, cash back, Golden Off vendors and, if query is given, a discounted-product search (e.g. query='پیتزا' to find the cheapest discounted pizza). Returns ranked product deals (with variety_id ready for zoodex_cart_set_item) and discounted vendors. Prices are in toman (the API uses rials; 1 toman = 10 rials).

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": "zoodex_find_best_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoOptional food/product to look for, e.g. 'برگر'.
sort_byNodiscount_percent
sectionsNoDeal sections to scan. Default: all product sections. Options: food_parties (Food Party: limited-time deep discounts (delivery)); pickup_parties (Pickup Food Party: discounts for in-person pickup); zoodex_offers (Discounted items across vendors); specials (Special offers); golden (Golden Off vendors (time-limited vendor-wide discount)); cash_back (Cash back: part of the price returns to your wallet); packland (Pack Land: bundle deals); discounts (Public discount codes)
vendor_slugNoOnly deals from this vendor.
search_pagesNoHow many pages (50 items each) of query results to scan.
max_price_tomanNoOnly items whose final price is at most this many toman.
include_unavailableNoInclude items that can't be bought right now.
min_discount_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds genuinely useful context beyond that: the toman/rial unit mismatch (1 toman = 10 rials), that results are ranked, that vendors are returned alongside products, and that `search_pages` scans 50 items per page. It does not cover latency/cost of the multi-section scan, which is the main residual gap.

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?

Three sentences, front-loaded with the purpose, then the section list, then the return shape and currency caveat. The long section enumeration is dense but each item is a distinct data source, so nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter read-only aggregator with no output schema, the description supplies the missing return contract (ranked product deals plus discounted vendors) and the currency unit. What remains uncovered is the shape/depth of each ranked deal record and how sorting interacts with mixed section results, which an agent may still have to discover.

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 67% and the description supplements it where it matters: it explains what `query` triggers (a discounted-product search with an example) and warns that all prices are in toman even though the API uses rials, which directly affects `max_price_toman`. The enumeration of sections is largely duplicated from the schema enum description, so it earns a 4 rather than a 5.

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 ('Scan Zoodex for the best current deals and rank them') and then enumerates exactly which deal sources it aggregates (Food Party, pickup, specials, cash back, Golden Off, discounted product search). The aggregation scope plus the noted downstream link ('variety_id ready for zoodex_cart_set_item') lets an agent place it precisely relative to the single-section children of the deal surface.

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?

It gives a conditional usage cue for `query` ('if query is given, a discounted-product search', with a Persian example) but never states when to prefer this over scanning a single section or over the market/vendor listing siblings, nor any exclusion. Usage is inferable from the aggregation wording rather than stated.

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