Home / AI visibility and content optimization with MCP

AI visibility and content optimization with MCP

AI visibility and content optimization with MCP. Parameters, short request examples and result checks in Labrika.

On this page

Prompts for AI Visibility

Tool reference (5)

Start with a short request. Replace example.com with your domain. The assistant will ask for missing details; you do not need to type tool names or identifiers into the chat.

Your client can call the tools authorized for its connection. For a list with has_more set to true, pass the returned next_cursor as cursor with the same filters.

labrika_prompt_suggestions_prepare

Example requests

Find 30 prompts for example.com.

How much does finding 100 prompts cost?

Explain what the business offers and what it excludes. Choose 30–2,000 prompts in increments of 10.

For a paid action, review the quote and select Confirm and start in Labrika. Then ask the chat for its status.

prompt-suggestions:run

Required parameters
domain, company_description, exclusions, operation_key
Optional parameters
prompt_count, language, payment_option
Before use

domain + company_description + exclusions + prompt_count → labrika_prompt_suggestions_prepare

How to check the result

Preparing a quote does not start the job. Review the amount, currency and selected settings using the Labrika link. Confirm the launch on that page, then check action_id with labrika_action_get.

labrika_action_get → run_id → labrika_prompt_suggestions_progress_get

Reuse operation_key when resending the same action. A new action or changed parameters needs a new key. Do not create another job just to check its status.

Provide a company description of 150–2500 characters and what it does not offer. Send exclusions=[] only after explicit confirmation that there are no exclusions. Choose 30–2000 prompts in steps of 10; the default is 100.

labrika_prompt_suggestions_progress_get

Example requests

How is prompt collection progressing?

Are the prompts ready?

Check progress by run_id.

prompt-suggestions:run

Required parameters
run_id
Before use

labrika_action_get → run_id

How to check the result

Check the existing job using its identifier. A pending or intermediate status is not a finished report; read any error before attempting another launch.

labrika_prompt_suggestions_get

labrika_prompt_suggestions_get

Example requests

Show the suggested prompts.

How many prompts were collected and at what cost?

Read the original result, working list and final charge.

prompt-suggestions:run

Required parameters
run_id
Optional parameters
limit, cursor
Before use

labrika_action_get → run_id

How to check the result

If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.

revision → labrika_prompt_suggestions_list_edit / labrika_prompt_suggestions_apply

labrika_prompt_suggestions_list_edit

Example requests

Remove questions about coffee.

Add a question about tea suppliers.

Append, remove or replace rows in the current revision.

prompt-suggestions:run

Required parameters
run_id, revision, items
Optional parameters
mode
Before use

labrika_action_get → run_id; labrika_prompt_suggestions_get → revision

How to check the result

revision → labrika_prompt_suggestions_get

Read the current revision before editing. Keep the new revision from the update response. On a conflict, read the list again and reconcile changes instead of writing an outdated version.

mode=append / remove / replace; items=[{text: …}]; mode=replace + items=[]

labrika_prompt_suggestions_apply

Example requests

Add these prompts to example.com.

Apply the selected questions to AI Visibility.

Add unique rows from the selected revision to project settings.

prompt-suggestions:run

Required parameters
run_id, site_uuid, revision
Before use

labrika_action_get → run_id; labrika_prompt_suggestions_get → revision; labrika_report_sites_list (owned_only=true) → site_uuid

How to check the result

labrika_ai_visibility_prepare

Applying a list changes the selected project's settings. Check the list in the operation result; creating a new report requires a separate launch.

Back to contents

AI visibility

Tool reference (3)

Start with a short request. Replace example.com with your domain. The assistant will ask for missing details; you do not need to type tool names or identifiers into the chat.

Your client can call the tools authorized for its connection. For a list with has_more set to true, pass the returned next_cursor as cursor with the same filters.

labrika_project_find_by_domain

Example requests

Find my projects for example.com.

Has example.com already been added to Labrika?

Find your projects for a domain before choosing whether to use one or create another.

sites:create

Required parameters
domain
Optional parameters
limit, cursor
Before use

domain → labrika_project_find_by_domain

How to check the result

If has_more=true, continue with next_cursor as cursor and unchanged filters, even if the current page is empty. An empty first page does not prove that no data exists.

labrika_site_create / labrika_report_sites_list

labrika_ai_visibility_models_list

Example requests

Which AI models are available for example.com?

Can I check example.com in ChatGPT?

List available AI visibility models for the project. Use their IDs in the report settings.

ai-visibility:run

Required parameters
site_uuid
Before use

labrika_report_sites_list → site_uuid

How to check the result

labrika_ai_visibility_models_list → labrika_ai_visibility_prepare

labrika_ai_visibility_prepare

Example requests

How much does an AI Visibility check cost?

Prepare a brand visibility check in ChatGPT.

Quote AI visibility using saved or proposed settings. Omit payment_option to see the cost in AI credits and in the account currency. No report starts at this step. Quote again with the chosen payment option and share the confirmation link. The button in Labrika starts the report. Check the launch with labrika_action_get.

For a paid action, review the quote and select Confirm and start in Labrika. Then ask the chat for its status.

ai-visibility:run

Required parameters
site_uuid, operation_key
Optional parameters
settings, payment_option
Before use

labrika_report_sites_list → site_uuid

How to check the result

Preparing a quote does not start the job. Review the amount, currency and selected settings using the Labrika link. Confirm the launch on that page, then check action_id with labrika_action_get.

labrika_action_get

Reuse operation_key when resending the same action. A new action or changed parameters needs a new key. Do not create another job just to check its status.

If new settings are supplied, confirmation in Labrika replaces the selected project’s report settings. Before confirming, check the brand, name variants, prompts, competitors and models. Obtain model identifiers from labrika_ai_visibility_models_list.

Back to contents

AI Writer

Tool reference (3)

Start with a short request. Replace example.com with your domain. The assistant will ask for missing details; you do not need to type tool names or identifiers into the chat.

Your client can call the tools authorized for its connection. For a list with has_more set to true, pass the returned next_cursor as cursor with the same filters.

labrika_optimization_estimate

Example requests

How much does optimizing this text cost?

Quote optimization without changing the text length.

Estimate the credits needed to optimize the supplied text for the keywords and region. Repeat with identical inputs while pending is true.

ai-optimization:read

Required parameters
content, keywords, language, region_code, search_engine
Optional parameters
title, description, h1, adjust_text_length

Recommended length adjustment is on by default. Set adjust_text_length=false in both the estimate and the start request to turn it off.

Before use

content + keywords + language + search_engine + region_code

How to check the result

pending=false → estimate_id → labrika_optimization_start

Agree on the search engine, country and city first. region_code, region_id and search_engine_id are different parameters; do not substitute one for another. Search Google regions in English on labrika.com.

labrika_optimization_start

Example requests

Prepare optimization using the agreed estimate.

Prepare optimization without changing the text length.

For a paid action, review the quote and select Confirm and start in Labrika. Then ask the chat for its status.

ai-optimization:write

Required parameters
content, keywords, language, region_code, search_engine, estimate_id
Optional parameters
title, description, h1, adjust_text_length

Recommended length adjustment is on by default. Set adjust_text_length=false in both the estimate and the start request to turn it off.

Before use

labrika_optimization_estimate → estimate_id; content + keywords + language + search_engine + region_code

How to check the result

Preparing a quote does not start the job. Review the amount, currency and selected settings using the Labrika link. Confirm the launch on that page, then check action_id with labrika_action_get.

labrika_action_get → document_id → labrika_optimization_get

Agree on the search engine, country and city first. region_code, region_id and search_engine_id are different parameters; do not substitute one for another. Search Google regions in English on labrika.com.

estimate_id; content + keywords + language + search_engine + region_code + adjust_text_length

labrika_optimization_get

Example requests

Show the optimized text.

Show the text with highlighted keywords.

content contains publishable HTML and annotated_content is the review copy. The mark tag's data-labrika-seo attribute uses keyword for target search terms, hidden-semantic for related phrases, and keyword hidden-semantic for both. In chat, keywords appear in bold and related phrases in italics. content_view defaults to both. For long texts, request plain and annotated separately.

ai-optimization:read

Required parameters
document_id
Optional parameters
content_view
Before use

labrika_action_get → document_id

How to check the result

content / annotated_content; content_view=plain / annotated / both

Before publishing, check facts, names, figures and whether the text accurately describes your business. Generated text still needs editorial review.

Back to contents