Skip to main content
Glama

Amazon Seller MCP Server — AgentXray

Coupons, deals and price discounts: running, scheduled, problems

get_promotions
Read-onlyIdempotent

The seller's Amazon promotions — coupons, deals, price discounts and multi-buy promotions — read from Amazon's Promotions API: what is running now and when it ends, what is scheduled and when it starts (with the Amazon event, e.g. Black Friday), what ended in the last 30 days, the discount, the budget set, which SKUs it covers, and any problem Amazon reports. Use it for 'what promotions do I have', 'when does my coupon end', 'is my Black Friday deal approved', 'why was my promotion rejected'. AgentXray CANNOT create, edit or end a promotion (Amazon's Promotions API is read-only): when the seller wants one, say so and give them how_to_create (where in Seller Central). Its narrative is the answer.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_promotions"
  }
}

Input Schema

NameRequiredDescriptionDefault
marketplace_idNoOptional: one marketplace only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: the data source (Amazon's Promotions API), the 30-day lookback for ended promotions, that Amazon-reported problems are included, and that `narrative` carries the human-readable answer. It stops short of describing pagination or latency, which keeps it at 4 rather than 5.

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?

Front-loaded with the core verb and resource, and the read-only limitation plus `how_to_create` fallback sit at the end where they belong. The middle sentence is a long dense list of returned fields that borders on run-on, but every clause carries distinct information.

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?

There is no output schema, and the description compensates by enumerating the returned data categories and flagging that `narrative` is the answer to surface. Combined with the explicit capability boundary (read-only), an agent has everything needed to call this correctly and to handle the out-of-scope case.

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?

Only one optional parameter (marketplace_id) with 100% schema description coverage, so baseline is 3. The description never mentions the marketplace scoping option, adding no semantics beyond the schema — though with coverage this high, that omission is low-cost.

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?

Names a specific verb and resource ('read... promotions from Amazon's Promotions API') and enumerates exactly what is returned: running/ending, scheduled/starting with event name, ended in last 30 days, discount, budget, SKUs, and reported problems. It is clearly separable from the sibling get_promotion_results, which implies performance data rather than a promotion inventory.

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?

Gives concrete trigger phrases ('what promotions do I have', 'when does my coupon end', 'is my Black Friday deal approved', 'why was my promotion rejected') and states the explicit when-not: AgentXray cannot create, edit or end a promotion, so the agent should say so and point the seller to `how_to_create` in Seller Central. Both the positive and negative routing are covered.

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