Skip to main content
Glama

api_agent_commerce_hunter

Read-onlyIdempotent

Agent Commerce Hunter — Search customer-authorized eBay offers OR inspect one caller-supplied public product page without an eBay key when source_mode=public_page; compare prices only for actual offers, and optionally read stock signals through extract/product-check, retrieve published return-policy excerpts and calculate order contribution using caller-supplied sale price and goods cost. One x402 charge covers the composed workflow; missing evidence remains explicit. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "query": "<query>"
    },
    "name": "api_agent_commerce_hunter"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum listings 1–20
queryYesExact product model or sourcing query; eBay search requires X-Provider-Key, public_page does not
ordersNoOptional number of orders
currencyNoSame ISO currency code for all profit figures, required when profit is requested
unit_costNoCustomer known goods cost per order; required with selling_price
policy_urlNoOptional public returns policy page; text excerpts, not eligibility decision
marketplaceNoeBay marketplace ID, e.g. EBAY_US
source_modeNoOptional ebay (default) or public_page; public_page requires comparison_url and does not search marketplace offers
ads_per_orderNoOptional attributed advertising per order
selling_priceNoCustomer assumed selling price per order; required with unit_cost
shipping_costNoOptional per-order shipping and packing cost
comparison_urlNoOptional public product page for product-check and extract stock signals
platform_fee_pctNoOptional percentage fee on selling price

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, and the description adds genuinely new behavioral facts: a fixed 0.01 USDC x402 charge on Base, that a single charge covers the whole composed workflow, that customer-owned provider credentials go in an X-Provider-Key header, and that missing evidence is surfaced rather than fabricated. That is meaningful cost/auth/scope disclosure beyond the structured fields. The billing model's edge cases (per-call vs per-sub-resource, failure charging) remain unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense but the delivery is one sprawling sentence chain with em-dashes, 'OR' and 'and optionally' stacked together, making it hard to parse on first read. It is front-loaded with the tool name restated from the title, which wastes the highest-attention position. Length is defensible for six capabilities and 13 params, but structure is not.

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?

With 13 parameters, a multi-capability composition, and no output schema, the description does most of the load-bearing work on inputs and cost but says almost nothing about what comes back — offer lists, price comparison shape, stock-signal format, or how the contribution figures are reported. 'Missing evidence remains explicit' is the only hint about return behavior and is too vague to rely on. Adequate to call, thin to predict results from.

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 carries parameter meaning and the baseline is 3. The description reinforces a few semantics — paired selling_price/unit_cost, the same-currency requirement for profit figures, and caller-supplied inputs for the margin math — but adds no syntax, format, or default details the schema lacks.

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?

Names concrete verbs and resources: search customer-authorized eBay offers, inspect one public product page, compare prices, read stock signals, retrieve return-policy excerpts, and compute order contribution. It even references the sibling capabilities it composes ('extract/product-check'), so an agent can tell what it bundles. It stops short of a clean one-line statement of the primary function, since six capabilities are strung together in one clause chain.

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?

Gives real conditional guidance: use source_mode=public_page when no eBay key is available, and 'compare prices only for actual offers.' However, it never says when to choose this composite over the individual sibling tools it aggregates (api_product_check, api_extract, api_policy_extract, api_commerce_returns_margin), nor when not to use it. Usage is implied by the mode/credential constraints rather than stated as a decision rule.

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