Skip to content
LocalASO logo: magnifier app iconLocalASO

MCP and AI agents

Fill the App Store keyword field with an AI agent without breaking the 100-byte limit

To fill the App Store keyword field with an AI agent, let it read your board and propose a comma-separated list, then check the list against Apple's rules outside the model: 100 bytes in total, commas with no spaces, no keyword of two characters or fewer, and no repeats of words already in the name, subtitle or category.

Updated

The rules the prompt must carry

Apple's App Store Connect reference states the field takes up to 100 bytes, which is why a Japanese list holds far fewer characters than an English one. Keywords are separated by commas without spaces, each must be longer than two characters, and Apple advises avoiding plurals of words already included, generic terms like "app", filler words and anything already in the name, subtitle or category. Improper keyword use, such as trademarked terms, celebrity names or competing app names, is called a common reason for rejection.

The workflow

  1. Read. "Call listing_get and board_get for my app. Show the current keyword field, the name and subtitle, and the board keywords with their verdicts."
  2. Draft. Use this prompt:
Draft a keyword field for the app's main locale.
Rules: at most 100 bytes in UTF-8, comma-separated with no spaces after commas,
every keyword longer than 2 characters, no word that is already in the name,
subtitle or category, no plurals of words already included, no competitor or
trademarked names. Use only keywords from the board.
Return: the list on one line, then a table of keyword, verdict, why it is here.
  1. Count. Paste the line into the keyword field checker. It reports bytes, which the model cannot do reliably.
  2. Trim or pack. If the list is over, drop the lowest-value keyword. The keyword field packer and the guide on using every byte cover packing.
  3. Paste. Copy the final line into App Store Connect yourself.

Why bytes, with counted examples

Using a hypothetical habit tracker called Streakly, this English list is 80 characters and 80 bytes: streak,goals,reminder,planner,journal,mood,focus,discipline,checklist,motivation. A German list of 100 characters is also exactly 100 bytes only when it has no umlauts: Gewohnheiten,Routine,Ziele,Erinnerung,Planer,Tagebuch,Stimmung,Fokus,Disziplin,Checkliste,Motivation. Add one umlaut and the byte count goes above the character count. A Japanese list shows the effect most: 習慣化,目標管理,継続記録,リマインダー,日記帳,集中力 is 28 characters but 74 bytes, because each Japanese character takes three bytes in UTF-8. Every keyword there has three or more characters, as Apple requires.

ListCharactersBytes
English, 10 keywords8080
German, 11 keywords100100
Japanese, 6 keywords2874

Review the agent's draft

Look for three failure patterns: words already in the name (check against step 1), near-duplicate plurals, and invented keywords with no board row. The what to put in the keyword field guide gives the selection logic. The 100-byte answer explains the limit in short form.

Next step

Use the subtitle workflow first so the keyword field does not repeat it, then audit a competitor to find gaps. Connect a client from the client table.

Questions

Why not let the agent count bytes?
Language models are unreliable at counting, and multi-byte characters make it worse. Use a counter built for bytes.
Can the agent write the keyword field into App Store Connect?
No. LocalASO's MCP server cannot upload to App Store Connect. The app can upload listing text as a draft, but the MCP server cannot.
Do spaces after commas matter?
Apple's format uses commas with no spaces between keywords. Spaces inside a keyword phrase are allowed.

Sources

Do this for every country, in minutes

LocalASO checks your rank, volume and difficulty for every keyword in 50+ App Store countries, in each local language. It runs on your Mac. $29 once, no subscription.