LLM Brand Monitor

v1.0.1
io.github.SerpstatGlobal/llm-brand-monitor Checked 3 days ago Published 7 months ago

Track how 350+ AI models mention your brand — manage projects, run scans, analyze results

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lbm_list_projects

WHEN TO USE: To get a list of all brand monitoring projects for the current user. Use as the FIRST step to discover available projects before working with scans or results. RETURNS: Compact CSV with id, brand_name, status, visibility_pct, models_count, prompts_count (default). Set include_all_fields=true for full JSON. NEXT STEP: Use lbm_get_project with a specific project id for full details.

ParameterTypeDescription
include_all_fieldsbooleanSet true for full JSON response. Default: false (compact CSV — recommended).
limitnumberItems per page (default: 20, max: 100)
offsetnumberItems to skip (default: 0)
statusstringOptional: filter by status (active, inactive, pending)

lbm_get_project

WHEN TO USE: To get full details of a specific brand monitoring project including all prompts. REQUIRES: project_id from lbm_list_projects. RETURNS: Project object with id, name, description, status, models, prompts array, schedule, and stats.

ParameterTypeDescription
project_id *stringProject ID

lbm_create_project

WHEN TO USE: To create a new brand monitoring project. RETURNS: Created project object with generated id. NEXT STEP: Call lbm_run_scan to start monitoring.

ParameterTypeDescription
brand_name *stringBrand name to monitor (required)
domain *stringBrand domain (required, e.g. "example.com")
language *string2-letter ISO language code (required, e.g. "en", "uk")
location *stringCountry name, 2-letter ISO code, or "auto" (required)
models *arrayLLM model IDs to monitor (required). Call lbm_list_models to get available IDs.
project_name *stringProject name (required)
prompts *arrayArray of monitoring prompts (required)
auto_monitoringobjectOptional auto monitoring config

lbm_update_project

WHEN TO USE: To update project name, models, or auto monitoring settings. Only provided fields are updated. NOTE: brand_name and prompts cannot be modified via this endpoint. Use lbm_add_prompts/lbm_delete_prompt for prompt changes. REQUIRES: project_id from lbm_list_projects. RETURNS: Updated project object.

ParameterTypeDescription
project_id *stringProject ID
auto_monitoringobjectAuto monitoring settings
modelsarrayNew list of LLM model IDs to monitor
project_namestringNew project name

lbm_archive_project

WHEN TO USE: To archive a project that is no longer needed. Archived projects are hidden but not deleted. REQUIRES: project_id from lbm_list_projects. Confirm with user before archiving.

ParameterTypeDescription
project_id *stringProject ID to archive

lbm_add_prompts

WHEN TO USE: To add one or more monitoring prompts to a project. Prompts are the questions asked to LLMs (e.g. "What are the best tools for X?"). Max 50 per request, 100 per project total. REQUIRES: project_id from lbm_list_projects. RETURNS: Array of created prompts with prompt_id. NEXT STEP: Call lbm_run_scan to run a scan with the new prompts.

ParameterTypeDescription
project_id *stringProject ID
prompts *arrayArray of prompts to add (max 50)

lbm_delete_prompt

WHEN TO USE: To remove a specific prompt from a project. REQUIRES: project_id and prompt_id. Get prompt_id from lbm_get_project (prompts array). NOTE: Project must have at least 2 prompts; cannot delete from archived project. Confirm with user before deleting.

ParameterTypeDescription
project_id *stringProject ID
prompt_id *stringPrompt ID to delete (from lbm_get_project)

lbm_run_scan

WHEN TO USE: To start a new monitoring scan for a project — sends prompts to all configured LLMs and collects responses. REQUIRES: project_id from lbm_list_projects. Project must have at least one prompt (use lbm_add_prompts if needed). RETURNS: Created scan object with scan_id and status="pending". NEXT STEP: Poll lbm_get_scan_status with scan_id until status="completed". CAUTION: This SPENDS user credits. Always confirm with the user before running.

ParameterTypeDescription
project_id *stringProject ID to scan
modelsarrayOptional: override which LLM models to use for this scan. Defaults to project models.
prompt_idsarrayOptional: specific prompt IDs to scan. Default: all project prompts.
use_web_searchbooleanOptional: enable web search for this scan

lbm_get_scan_status

WHEN TO USE: To check the status of a running or completed scan. REQUIRES: project_id and scan_id from lbm_run_scan or lbm_list_scans. RETURNS: Scan object with status (pending/running/completed/failed), progress, start/end times, and result count. NEXT STEP: When status="completed", call lbm_list_results to see monitoring results.

ParameterTypeDescription
project_id *stringProject ID
scan_id *stringScan ID from lbm_run_scan

lbm_list_scans

WHEN TO USE: To see the scan history for a project — all past and current scans with their statuses. REQUIRES: project_id from lbm_list_projects. RETURNS: Compact CSV with scan_id, status, created_at, results_count (default). Set include_all_fields=true for full JSON.

ParameterTypeDescription
project_id *stringProject ID
include_all_fieldsbooleanSet true for full JSON response. Default: false (compact CSV — recommended).
limitnumberItems per page (default: 20, max: 100)
offsetnumberItems to skip (default: 0)
statusstringOptional: filter by status (queued, running, completed, partial, failed)

lbm_list_results

WHEN TO USE: To get monitoring results for a project — how LLMs responded to brand monitoring prompts. REQUIRES: project_id from lbm_list_projects. RETURNS: Compact CSV with result_id, prompt, model, brand_mentioned, status (default limit: 20). Set include_all_fields=true for full JSON. NEXT STEP: Use lbm_get_transcript with a result_id to read the full LLM response text.

ParameterTypeDescription
project_id *stringProject ID
include_all_fieldsbooleanSet true for full JSON response. Default: false (compact CSV — recommended).
limitnumberItems per page (default: 20, max: 100)
offsetnumberItems to skip (default: 0)
scan_idstringOptional: filter by specific scan
statusstringOptional: filter by status (success, failure, pending, queued)
tagsstringOptional: filter by comma-separated prompt tags (OR logic)

lbm_get_transcript

WHEN TO USE: To read the full verbatim LLM response for a specific monitoring result. Use when the user wants to see exactly what an LLM said about their brand. REQUIRES: project_id and result_id from lbm_list_results. RETURNS: Full transcript text, model name, prompt text, and metadata (brand_mentioned, sentiment, links found).

ParameterTypeDescription
project_id *stringProject ID
result_id *stringResult ID from lbm_list_results

lbm_list_competitors

WHEN TO USE: To see which competitor brands were mentioned by LLMs in responses to this project's prompts. Shows competitive landscape as seen by AI models. REQUIRES: project_id from lbm_list_projects. RETURNS: Compact CSV with competitor name, mention count, frequency % (default limit: 20). Set include_all_fields=true for full JSON. Pass higher limit only if user explicitly asks for more.

ParameterTypeDescription
project_id *stringProject ID
include_all_fieldsbooleanSet true for full JSON response. Default: false (compact CSV — recommended).
limitnumberMax competitors to return (default: 20, max: 100)
offsetnumberItems to skip (default: 0)
tagsstringOptional: filter by comma-separated prompt tags

lbm_get_history

WHEN TO USE: To see competitor mention trends over time — which competitors were mentioned by LLMs across multiple scans and how their visibility changed. Use for competitive trend analysis and reporting. REQUIRES: project_id from lbm_list_projects. RETURNS: Historical competitor mention statistics per date, with per-model breakdowns. NOTE: Response structure may differ between time_range and start_date/end_date params.

ParameterTypeDescription
project_id *stringProject ID
end_datestringEnd date YYYY-MM-DD (required with start_date)
limitnumberItems per page (default: 20, max: 100)
model_filterstringOptional: comma-separated model IDs
offsetnumberItems to skip (default: 0)
prompt_filterstringOptional: comma-separated prompt texts
start_datestringStart date YYYY-MM-DD (overrides time_range)
time_rangestringTime range shortcut (default: 30d). Overridden by start_date/end_date.

lbm_list_models

WHEN TO USE: To discover which LLM models are available for brand monitoring scans. Call this before creating a project or running a scan if the user wants to choose specific models. RETURNS: Compact CSV with model_id, name, provider, web_search (default). Set include_all_fields=true for full JSON with pricing.

ParameterTypeDescription
include_all_fieldsbooleanSet true for full JSON response. Default: false (compact CSV — recommended).
limitnumberItems per page (default: 20, max: 100)
offsetnumberItems to skip (default: 0)

lbm_get_usage

WHEN TO USE: To check credit balance and usage statistics. Call this before lbm_run_scan to confirm the user has enough credits. RETURNS: Current credit balance, credits used this period, credits per scan estimate, and usage breakdown by model and project.

ParameterTypeDescription
end_datestringEnd date ISO 8601 for usage period (required if start_date provided)
start_datestringStart date ISO 8601 for usage period (optional, default: current month start)