Skip to main content
Glama
sepehr071

baneh-mcp

by sepehr071

Search products

bn_search
Read-onlyIdempotent

Search Baneh products by Persian or English name to find product IDs, prices in Toman, stock, ratings, and price filters.

Instructions

Search Baneh products by name in Persian or English, with price (Toman), stock and rating.

Use to find products and their ids. A multi-word query must appear as a phrase in the title; for the lowest price of a product use bn_find_cheapest, which matches words in any order. Next: bn_product for one id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoResult page of `limit`-sized pages (only for sort 'newest').
sortNoOrder. 'newest' is the shop's own order (latest added first); the others are sorted here over all matches.newest
limitNoMax products to return.
queryYesProduct name or keyword, Persian or English, e.g. 'تلویزیون ال جی 55' or 'iphone'.
max_priceNoMaximum price in Toman, e.g. 20000000.
min_priceNoMinimum price in Toman, e.g. 5000000.
in_stock_onlyNoOnly items in stock. Out-of-stock items are mostly discontinued, with stale prices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so safety is covered. The description adds a genuinely non-obvious behavioral rule beyond structured data: a multi-word query must match as a phrase in the title, unlike bn_find_cheapest. It stops short of describing result-set size, total counts, or empty-result behavior.

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 tight sentences, front-loaded with purpose, then usage, then routing. Every clause carries information — the phrase-matching caveat and the sibling handoffs are the kind of detail that prevents mis-invocation rather than filler.

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?

With no output schema, the description does name the returned attributes (ids, price, stock, rating), which is the key missing piece an agent needs. It does not cover pagination behavior in general or how to tell when results are exhausted, a minor gap for a 7-parameter search tool.

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 and the schema already documents page/limit/sort/price bounds. The description earns above baseline by explaining query matching semantics (phrase-in-title, Persian or English) and currency units (Toman), which the schema only partially conveys.

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 ('Search Baneh products by name in Persian or English'), names the fields returned (price in Toman, stock, rating), and explicitly distinguishes itself from siblings bn_find_cheapest and bn_product. An agent can route to this tool without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('Use to find products and their ids') plus two named alternatives with the condition that selects each: bn_find_cheapest for lowest price with order-free word matching, bn_product for a single id. The phrase-match constraint is also flagged as a reason to prefer the sibling.

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