Skip to main content
Glama

RivalSweeper Signals

Active promotions

get_active_promotions_and_coupons
Read-onlyIdempotent

Active promotions/discount codes for a brand: code, discount, terms, valid_until. Only live offers (expired and single-use codes left out). Each row says how it is known: verification = seen_on_brand_homepage (read off the brand's own homepage) or third_party_unverified (listed on public coupon sites, not tested at checkout), or seen_in_brand_signup_popup (the offer the brand's own sign-up popup or form shows for signing up, plus its event sign-ups such as Black Friday early access; no code is shown for these). Freshness-stamped. Included in RivalSweeper plans (developer API keys: 1 credit, no data = no charge).

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": {
      "domain": "<domain>"
    },
    "name": "get_active_promotions_and_coupons"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYeseCommerce domain

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld), the description discloses a provenance taxonomy that materially changes how an agent should interpret and present results: seen_on_brand_homepage vs. third_party_unverified vs. seen_in_brand_signup_popup, including the caveat that signup-popup offers carry no code. It also adds operational context — freshness stamping, credit cost, and no-charge-on-empty — none of which is available from structured fields.

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?

The definition is front-loaded with the resource and its fields, then layers provenance and billing notes. It is dense but every clause carries information; the middle sentence is long and parenthetical, which costs a little readability but not enough to warrant trimming content.

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 one required parameter and no output schema, the description does the work an output schema would: it lists row fields and explains the provenance field that accompanies each row. Pricing and empty-result behavior are also covered. Minor gap: nothing on result volume, limits, or what 'freshness-stamped' looks like in the payload.

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% for the single parameter ('domain': 'eCommerce domain'), so the schema already carries the parameter's meaning. The description adds nothing about domain format or accepted values (e.g. bare domain vs. URL), so the baseline of 3 applies.

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?

The description names a specific resource (active promotions/discount codes for a brand) and enumerates the returned fields (code, discount, terms, valid_until), so the agent knows exactly what it is retrieving. It also states a scoping rule — expired and single-use codes are excluded — which makes the tool distinguishable from adjacent discount-related siblings. It stops short of naming an alternative tool, so it is not a 5.

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?

Usage is implied by the scope statement ('only live offers'), which tells the agent this is the current-offers query rather than a historical one. There is no explicit when-to-use vs. when-not-to-use guidance and no named alternative (e.g. the discount frequency/depth sibling), leaving the routing decision to inference.

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