Skip to main content
Glama

Find offers by condition, whole catalog

offers_find
Read-onlyIdempotent

[Analysis] Find offers by condition across the WHOLE catalog in one call (Vendwiser pages through the marketplace itself): words in the name, SKU prefix, status, price or stock range, handling time, validation state, buy button lost, in a campaign or not. Returns the matching offers and how many matched. Use this instead of paging offers_list whenever the question is about which or how many offers match something.

Input Schema

NameRequiredDescriptionDefault
limitNoRows returned (default 100); the count covers every match.
statusNo
accountNoAccount id from list_accounts. Optional when only one account is connected.
max_pagesNoPages of 100 offers to scan (default: enough for 2000 offers).
max_priceNo
max_stockNo
min_priceNo
min_stockNo
sku_prefixNo
validationNo
in_campaignNo
name_containsNoEvery word must be in the offer name (accents and case ignored).
buy_button_lostNotrue: offers that do not hold the buy button (rank above 1).
handling_time_daysNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/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 real context beyond them: it pages through the marketplace internally, the returned count covers every match regardless of the row limit, and each result is a matching offer. It stops short of describing error behavior or what happens when max_pages is exhausted.

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 tight sentences: purpose and filter inventory first, then the routing rule. The parenthetical about Vendwiser paging is slightly intrusive but earns its place by explaining why one call suffices.

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?

Output schema exists, so return values need no prose, and the filter set is well covered. Minor gaps remain around account selection when multiple accounts are connected and what happens if matches exceed the page scan budget — both partially addressed by the schema.

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?

With only 36% schema description coverage across 14 parameters, the description carries much of the burden — it names nearly every filter dimension (name words, SKU prefix, status, price/stock range, handling time, validation state, buy button lost, campaign membership) and clarifies that name matching is word-based. It doesn't explain the interplay between limit and max_pages, which is left to the schema.

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 offers"), the scope ("across the WHOLE catalog in one call"), and enumerates the exact filter dimensions supported. It is clearly distinguishable from offers_list (paging) and offers_get (single offer).

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?

Explicitly routes the agent: "Use this instead of paging offers_list whenever the question is about which or how many offers match something." The alternative tool and the condition that selects it are both named, which is the strongest form of 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