Skip to main content
Glama

Eli Agent Hub

Search Eli merchants and offers

search_merchants_and_offers
Read-onlyIdempotent

Use this to find which merchants listed with Eli sell what a buyer wants, across all of them in one call. Returns each matching merchant's name, slug, its own MCP, UCP and ask addresses, and up to 5 matching products or plans with price, currency and availability exactly as the merchant publishes them. Never ranked by anything but the words asked for.

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_merchants_and_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many merchants at most (default 10).
queryNoWhat the buyer wants, in words.
ship_toNoISO 3166 alpha-2 country, like NL. Only merchants that state they ship or sell there.
categoryNoA product category word, like shoes or CRM.
currencyNoISO 4217 code of max_price, like EUR. Items priced in another currency are left out when max_price is set.
max_priceNoHighest price in normal units (49.99), in `currency`.
in_stock_onlyNoOnly items that can be bought now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 not-open-world, so the safety profile is covered. The description does add real value beyond that: the exact per-merchant return shape, a cap of 5 items per merchant, prices passed through verbatim, and the notable guarantee that results are 'never ranked by anything but the words asked for' (no paid placement). It still says nothing about behavior with a missing query, empty results, or rate limits.

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?

Three tight sentences, front-loaded with the purpose, then the return contents, then the ranking caveat. No filler, though the sentence enumerating MCP/UCP/ask addresses is dense enough that it reads as a field list rather than prose.

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 steps in to describe the response shape in detail (merchant name, slug, addresses, up to 5 priced items with availability), which is what an agent most needs here. The gap is that all 7 parameters are optional, and the description never says what happens when query is omitted, leaving an agent unsure whether a bare call lists everything.

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 coverage is 100% and each of the 7 parameters is documented in the schema, including the currency/max_price coupling and the ship_to country format, so the baseline is 3. The description only indirectly touches parameter meaning through the 'words asked for' ranking note; it does not explain how category, ship_to or in_stock_only actually narrow results beyond what the schema already states.

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 ('find which merchants listed with Eli sell what a buyer wants') plus scope ('across all of them in one call'). This clearly separates it from create_checkout_or_trial and negotiate_offer, which act on a single merchant rather than searching across them.

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?

'Use this to find which merchants... sell what a buyer wants' establishes the discovery use case clearly, so an agent knows to call it before checkout or negotiation. It does not, however, name an explicit alternative or state a when-not condition, so it stops short of full routing guidance.

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