Skip to main content
Glama

Search products

dr_search
Read-onlyIdempotent

Search Darukade's pharmacy catalog of supplements, cosmetics, and baby products by words, category, brand, price, or stock to find exactly what you need.

Instructions

Search Darukade's pharmacy catalog (supplements, cosmetics, baby) by words, category, brand, form, price or stock.

Prices are Toman after discount. Next: dr_product, dr_cheapest, dr_compare. Best discounts: discounted=true, sort="discount".

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

Input Schema

NameRequiredDescriptionDefault
formNoForm ids from dr_forms, e.g. [28].
giftNoOnly with a gift.
pageNo24 per page.
sortNoOmit for relevance (text) or most visited. On a text query only cheapest/priciest/discount apply (sorted over 288 matches).
brandNoBrand ids from dr_brands, e.g. [315].
limitNo1-24.
queryNoPersian words from the product name, brand or use, e.g. ضد آفتاب.
categoryNoCategory ids from dr_categories (parent includes children), e.g. [1379].
in_stockNoOnly in stock.
max_priceNoToman.
min_priceNoToman.
discountedNoOnly discounted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv0.2.0
    • changedInput schema / properties / brand / description
      Previous value: -"Brand ids from dr_brands (e.g. [315] for Ellaro)."New value: +"Brand ids from dr_brands, e.g. [315]."
    • changedInput schema / properties / category / description
      Previous value: -"Category ids from dr_categories (a parent id includes its children), e.g. [1379]."New value: +"Category ids from dr_categories (parent includes children), e.g. [1379]."
    • changedInput schema / properties / discounted / description
      Previous value: -"Only products with a discount."New value: +"Only discounted."
    • changedInput schema / properties / form / description
      Previous value: -"Product form ids from dr_forms (capsule, syrup, cream, spray ...), e.g. [28]."New value: +"Form ids from dr_forms, e.g. [28]."
    • changedInput schema / properties / gift / description
      Previous value: -"Only products that come with a gift."New value: +"Only with a gift."
    • changedInput schema / properties / in_stock / description
      Previous value: -"Only products in stock."New value: +"Only in stock."
    • changedInput schema / properties / limit / description
      Previous value: -"Products to return, 1-24."New value: +"1-24."
    • changedInput schema / properties / max_price / description
      Previous value: -"Highest price in Toman."New value: +"Toman."
    • changedInput schema / properties / min_price / description
      Previous value: -"Lowest price in Toman."New value: +"Toman."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, 24 products per page."New value: +"24 per page."
    • changedInput schema / properties / query / description
      Previous value: -"Persian words from the product name, brand or use, e.g. ضد آفتاب, ملاتونین."New value: +"Persian words from the product name, brand or use, e.g. ضد آفتاب."
    • changedInput schema / properties / sort / description
      Previous value: -"Order. Omit for the site's default (relevance for a text query, most visited otherwise). cheapest/priciest/discount on a text query are sorted here over up to 288 matches; the others are ignored for text queries."New value: +"Omit for relevance (text) or most visited. On a text query only cheapest/priciest/discount apply (sorted over 288 matches)."
  2. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds one genuinely non-obvious behavioral fact beyond the structured data — prices are quoted in Toman and are post-discount — but says nothing about result shape, empty-result behavior, or pagination beyond what the schema's page/limit fields imply.

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?

Two short sentences plus two fragments, front-loaded with the catalog scope and ending with the actionable follow-ups and discount recipe. Nothing is padded, though the trailing fragments are slightly telegraphic and the line breaks make the structure a bit choppy.

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

Completeness3/5

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

For a 12-parameter, annotation-rich search tool this covers purpose and routing adequately, and the full schema coverage carries parameter detail. With no output schema present, however, the agent still learns nothing about what a match record contains or how to page through a large result set, leaving a real gap for a primary search entry point.

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 every one of the 12 parameters including the sort enum's text-query restriction and the price unit. The description reinforces only the price unit and one sort/discounted pairing; it adds no parameter meaning the schema lacks, which is the expected baseline-3 outcome here.

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 opens with a specific verb and resource ('Search Darukade's pharmacy catalog') and enumerates the catalog scope (supplements, cosmetics, baby) and the filter axes. It stops short of explicitly contrasting itself with siblings; differentiation comes only indirectly through the 'Next:' routing line naming dr_product, dr_cheapest and dr_compare.

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 concrete downstream routing ('Next: dr_product, dr_cheapest, dr_compare') and a named recipe for a common intent ('Best discounts: discounted=true, sort="discount"'). It does not state when NOT to use it in favor of dr_cheapest or dr_home, so the exclusion side is implied rather than explicit.

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