Skip to main content
Glama
asalbanoo-mcp

asalbanoo-mcp

by sepehr071

Find cheapest product

ab_find_cheapest
Read-onlyIdempotent

Find in-stock products matching a keyword ranked from low to high price in Toman; increase the scan limit when more matches remain.

Instructions

Find the cheapest in-stock products for a keyword, one list sorted by price (Toman).

Use for the lowest price of X. Check ab_product for the size you need. complete=false means more in-stock matches lie past scanned: raise scan.

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": {
      "query": "<query>"
    },
    "name": "ab_find_cheapest"
  }
}

Input Schema

NameRequiredDescriptionDefault
scanNoIn-stock results to scan, cheapest first.
limitNoMax offers.
queryYesProduct keyword, Persian or English, e.g. 'شامپو ضد شوره'.
match_all_wordsNoTitles must contain every query word.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.0
    • changedInput schema / properties / limit / description
      Previous value: -"Max offers to return."New value: +"Max offers."
    • changedInput schema / properties / match_all_words / description
      Previous value: -"Keep only titles that contain every word of the query."New value: +"Titles must contain every query word."
    • changedInput schema / properties / query / description
      Previous value: -"Product name or keyword, Persian or English, e.g. 'شامپو ضد شوره' or 'la roche posay'."New value: +"Product keyword, Persian or English, e.g. 'شامپو ضد شوره'."
    • changedInput schema / properties / scan / description
      Previous value: -"How many in-stock search results to scan, cheapest first."New value: +"In-stock results to scan, cheapest first."
  2. Changed6 schema fields changedv0.3.0
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / match_all_words / title
      Removed value: -"Match All Words"
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / properties / scan / title
      Removed value: -"Scan"
    • removedInput schema / title
      Removed value: -"ab_find_cheapestArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "ab_find_cheapestDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, and open-world behavior. The description adds meaningful context beyond that: results are in-stock only, sorted cheapest first, priced in Toman, and complete=false indicates more matches remain past the scanned count, requiring a higher scan value.

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 three short sentences, front-loads the core purpose, and includes only actionable details: sorting, currency, alternative tool, and scan completeness behavior. There is no unnecessary wording.

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 four-parameter search tool with no output schema and strong annotation coverage, the description supplies the key behavioral context an agent needs: in-stock filtering, price sorting, currency, and how to respond to complete=false. It does not describe the full return shape, but that is a minor gap given the tool's scope.

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 baseline is 3. The description clarifies the relationship between the completeness flag and the scan parameter, but it does not add much beyond the schema for query matching, limit, or match_all_words semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: "Find the cheapest in-stock products for a keyword," and adds scope details like a single list sorted by price in Toman. It distinguishes itself from ab_product by directing users there for size details, though it does not explicitly contrast with ab_search or ab_deals.

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 gives clear usage guidance: "Use for the lowest price of X," and names ab_product as the alternative for size information. It does not state when not to use general search or deals tools, but the intended context is clear.

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