Skip to main content
Glama

List sales and campaigns

list_deals
Read-onlyIdempotent

Lists the sales and campaigns recorded by a Japanese music-production buying guide (region JP), running ones first: title, kind, source (manufacturer store, merchant listings or manufacturer announcement), state, recorded start and end with deadline_status, checked_at / fresh_until, brands, categories, a sample of target products, prices_from (the lowest current price per currency among the general-segment offers this channel may disclose, stale offers excluded, with a display string; a sale with only restricted rows has prices_from [] and field_availability.prices_from unknown), and the largest discount against the merchant's own reference price among the general-segment offers this channel may disclose (per-period prices of subscription or rent-to-own editions count in neither). has_free_item is true when a disclosable offer of the sale is free (a 100% discount or a price of 0); a giveaway known only from an announcement has kind giveaway and no linked offers, so its has_free_item is false. Filters: brand slug, category slug, kind, source, state (running by default), limit, cursor. No merchant links are returned; offers of one product are returned by get_current_offers. canonical_page is the campaign page on this site; it carries every offer, the complete price table (including listings withheld on this channel), the merchant purchase links and the affiliate disclosure. site_entry_page is the same page with the entry marker for this channel. Read-only. Links are user_navigation handoffs (handoff_mode=user_navigation) and are not intended for prefetching or automatic clicking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoCampaign kind.
brandNoBrand slug as on /brands/{slug}/ (the manufacturer_id from search_products is accepted too).
limitNo
stateNorunning (default) = active, ending_soon or stale; ending_soon; scheduled; all = every state including ended campaigns.running
cursorNoOpaque next_cursor of the previous page (bound to one published snapshot).
sourceNoofficial = manufacturer store, merchant = reseller or marketplace listings, announcement = manufacturer announcement without listings.
categoryNoCategory slug as on /categories/{slug}/, e.g. audio-interface (the search_products spelling audio_interface is accepted too).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / brand / maxLength
      Previous value: -128New value: +160
    • changedInput schema / properties / brand / pattern
      Previous value: -"^[a-z0-9][a-z0-9_-]{0,127}$"New value: +"^[a-z0-9][a-z0-9_-]{0,159}$"
    • changedInput schema / properties / category / maxLength
      Previous value: -64New value: +160
    • changedInput schema / properties / category / pattern
      Previous value: -"^[a-z0-9][a-z0-9_-]{0,127}$"New value: +"^[a-z0-9][a-z0-9_-]{0,159}$"
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, not destructive, closed world), and the description layers on substantial extra behavior: no merchant links are returned, prices_from excludes stale offers and reflects only general-segment rows, has_free_item semantics, and the user_navigation handoff rule with an explicit prefetch prohibition. This is context an agent could not derive from annotations alone.

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?

Purpose is front-loaded, but the body is a single sprawling sentence that piles return fields, filter caveats, and handoff rules together. The filter enumeration largely duplicates the schema, so not every clause earns its place, though the information density is high.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the full burden and discharges it: it enumerates returned fields (title, kind, source, state, dates, deadline_status, prices_from, discount, brands, categories, sample products), explains prices_from/has_free_item edge cases, and clarifies canonical_page vs site_entry_page. Nothing an agent needs to interpret results or call correctly is missing.

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 86%, so the schema already documents each parameter; the description only restates the filter names and the 'running by default' behavior that the schema spells out. It adds no slug format, enum nuance, or cursor semantics beyond what is structured, so the baseline of 3 applies.

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 ('Lists the sales and campaigns recorded by a Japanese music-production buying guide'), gives the ordering ('running ones first'), and explicitly distinguishes itself from get_current_offers, which returns offers for one product. An agent can identify the tool 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names the sibling alternative (get_current_offers) and the condition that selects it, and lists the filter surface (brand, category, kind, source, state, limit, cursor). It stops short of stating when-not to use this tool or how campaign browsing differs from the other siblings, so it is clear context rather than a complete routing 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