Skip to main content
Glama

search_deals

Read-onlyIdempotent

Search the merchants and promotions of one market. Without a query it lists all of them, paginated with limit and offset. Each merchant has its page URL, category, age_gate, reward fields (rewards are in CBK) and promotions with a go_path for build_go_link. Merchants in 18+ categories are included and marked age_gate true: the 18+ rule applies to them. Links built from go_path carry the buyer's Hedera account ID and are affiliate links: disclose them, use them for your own or your operator's purchases only, and open them only in the buyer's browser at purchase time.

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": {
      "market": "<market>"
    },
    "name": "search_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
marketYes
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial context on top: pagination via limit/offset, the returned fields per merchant, how 18+ categories are surfaced via age_gate, and that built links are affiliate links carrying the buyer's Hedera account ID with disclosure and usage obligations. That is strong extra disclosure for a read-only tool; only the response envelope shape is left unstated.

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?

The first sentence states purpose and scope, then pagination, then return fields, then the 18+ rule, then the affiliate-link obligations — a sensible front-loaded order. It is dense and slightly run-on in the link sentence, but nearly every sentence carries decision-relevant information.

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 and no schema descriptions, the description compensates by naming the returned merchant fields and promotion go_path, and by covering the compliance rules that affect how results may be used. It falls short only on valid market values and the exact response structure, which an agent would still need 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 description coverage is 0%, so the description must carry the load, and it does for three of four parameters: query is optional (absent means list-all), limit and offset drive pagination, and market scopes the search to one market. It does not describe valid market values or how limit/offset interact with result counts, leaving some gaps.

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?

"Search the merchants and promotions of one market" gives a specific verb (search/list) plus two resources and a scope constraint (one market), and the no-query behavior is spelled out. It doesn't explicitly contrast with search_products or get_merchant, but the merchant-plus-promotions scope is distinctive enough that an agent can pick it without opening the schema.

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 states one clear usage mode (omit query to list everything, paginated) and directs go_path consumers to build_go_link, which is real routing guidance. It never says when to prefer this over search_products or get_merchant, and gives no guidance on choosing market values, so selection against siblings remains implied.

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