MCP server

Keywords and prompts

Research the keywords people search for a business, write the prompts real customers ask AI assistants, check prompts you wrote, and add the good ones to a client's tracking — all from ChatGPT or Claude. These four tools run the same pipeline as AEOMCP's prospect reports, for any client workspace or any website.

StepToolCosts
1. Research keywordsresearch_keywordsup to 2 keyword credits + one Gemini call
2. Write promptswrite_promptsGemini calls
3. Check promptscheck_promptsfree
4. Add to trackingadd_promptsplan capacity (weekly question slots)

research_keywords and write_prompts spend money, so the first call is always a free preview (dry_run defaults to true) that returns cost. Show the user the cost, then call again with dry_run: false once they agree. Only an organization owner or admin can run them over a connection.

1. Research keywords

Research the keywords for my client South West Plumbing.

research_keywords reads what the site ranks for and the keywords for the site from DataForSEO Labs, with real Google monthly volumes and search intent, then Gemini picks the consumer, high-intent searches that matter to this business: its own brand searches, other cities (for a local business) and searches it does not serve are left out.

{ "workspace_id": "…", "dry_run": false, "max_keywords": 25 }
  • website researches another site (a prospect's or a competitor's) with the workspace's market; city + state (US) make it local to that place.
  • Each row: keyword, monthly_volume (Google searches a month as DataForSEO reports it — null when unmeasured, never estimated), intent, relevance (Gemini's 1–10 score).
  • research.ranked_by is model when Gemini picked, or volume when no model was available — then the list is the pulled keywords by volume.
  • A site researched in the last 30 days costs no credits.
  • next_step is write_prompts for the top keywords.

2. Write prompts

Write 10 prompts for "emergency plumber" and "water heater repair".

write_prompts uses the prospect report's question writer: Gemini writes from the business's site and each keyword's intent, the quality checks drop anything that fails, and a second AI pass tops up the keywords left short. It never returns template questions, and it leaves out prompts the workspace already tracks.

{
  "workspace_id": "…",
  "keywords": [
    { "keyword": "emergency plumber", "monthly_volume": 880, "intent": "commercial" },
    { "keyword": "water heater repair", "monthly_volume": 1300, "intent": "transactional" }
  ],
  "count": 10,
  "dry_run": false
}
  • Each row: prompt, keyword, topic (where add_prompts files it), site_service (what on the site it is about).
  • written.unmatched_keywords: keywords the site never mentions get no prompts (set include_unmatched: true to write them anyway); written.skipped_keywords: keywords the writer judged off-business.
  • A local business's prompts name its place once ("in Ballard, Seattle").
  • monthly_volume only weights how many prompts each keyword gets.
  • Takes up to about a minute.

3. Check prompts

Check these prompts before we add them: …

check_prompts runs the same checks on prompts a person wrote. Each prompt gets a verdict:

  • pass — good as written;
  • fix — good once rewritten; suggestion is the rewrite (the place added, the question mark restored, "which business" said as what the business is);
  • fail — reasons say why in plain English: too short or long, does not ask about its keyword, informational ("what is…"), the answer would not name a business, names the brand or a competitor, misses or repeats the place, promises something the site does not say, repeats another prompt in the batch, or is already tracked (similar_to names it).

It also shows what add_prompts would store: effective_text (compiled through the workspace's market), market_ok and the branding/intent tags.

4. Add to tracking

Add the passing prompts to South West Plumbing's tracking.

add_prompts makes the prompts tracked: from then on each runs on the workspace's schedule across its engines. It needs approval: call request_approval with the same arguments, show the user the preview, then call add_prompts with the approval_token.

{ "workspace_id": "…", "prompts": [{ "text": "…", "keyword": "emergency plumber" }] }
  • Each prompt is filed under its keyword's topic (created when missing).
  • All or nothing against the plan's weekly question slots: if the new prompts do not fit, nothing is added (quota_exceeded).
  • On a trial each new prompt spends the account's lifetime prompt allowance (trial_prompt_limit past it).
  • Already-tracked texts cost nothing (already_tracked); a text naming a place outside the workspace's market is not added (market_skipped).

Replaced tools

discover_keywords and expand_topics (the older keyword discovery run) and validate_prompts are replaced by these tools and no longer offered; describe_capabilities reports them as superseded.

← All docs