# Clean Up a Product Feed With Filters and Rules

> Adds filters to drop products you do not want to advertise and rules to fix titles or values, without editing the products.

- Job: [Catalog & products](https://storeagent.ai/mcp-recipes/job/catalog/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~30 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + AdTribes
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/feed-filters-rules/

## The prompt

```text
For my [feed name] feed, show me the filters and rules it already has. I want to: [list, for example exclude products priced under $10, exclude the Clearance category, add the brand to the start of every title]. Turn each one into a filter or rule and show me exactly what you will add. Wait for my OK, then add them, regenerate the feed and tell me how the product count changed.
```

## What happens when you paste it

You: For my [feed name] feed, show me the filters and rules it already has…

Assistant: Feed "Google Shopping US" has 1 filter that excludes out of stock products, and no rules. It currently carries 1,284 products. Calling: `adtribes/get-feed`, `adtribes/add-filter-rule`, `adtribes/regenerate-feed`, `adtribes/get-feed-stats`.

Assistant: This will make changes in WooCommerce. Do you want me to go ahead?

Assistant: Added 2 exclude filters and 1 rule that puts the brand before the title. After regeneration the feed carries 1,197 products, 87 fewer than before.

## Abilities this recipe calls

- **Get feed settings** (`adtribes/get-feed`, read only, from AdTribes): Shows the full setup of one feed: mappings, filters, rules and tracking settings.
- **Add feed filter or rule** (`adtribes/add-filter-rule`, asks first, from AdTribes): Adds a filter that includes or excludes products, or a rule that changes values.
- **Regenerate feed** (`adtribes/regenerate-feed`, asks first, from AdTribes): Rebuilds a feed file now, in the background by default.
- **Get feed stats** (`adtribes/get-feed-stats`, read only, from AdTribes): Shows a feed's product count, products in the file, file size, status and last update.

## Variations

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

- Replace the word [old word] with [new word] in all titles.
- Add the filters only, with no title rules.

## Related recipes

- [Tag Your Newest Products Consistently](https://storeagent.ai/mcp-recipes/tag-catalog.md): Gives every recent product a clean, consistent set of tags so related products stop coming up empty.
- [Get Upsell and Cross-Sell Ideas for Your Best Sellers](https://storeagent.ai/mcp-recipes/upsell-ideas.md): Works out what actually sells together, then gives you pairings for your top products, ready for the Linked Products tab.
- [Add a New Product From Your Notes](https://storeagent.ai/mcp-recipes/new-product-draft.md): Turns a few lines of notes into a draft product with a price, SKU, description and tags, ready for you to add photos and publish.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
