Skip to main content
Glama

logimu-shopping-mcp

batch

Destructive

BATCHES: run any Logimu endpoint over a whole list in one job and come back for the results - the same batch API as REST /v1/batches (see https://api.logimu.com/docs#batch). action=estimate prices a list before anything is billed (free); action=create makes a named, re-runnable batch (add start=true to launch its first run at once); action=run launches a run of an existing batch; action=status reports a batch (runs, line stats) or, with run_id, one run's progress (rows done, credits so far, queue position); action=results returns completed result rows of a run, mid-run too (limit / offset to page; jsonl_url and csv_url give the full download); action=list lists the account's batches; action=schedule repeats a batch every 6 or 12 hours / daily / weekly / monthly (credit_ceiling, webhook_url, email); action=delete removes a batch. USE WHEN the user has more than a handful of ASINs, barcodes, search terms, seller ids, brands or seeds to run, wants a daily/weekly refresh, or wants a CSV. Kinds: product (asins or gtins - or source=tracked for the ASINs this account tracks, typically with include [history_only] at 0.05 a row), search (terms, live SERP), seller / brand / category / keywords (paid plans), and every other endpoint as its own kind (shopping, warehouse_search, bestsellers, offers, deals, seller_products, seller_brands, seller_network, brand_sellers, brand_network, keywords_compare, categories, category_search, brands_top, brands_movers, sellers_top, sellers_movers, categories_top, web_offers - paid plans: the same product on other shops for each line of terms, us or walmart) with the endpoint's query parameters in params. Each row bills what the endpoint bills; failed, not-found and duplicate rows are never billed; runs are serialized per marketplace. COST estimate / status / results / list are free; create + run queue billable rows (the estimate is the ceiling). API key required (keyed lanes).

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": {
      "action": "<action>"
    },
    "name": "batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoestimate / create: product (default), search, seller, brand, category, keywords, or any endpoint kind named in the description.product
modeNoproduct / seller batches: cache = warehouse only, live = scrape every row, auto = warehouse when fresh enough (required on create for product batches).
nameNocreate: the batch's name (1-120 characters).
urlsNobestsellers batches: Best Sellers URLs.
asinsNoproduct batches: the ASINs (or Walmart item ids).
emailNocreate / schedule: e-mail the account when a run completes or pauses and when a scheduled firing is refused. Default false for batches created here or through the REST API; results are always available programmatically.
gtinsNoproduct batches: barcodes instead of ASINs.
limitNoresults: rows to return (page with offset; the download URLs carry everything).
pagesNosearch batches: pages per term (1-3); ranked-list batches: pages of 25 rows (1-40).
seedsNokeywords / keywords_compare batches: seed terms.
startNocreate: also launch the first run at once.
termsNosearch / shopping / warehouse_search / category_search batches: the queries. web_offers batches: one product a line (an ASIN, a barcode or a description on us; a Walmart item ID on walmart).
actionYesWhat to do (see the tool description).
brandsNobrand, brand_sellers, brand_network batches.
offsetNoresults: rows to skip.
paramsNoendpoint kinds: the endpoint's query parameters, fixed for every row.
run_idNoFor status (one run's progress) and results.
sourceNoproduct batches: tracked = the ASINs this account tracks on the marketplace instead of a list.
countryNoestimate / create: us, uk, de, ca, au, fr, it, es, jp, mx, br, walmart (search batches Amazon only).us
includeNoExtras: history (seller / brand / category / keywords), reviews, used, offer_history, bsr_history, history_only (product), blocks (search).
batch_idNoFor run / status / results / schedule / delete.
scheduleNoschedule: how often the batch re-runs (none stops the schedule). 6h fires four times a day, at at_hour_utc and every 6 hours after it; 12h twice a day, at at_hour_utc and 12 hours later; daily once a day at at_hour_utc (default midnight UTC); weekly on Monday and monthly on the 1st, 00:00 UTC.
seller_idsNoseller, seller_products, seller_brands, seller_network batches.
at_hour_utcNoschedule, 6h / 12h / daily only: the UTC hour it fires at (12h: this hour and 12 hours later; 6h: this hour and every 6 hours after it). Default: 6h and 12h = the current UTC hour, daily = 0. Kept when the same cadence is saved again without it.
webhook_urlNoschedule: POSTed on run completion / pause, HMAC-SHA256 signed; the secret is returned once.
category_idsNocategory / categories batches (ids, or root); deals batches (deals department ids, or all for the whole deals page).
max_age_daysNo
credit_ceilingNoschedule: a firing whose fresh estimate exceeds this does not run (email instead); default 2x the estimate.
history_pointsNo
history_sellersNo
schedule_enabledNoschedule: pause without deleting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / at_hour_utc / description
      Previous value: -"schedule, 12h and daily only: the UTC hour it fires at (12h: this hour and 12 hours later). Default: 12h = the current UTC hour, daily = 0. Kept when the same cadence is saved again without it."New value: +"schedule, 6h / 12h / daily only: the UTC hour it fires at (12h: this hour and 12 hours later; 6h: this hour and every 6 hours after it). Default: 6h and 12h = the current UTC hour, daily = 0. Kept when the same cadence is saved again without it."
    • changedInput schema / properties / schedule / description
      Previous value: -"schedule: how often the batch re-runs (none stops the schedule). 12h fires twice a day, at at_hour_utc and 12 hours later; daily once a day at at_hour_utc (default midnight UTC); weekly on Monday and monthly on the 1st, 00:00 UTC."New value: +"schedule: how often the batch re-runs (none stops the schedule). 6h fires four times a day, at at_hour_utc and every 6 hours after it; 12h twice a day, at at_hour_utc and 12 hours later; daily once a day at at_hour_utc (default midnight UTC); weekly on Monday and monthly on the 1st, 00:00 UTC."
    • changedInput schema / properties / schedule / enum
      Previous value: -[
      -  "none",
      -  "12h",
      -  "daily",
      -  "weekly",
      -  "monthly"
      -]New value: +[
      +  "none",
      +  "6h",
      +  "12h",
      +  "daily",
      +  "weekly",
      +  "monthly"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / terms / description
      Previous value: -"search / shopping / warehouse_search / category_search batches: the queries."New value: +"search / shopping / warehouse_search / category_search batches: the queries. web_offers batches: one product a line (an ASIN, a barcode or a description on us; a Walmart item ID on walmart)."
  3. Changed1 schema field changed
    • addedInput schema / properties / email
      Added value: +{
      +  "description": "create / schedule: e-mail the account when a run completes or pauses and when a scheduled firing is refused. Default false for batches created here or through the REST API; results are always available programmatically.",
      +  "type": "boolean"
      +}
  4. Changed3 schema fields changed
    • addedInput schema / properties / at_hour_utc
      Added value: +{
      +  "description": "schedule, 12h and daily only: the UTC hour it fires at (12h: this hour and 12 hours later). Default: 12h = the current UTC hour, daily = 0. Kept when the same cadence is saved again without it.",
      +  "maximum": 23,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / schedule / description
      Previous value: -"schedule: how often the batch re-runs (none stops the schedule)."New value: +"schedule: how often the batch re-runs (none stops the schedule). 12h fires twice a day, at at_hour_utc and 12 hours later; daily once a day at at_hour_utc (default midnight UTC); weekly on Monday and monthly on the 1st, 00:00 UTC."
    • changedInput schema / properties / schedule / enum
      Previous value: -[
      -  "none",
      -  "daily",
      -  "weekly",
      -  "monthly"
      -]New value: +[
      +  "none",
      +  "12h",
      +  "daily",
      +  "weekly",
      +  "monthly"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / source / description
      Previous value: -"product batches: tracked = the ASINs this key tracks on the marketplace instead of a list."New value: +"product batches: tracked = the ASINs this account tracks on the marketplace instead of a list."
  6. Changed1 schema field changed
    • changedInput schema / properties / category_ids / description
      Previous value: -"category / categories batches (ids, or root)."New value: +"category / categories batches (ids, or root); deals batches (deals department ids, or all for the whole deals page)."
  7. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply the safety profile (destructiveHint=true, non-idempotent); the description layers on what an agent actually needs: which actions are free vs billable, that the estimate is a billing ceiling, that failed/not-found/duplicate rows are never charged, that runs serialize per marketplace, mid-run result availability, and that an API key is required. That is substantive cost and failure behavior beyond the annotations.

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 core capability and cost model are front-loaded, but the body is a single semicolon-chained block with a nineteen-item enumeration of endpoint kinds that is hard to scan. Every clause carries information, yet the packing into one paragraph costs readability.

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 31-parameter, multi-action tool with destructiveHint=true and no output schema, the description covers billing, scheduling cadence, results/paging, and download URLs well. It is thinner on destructive consequences — what action=delete removes (runs, results, schedule) and whether it is reversible — and gives no sense of the results/status payload shape.

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 coverage is already 90%, so most field meaning is documented structurally. The description still adds cross-parameter guidance: which input array pairs with which kind, that mode is effectively required on product creates, and the concrete example of source=tracked combined with include [history_only] at 0.05 a row — coupling that no single schema field 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 — 'run any Logimu endpoint over a whole list in one job' — and immediately ties itself to the REST /v1/batches API. The 'USE WHEN the user has more than a handful of ASINs, barcodes, search terms...' clause draws the line against the single-item siblings (product, search, seller) without needing to open any schema.

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?

Explicit when-to-use triggers are given: more than a handful of inputs, a daily/weekly refresh, or a CSV requirement. It also routes internally, mapping each action (estimate, create, run, status, results, list, schedule, delete) to a purpose. It stops short of naming a specific sibling as the alternative for single-item work, so the exclusion is implied rather than stated.

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