# Write Alt Text for a Batch of Images

> Paste in a list of image IDs and get accessible, search-friendly alt text written back to every one.

- Job: [Content & SEO](https://storeagent.ai/mcp-recipes/job/content/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~1 hr vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan)
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/image-alt-text-batch/

## The prompt

```text
Here are image IDs from my Media Library: [image IDs]. For each image, write descriptive, SEO-friendly alt text and a short caption. Show me the first 5 so I can check the style, then write the alt text and caption back to each image once I say go.
```

## What happens when you paste it

You: Here are image IDs from my Media Library: [image IDs]…

Assistant: Got 24 image IDs. Here is the alt text and caption for the first 5. Calling: `storeagent/generate-image-alt`, `storeagent/apply-image-alt`.

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

Assistant: Applied alt text and captions to all 24 images. Image search and screen readers will pick them up straight away.

## Abilities this recipe calls

- **Write image alt text** (`storeagent/generate-image-alt`, read only, from StoreAgent): Writes alt text for an image, plus a caption and title if you want. Nothing is saved yet.
- **Save image alt text** (`storeagent/apply-image-alt`, asks first, from StoreAgent): Saves alt text, caption, title or description onto an image in your media library.

## Variations

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

- Include the colour and material in every alt text.
- Also fill in the image title field.

## Related recipes

- [Write Descriptions for Your Newest Products](https://storeagent.ai/mcp-recipes/new-product-descriptions.md): Drafts proper long and short copy for every product you added recently, in your tone, ready for you to check.
- [Lock a Page to Members Only](https://storeagent.ai/mcp-recipes/members-only-content.md): Checks what a page or post already restricts, then limits it to the plan you pick.
- [Remove Pages the Chat Assistant Should Not Learn From](https://storeagent.ai/mcp-recipes/ai-memory-cleanup.md): Finds old, test or private-looking pages in the assistant's memory so it stops quoting them to shoppers.

---

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/
