Skip to main content
Glama

Hadacart KR/US product search and purchase links

search_products

Read-onlyIdempotent

Search merchant catalogs by keywords or exact identifiers. Set affiliateLinkedOnly=true for recorded issued links. Use find_purchase_candidates with buyer destination and currency for a purchase route.

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

Input Schema

NameRequiredDescriptionDefault
sortNoSort order (default, priceAsc, priceDesc, unitPriceAsc); price/unit sort requires explicit currency.
unitNoQuantity unit (sheet, mL, g, egg, pair, piece); requires referenceQuantity.
limitNoMaximum products to return (1–100, default 50).
queryNoProduct title, brand, merchant/category keywords, or exact recorded ISBN13/SKU/catalog ID.
marketNoMerchant origin grouping relative to Korea (all, domestic, international); not buyer shipping country.
offsetNoZero-based pagination offset.
categoryNoKorean catalog category filter.
currencyNoNative 3-letter currency code (e.g. KRW, USD) or all; explicit currency required for price filters and sorting.
maxPriceNoMaximum native-currency advertised product price, excluding shipping and tax.
minPriceNoMinimum native-currency advertised product price.
sellerIdNoConnected Hadacart merchant ID filter.
productIdNoExact case-sensitive Hadacart catalog product ID. Applied together with every other filter; an unknown ID or mismatch returns zero candidates without falling back to title search. Not a provider variant ID.
optionQueryNoLiteral tokens must match the same captured option name. Requires sellerId and explicit currency. No product-price/unit ranking filters; revalidate exact option for budgets. Does not infer current stock.
maxUnitPriceNoMaximum native-currency price per referenceQuantity; requires currency, unit and referenceQuantity.
purchaseModeNoExact recorded advertised purchase mode. Unknown modes are excluded when supplied. Normal-purchase advertised price is not a rental/monthly quote or buyer-specific selected-option/final total.
availableOnlyNoIf true, include only records marked available at source capture; excludes unknown.
maxOptionPriceNoNonnegative ceiling on a dated exact Keychron option unit price. Requires optionQuery, sellerId keychron and USD; excludes unknown prices, shipping and tax. Zero candidate results include bounded optionBudgetEvidence for the same named option, preserving destination and buyer ceiling. Not current inventory, final total or buyer spending authorization.
optionQueryModeNoRequires optionQuery. Default terms is literal-token discovery. exact matches the entire case-sensitive recorded option name, including spaces and punctuation; no trimming, normalization or variant substitution. terms allows up to100characters; exact allows up to200characters.
productConditionNoExact recorded merchant-declared product condition. Unknown or mixed/unclassified condition is excluded when supplied. Not independent inspection, grade equivalence, current availability or a selected-option guarantee.
destinationRegionNoBuyer state or region code (requires destinationCountry) for shipping policy assessment.
referenceQuantityNoPositive reference quantity for unit pricing (e.g. 100 or 1).
destinationCountryNoShipping destination; market denotes merchant grouping, not buyer country
minPackageQuantityNoMinimum recorded total package quantity in the selected unit.
affiliateLinkedOnlyNoOnly products with an official issued affiliate link; final approval can be pending.
maxSnapshotAgeHoursNoMaximum elapsed hours since source capture; not a live check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • addedInput schema / properties / availableOnly / description
      Added value: +"If true, include only records marked available at source capture; excludes unknown."
    • addedInput schema / properties / category / description
      Added value: +"Korean catalog category filter."
    • addedInput schema / properties / currency / description
      Added value: +"Native 3-letter currency code (e.g. KRW, USD) or all; explicit currency required for price filters and sorting."
    • addedInput schema / properties / destinationRegion / description
      Added value: +"Buyer state or region code (requires destinationCountry) for shipping policy assessment."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum products to return (1–100, default 50)."
    • addedInput schema / properties / market / description
      Added value: +"Merchant origin grouping relative to Korea (all, domestic, international); not buyer shipping country."
    • addedInput schema / properties / maxPrice / description
      Added value: +"Maximum native-currency advertised product price, excluding shipping and tax."
    • addedInput schema / properties / maxSnapshotAgeHours / description
      Added value: +"Maximum elapsed hours since source capture; not a live check."
    • addedInput schema / properties / maxUnitPrice / description
      Added value: +"Maximum native-currency price per referenceQuantity; requires currency, unit and referenceQuantity."
    • addedInput schema / properties / minPackageQuantity / description
      Added value: +"Minimum recorded total package quantity in the selected unit."
    • addedInput schema / properties / minPrice / description
      Added value: +"Minimum native-currency advertised product price."
    • addedInput schema / properties / offset / description
      Added value: +"Zero-based pagination offset."
    • addedInput schema / properties / query / description
      Added value: +"Product title, brand, merchant/category keywords, or exact recorded ISBN13/SKU/catalog ID."
    • addedInput schema / properties / referenceQuantity / description
      Added value: +"Positive reference quantity for unit pricing (e.g. 100 or 1)."
    • addedInput schema / properties / sellerId / description
      Added value: +"Connected Hadacart merchant ID filter."
    • addedInput schema / properties / sort / description
      Added value: +"Sort order (default, priceAsc, priceDesc, unitPriceAsc); price/unit sort requires explicit currency."
    • addedInput schema / properties / unit / description
      Added value: +"Quantity unit (sheet, mL, g, egg, pair, piece); requires referenceQuantity."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is fully covered. The description adds only the affiliateLinkedOnly caveat (final approval can be pending), which is a genuine behavioral nuance. It says nothing about result volume, partial-match behavior, or that all filters combine, which are disclosed only in the schema.

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?

Two sentences, no filler: the primary capability comes first, then the alternative route. Every clause carries a distinct decision-relevant fact, so nothing could be cut without losing guidance.

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 25-parameter search tool with no output schema, the description correctly stays high-level and defers filter mechanics to the richly documented schema. The remaining gap is that nothing describes what a result looks like or how zero-candidate outcomes manifest, which matters for the option-budget path.

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% and the schema descriptions are highly detailed (currency requirements, optionQuery coupling, zero-candidate evidence), so the baseline of 3 applies. The description's only parameter mention is affiliateLinkedOnly=true, which the schema already explains more precisely. It adds no meaning beyond the schema.

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?

States a specific verb and resource: 'Search merchant catalogs by keywords or exact identifiers', which tells an agent both the operation and the two lookup modes. It also carves out a distinct role against find_purchase_candidates, though it doesn't enumerate the other siblings (get_product, find_buying_guides). Clear purpose, partial sibling differentiation.

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?

Explicitly routes the agent: use this for catalog/keyword search, and use find_purchase_candidates 'with buyer destination and currency' when a purchase route is needed. That is real when-to-use-this-vs-alternative guidance. It stops short of stating exclusions or when this tool would return the wrong thing.

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.

Resources