{"mcp":"Streamable HTTP endpoint. POST JSON-RPC 2.0 here (initialize, tools/list, tools/call).","server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json","name":"com.listeningmind/prompt-builder","title":"Prompt Builder","description":"From a brand or category keyword it collects ListeningMind related keywords, People Also Ask questions and Google AI Overviews, extracts CEP, nano context, KBF, constraints, avoidance, reasons to believe and competitors, and generates managed prompts in 6 fixed groups with estimated monthly prompt volume. It can then ask ChatGPT and Gemini those prompts to measure brand visibility, and keeps history and Excel exports. Used by GEO leads and brand managers. Markets: Korea, Japan, US.","version":"1.0.0","serverInfo":{"name":"Prompt Builder","version":"1.0.0"},"protocolVersion":"2025-06-18","remotes":[{"type":"streamable-http","url":"https://daas-prompt.listeningmind.ai/mcp"}],"tools":[{"name":"preview_detection","description":"The 'AI helper' step the UI shows before a run: resolves the keyword's meaning, may switch an ambiguous or low-data brand keyword to its category, gathers related keywords and detects own brand, competitors and exclude words. Returns an HTML form pre-filled with collect keyword, focus, own, comp, exclude, gl, n, max; pass those values to start_analysis."},{"name":"start_analysis","description":"Starts a full run in the background (pass run='1'; without it the address only prefills the form): collects related keywords, People Also Ask and AI Overview from ListeningMind, analyzes CEP, nano intent, KBF, constraints, avoidance and competitors, generates managed prompts in 6 fixed groups, estimates monthly prompt volume and fills demand gaps, then saves the run to history. Returns the HTML progress page; the job id is in its poll script (var JID=\"<12 hex>\"). Poll get_job_status with that id."},{"name":"get_job_status","description":"Returns {status (running, done, error), stage, stage_label, elapsed, error, suggest}. suggest lists alternative keywords that have data when the keyword returned nothing. Repeat until done or error. A finished run that is no longer in memory still answers done."},{"name":"get_run","description":"Returns a saved run as structured JSON: {id, brand, gl, created_at, input, counts (related keywords, keywords queried, questions, AI overview items, scenarios, prompts), pkg (collected data: related keywords, journeys, aggregated questions, SERP text), ins (insight: brands, CEP, contexts, KBF, constraints, thresholds, avoidance, RTB, competitors, scenarios with prompts, estimated prompt volume _pv)}."},{"name":"get_result_html","description":"Returns the rendered result section (insight cards, prompt tables, visibility card) as an HTML fragment, as the UI inserts it after the run. Answers 202 'not ready' while running."},{"name":"start_visibility","description":"Asks ChatGPT and Gemini (with web search) every managed prompt of a saved run 3 times and records whether the own brand and competitors appear, are recommended and which sources are cited. Returns {status, done, total, calls}. Poll get_visibility_status."},{"name":"get_visibility_status","description":"Returns {status (running, done, error, none), done, total, error}. none means not measured and not running. Repeat until done or error."},{"name":"get_visibility","description":"Returns the stored visibility measurement for a run: {engines, models, runs, per_prompt (answers per prompt and engine with brand mentions), kpi, opportunities, sources (cited domains), failed, created_at}. 404 {error:'not measured'} before measuring."},{"name":"export_prompts_xlsx","description":"Downloads the managed prompts of a run as an .xlsx file: one row per prompt with group, brand type (non-brand, brand, comparison), prompt, interest intensity index (0-100), tier, question share, estimated monthly prompt count and range, confidence, trend, evidence keywords with volume, demand share, co-occurring words, gap-fill mark, topic, scenario, CEP, constraints, required KBF, avoidance, output format; plus visibility results when measured."},{"name":"list_history","description":"Returns the history page (HTML) listing saved runs for a market with time, keyword, focus and links to view (/history/view?id=), Excel export and delete. mk filters by market (kr, jp, us, all); default is the UI language's market."},{"name":"view_saved_run","description":"Returns the full HTML result page of a saved run."},{"name":"delete_run","description":"Deletes one of your saved runs (POST, form or JSON body {id, back}). Signed-in members only, and only the member who ran it: 401 signed out, 403 for another member's run. A form post is answered with 303 to the back path, JSON with {ok, id}. GET is refused (405)."},{"name":"collect_data","description":"Collects the ListeningMind data package for a keyword (related keywords from path, intent and cluster finders, journeys, People Also Ask, AI Overview and SERP text) without LLM synthesis and without saving to history. For agents that write their own prompts. Returns the pkg JSON; 503 if the data API is unreachable."},{"name":"run_sync_analysis","description":"Runs collection and insight synthesis in one blocking request and returns {insight, data}. Not saved to history and no job id, so it cannot be exported or measured later; use start_analysis for that. 422 when the keyword has no ListeningMind data."},{"name":"list_history_count","description":"Number of saved runs in the history (for the header). Signed-in members only: {n}."},{"name":"list_recent_history","description":"Your 10 most recent runs as an HTML table fragment for the home page (time, brand, market, re-run/view/export/delete). Signed-in members only; each member sees only their own runs."}],"documentation":"https://daas-prompt.listeningmind.ai/llms.txt"},"docs":"https://daas-prompt.listeningmind.ai/llms.txt"}