Skip to main content

Tools Reference

This is a complete reference of all tools available through the recapt MCP server. Most users won't need this. The AI discovers and uses tools automatically based on your requests.

Page Analysis

get_page_metrics

Get aggregated behavioral metrics for a page.

ParameterTypeRequiredDescription
page_pathstringNoPage path (e.g., /checkout). Omit for all pages.
daysnumberNoDays to analyze (default: 7)

Returns: frustration, confusion, confidence, energy scores, health score, session count.

get_element_friction

Get per-element friction data for a page.

ParameterTypeRequiredDescription
page_pathstringYesPage path to analyze
selector_filterstringNoFilter elements by selector substring

Returns: elements with click counts, dominant friction signals.

get_dead_clicks

Find clicks on non-interactive elements.

ParameterTypeRequiredDescription
page_pathstringNoFilter to specific page
daysnumberNoDays to analyze (default: 7)

get_console_errors

Get JavaScript errors captured during sessions.

ParameterTypeRequiredDescription
page_pathstringNoFilter to specific page
daysnumberNoDays to analyze (default: 7)

get_form_friction

Analyze form performance and abandonment.

ParameterTypeRequiredDescription
page_pathstringNoFilter to specific page
daysnumberNoDays to analyze (default: 7)

Get metric trends over time for a page.

ParameterTypeRequiredDescription
page_pathstringYesPage path to analyze
daysnumberNoDays to analyze (default: 14)

list_pages

List all tracked pages.

ParameterTypeRequiredDescription
limitnumberNoMaximum pages to return (default: 50)

scan_site

One-shot site health scan across all pages.

ParameterTypeRequiredDescription
top_nnumberNoNumber of top pages to analyze (default: 10)
offsetnumberNoSkip first N pages for pagination

get_ux_health_report

Comprehensive UX health report combining metrics, issues, and anomalies.

ParameterTypeRequiredDescription
page_pathstringNoFocus on specific page (omit for site-wide)
daysnumberNoDays to analyze (default: 7)

Flow Analysis

analyze_flow

Analyze user navigation flows between pages.

ParameterTypeRequiredDescription
start_pagestringNo*Starting page path
end_pagestringNo*Ending page path
daysnumberNoDays to analyze (default: 7)

*At least one of start_page or end_page is required.

Returns: paths with steps, success rates, bottlenecks, friction scores.

analyze_funnel

Analyze conversion funnel through a sequence of pages.

ParameterTypeRequiredDescription
stepsstring[]YesOrdered page paths (minimum 2)
daysnumberNoDays to analyze (default: 7)

Returns: per-step metrics (entered, converted, dropped, dwell time, frustration).

get_flow_friction

Get friction points in user flows.

ParameterTypeRequiredDescription
page_pathstringNoFilter to flows involving this page
daysnumberNoDays to analyze (default: 7)

get_journey_patterns

Discover common user journey patterns.

ParameterTypeRequiredDescription
daysnumberNoDays to analyze (default: 7)
min_sessionsnumberNoMinimum sessions for a pattern

Issue Detection

get_anomalies

Detect anomalous sessions and frustration spikes.

ParameterTypeRequiredDescription
thresholdnumberNoAnomaly threshold 0-1 (default: 0.35)
daysnumberNoDays to analyze (default: 7)
page_pathstringNoFilter to specific page

detect_regressions

Find recent metric regressions.

ParameterTypeRequiredDescription
daysnumberNoDays to analyze (default: 7)
page_pathstringNoFilter to specific page

detect_drift

Detect gradual metric drift over time.

ParameterTypeRequiredDescription
daysnumberNoDays to analyze (default: 14)
page_pathstringNoFilter to specific page

Comparison & Segmentation

compare_cohorts

Compare two user cohorts side by side.

ParameterTypeRequiredDescription
cohort_aobjectYesFilters for cohort A
cohort_bobjectYesFilters for cohort B
cohort_a_labelstringNoHuman label for cohort A
cohort_b_labelstringNoHuman label for cohort B
page_pathstringNoScope to specific page
date_fromstringNoStart date (ISO format)
date_tostringNoEnd date (ISO format)

Cohort filters: device (desktop/tablet/mobile), outcome (COMPLETED/STRUGGLED/BLOCKED/DISENGAGED), pattern, has_friction, has_rage_clicks, page_path

compare_periods

Compare metrics between two time periods.

ParameterTypeRequiredDescription
page_pathstringYesPage to compare
period_a_startstringYesStart of period A (ISO date)
period_a_endstringYesEnd of period A (ISO date)
period_b_startstringYesStart of period B (ISO date)
period_b_endstringYesEnd of period B (ISO date)

discover_personas

Discover behavioral personas from session data.

ParameterTypeRequiredDescription
daysnumberNoDays to analyze (default: 14)
min_sessionsnumberNoMinimum sessions per persona

Session Analysis

search_sessions

Search sessions by natural language query.

ParameterTypeRequiredDescription
querystringYesNatural language search query
page_pathstringNoFilter to specific page
limitnumberNoMaximum sessions to return (default: 10)

list_sessions

List recent sessions.

ParameterTypeRequiredDescription
page_pathstringNoFilter to specific page
daysnumberNoDays to look back (default: 7)
limitnumberNoMaximum sessions to return (default: 20)

get_session_details

Get detailed information about specific session(s).

ParameterTypeRequiredDescription
session_idstringNo*Single session ID
session_idsstring[]No*Multiple session IDs

*Provide either session_id or session_ids.

triage_sessions

Automatically triage sessions to find those needing attention.

ParameterTypeRequiredDescription
session_idsstring[]NoTriage specific sessions
daysnumberNoLookback period (default: 7)
page_pathstringNoFilter to specific page
min_severitystringNoMinimum severity to include
limitnumberNoMaximum sessions to return (default: 20)

predict_outcomes

Predict session outcomes based on behavioral signals.

ParameterTypeRequiredDescription
session_idstringNo*Session to analyze
behavioral_featuresobjectNo*Features for prediction

*Provide either session_id or behavioral_features.

Diagnostic

run_full_diagnostic

Run comprehensive site diagnostic.

ParameterTypeRequiredDescription
daysnumberNoDays to analyze (default: 7)

Returns: prioritized issues, problem pages, regressions, recommended investigation order.

Triage

dismiss_issue

Dismiss an issue as false positive.

ParameterTypeRequiredDescription
issue_idstringYesIssue ID to dismiss
reasonstringYesReason: stale, intended, duplicate, false_positive
explanationstringYesDetailed explanation
create_knowledgebooleanNoCreate site knowledge entry (default: true)

mark_intended_behavior

Mark an issue as intended behavior.

ParameterTypeRequiredDescription
issue_idstringYesIssue ID to mark
explanationstringYesWhy this behavior is intended

Remediation

propose_fix

Propose a fix for an issue.

ParameterTypeRequiredDescription
issue_idstringYesIssue ID to fix
diagnosisstringYesRoot cause analysis
proposed_fixstringYesDescription of the fix
code_snippetstringNoSuggested code changes
affected_filesstring[]NoFiles to modify
confidencenumberYesConfidence level 0-1

list_pending_fixes

List fixes awaiting deployment.

No parameters.

list_remediations

List remediation records.

ParameterTypeRequiredDescription
statusstringNoFilter by status
issue_idstringNoFilter by issue
page_pathstringNoFilter by page
limitnumberNoMaximum results (default: 20)

Statuses: proposed, deployed, evaluating, succeeded, failed, reverted

confirm_deployment

Mark a fix as deployed.

ParameterTypeRequiredDescription
remediation_idstringYesRemediation ID

evaluate_fix

Evaluate if a deployed fix improved metrics.

ParameterTypeRequiredDescription
remediation_idstringYesRemediation ID
min_hoursnumberNoMinimum hours since deployment (default: 24)

Knowledge

get_site_knowledge

Retrieve site-specific learnings.

ParameterTypeRequiredDescription
categorystringNoFilter by category
page_pathstringNoFilter by page
issue_categorystringNoFilter by issue category
limitnumberNoMaximum entries (default: 50)

Categories: false_positive, intended_behavior, fix_pattern, context

add_site_knowledge

Store a site-specific learning.

ParameterTypeRequiredDescription
categorystringYesKnowledge category
subjectstringYesUnique identifier/title
contentstringYesDetailed description
page_pathstringNoAssociated page
element_selectorstringNoAssociated element
issue_categorystringNoAssociated issue category

delete_site_knowledge

Delete a knowledge entry.

ParameterTypeRequiredDescription
knowledge_idstringYesKnowledge entry ID

Utility

get_domains

List tracked domains.

No parameters.

memory_save

Save a value to working memory.

ParameterTypeRequiredDescription
keystringYesUnique key
valuestringYesValue to store
annotationstringNoNote about the data

memory_recall

Retrieve a value from working memory.

ParameterTypeRequiredDescription
keystringYesKey to retrieve

memory_list

List all keys in working memory.

No parameters.

memory_delete

Delete a value from working memory.

ParameterTypeRequiredDescription
keystringYesKey to delete

memory_clear

Clear all working memory.

No parameters.