list_coupons
Swiggy Instamart (Grocery): List available coupons for the current cart. Fetches applicable coupon offers based on the items in your cart and delivery address. Call this before checkout to discover available discounts.
⚠️ REQUIRED WORKFLOW:
- Call get_addresses to get a valid addressId
- Add items to cart using update_cart (cart must be non-empty)
- Call list_coupons with the addressId
- Show available coupons to the user
- Use apply_coupon to apply the selected coupon code
Authentication is handled automatically.
See list_coupons in actionComing soon
Usage notes
- This tool is not completely rolled out yet; it may not appear in
tools/listfor every user or account.
Example
const result = await client.callTool({
name: "list_coupons",
arguments: {
addressId: "addr_01HXYZ",
},
});Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
addressId | string | yes | REQUIRED: Delivery address ID from get_addresses. Used to determine location-specific coupon availability. |
Session credentials (user identity, access token) are supplied automatically by the authenticated MCP session - you do not pass them in the tool call. See Authenticate.
Response
All Swiggy MCP tools return:
{
"success": true,
"data": { /* tool-specific payload */ },
"message": "optional human-readable message"
}
On failure:
{
"success": false,
"error": { "message": "description of what went wrong" }
}
See Error codes for the full catalogue.
Output schema
data: {
availableCoupons: Array<{
couponCode: string;
title: string;
description?: string;
isApplicable: boolean;
applicabilityStatus: string;
applicabilityMessage?: string;
tnc?: { title: string; bulletTexts?: string[] };
offerId?: string;
}>;
}
This schema documents the structured payload returned by list_coupons. Optional fields can vary by user state, cart state, and live Swiggy availability.
Schema notes
couponCode/applicabilityStatus/isApplicable: coupon visibility/application fields. Treat a coupon as applied only when the returned cart shows an applied coupon/code and a positive discount where available.- Fields marked optional may be omitted depending on user state, cart/order state, and live Swiggy availability.
- Use returned identifiers and enum values exactly as provided; do not invent fallback IDs, status values, payment methods, or timestamps.
Details
| Field | Value |
|---|---|
| Name | list_coupons |
| MCP Server | Instamart |
| Endpoint | POST mcp.swiggy.com/im |
| Stage | Cart |
| Behaviour | read-only |
Next in this journey →
Continue with apply_coupon.