Skip to main content
Availability2026.3 or later
Browser supportChrome 149 or later (WebMCP origin trial)

What Is WebMCP

Tools for AI agents on web pages

Collected Data

What each tool call records

Deployment and Configuration

Off by default: how to turn it on

Privacy and Security

Tool inputs and outputs

Overview

GermainUX monitors WebMCP activity in real user sessions. It records each time an AI agent in the browser calls a tool your web application exposes, so teams can see which tools agents use, how long they take, and when they fail, alongside the rest of the user’s session.
WebMCP is a proposed web standard. Learn more in the Chrome WebMCP documentation.
Drill-through of the AI Tool Call KPI listing tool calls with name, duration and success

AI tool calls collected in real user sessions - GermainUX

Looking to connect AI assistants and agents to GermainUX data? See the GermainUX MCP Server. To configure GermainUX itself with a browser agent, see Configure GermainUX with WebMCP.

What Is WebMCP

WebMCP lets a web page expose structured tools to AI agents running in the browser. Instead of simulating clicks and typing on the page (actuation), an agent calls a tool the page has registered, such as checkout or filter_results. WebMCP provides:
CapabilityDescription
DiscoveryPages register the tools that agents can use.
JSON SchemasEach tool defines its expected inputs and outputs.
StateThe agent and the user share the same page context.
Pages can register tools in two ways:
APIDescription
Imperative APITools are registered with JavaScript.
Declarative APITools are defined by annotating HTML forms.
GermainUX monitors tools registered either way, but captures more detail for tools registered with JavaScript. See What Is Captured for Each Kind of Tool. WebMCP is designed for human-in-the-loop use: the user stays in the browser while the agent works on the page.

Monitoring Components

ComponentRole
GermainUX RUM JSCollects WebMCP tool calls when the GermainUX monitoring script can be deployed in the application.
GermainUX RUM ExtensionCollects WebMCP tool calls when RUM JS cannot be deployed directly. It runs the same monitoring script.
GermainUX JS Profiler (optional)Doesn’t collect tool calls itself. Adds deeper JavaScript, browser, error, and network evidence when a WebMCP problem needs technical investigation.

Collected Data

GermainUX monitors AI agents calling the tools provided within a web page. Each tool call is recorded as an AI:Tool Call fact under the AI Tool Call KPI. Each fact also includes the usual session, user, application, and browser information collected by browser monitoring.
Details of an AI Tool Call fact showing the tool's inputs and output as JSON

Details of one AI tool call, with its inputs and output - GermainUX

What Is Captured for Each Kind of Tool

How much GermainUX can capture depends on how and when the page registered the tool:
DataTools registered with JavaScript after the monitoring script loadsDeclarative (HTML form) tools, and tools registered before the monitoring script loads
Name and timestampYesYes
DurationYesNo (recorded as 0)
Inputs and outputYesNo
Success, error, and cancellationYesNo
Details of a failed AI Tool Call fact showing the tool's inputs, output and error message as JSON

Details of a failed AI tool call, with its error - GermainUX

To capture full details for every call, load the monitoring script as early as possible, before the page registers its tools.

Out-of-the-Box Alerts

The AI Tool Call KPI includes two SLAs, evaluated per tool:
  • Error SLA (red): a tool call failed.
  • Warn SLA (orange): a tool call took longer than 5 seconds.
You can adjust these SLAs, or create watches to receive notifications when WebMCP activity meets conditions of interest.

Capabilities

GermainUX helps teams:
  • See which WebMCP tools are used in real user sessions.
  • Identify tool calls that fail, are cancelled, or are slow.
  • Determine which users, sessions, pages, and workflows involve AI agents.
  • Correlate WebMCP activity with user interactions, JavaScript errors, network requests, and Session Replay.
  • Use the JS Profiler, if deployed, to investigate the JavaScript and browser activity around a tool call.

Common Use Cases

WebMCP Monitoring can support applications that expose tools to agents for:
  • Customer support flows.
  • Travel booking.
  • Checkout and eCommerce.
  • Structured forms and applications.
  • Date selection.
  • Running diagnostics.

Business Benefits

WebMCP Monitoring helps organizations:
  • Understand how AI agents interact with their web applications.
  • Detect failing or unreliable tools before they affect more users.
  • Measure the users and business workflows that rely on agents.
  • Identify where agents and users struggle to complete a task.
  • Prioritize tool improvements according to frequency and business impact.
  • Validate whether a correction resolved the problem.

Analytics

GermainUX can analyze WebMCP activity through KPIs, measures, pivots, trends, drill-through views, and session context.
Analysis areaExamples
UsageTools called, by page and application
ReliabilityFailed and cancelled tool calls, recurring errors, and slow tools
ImpactAffected users, sessions, pages, and workflows
EnvironmentApplication, release, browser, operating system, and device
User contextClicks, navigation, page activity, and Session Replay
Technical contextJavaScript errors, long tasks, and related network activity

Requirements

WebMCP must be available in the user’s browser:
  • Chrome 149 or later through the WebMCP origin trial.
  • For local testing, enable chrome://flags/#enable-webmcp-testing.
WebMCP is controlled by the tools Permissions Policy, which defaults to self. Cross-origin iframes need allow="tools" to expose tools. GermainUX RUM JS or the RUM Extension must be deployed on the application, with WebMCP monitoring turned on. See Deployment and Configuration.

Limitations

  • WebMCP is a proposed standard and may change.
  • WebMCP is designed for human-in-the-loop use, not headless agents.
  • Agents discover tools only when they visit the site.
  • Complex user interfaces may need extra work to expose as tools.
  • Duration, inputs, output, and failures are only captured for tools registered with JavaScript after the monitoring script loads. See What Is Captured for Each Kind of Tool.

Privacy and Security

When WebMCP monitoring is turned on, tool inputs and outputs are stored exactly as the tool received and returned them, in the fact’s Details. They are not masked, and Session Replay masking doesn’t apply to them.
Before turning on WebMCP monitoring:
  • Review which tools your pages expose, and whether their inputs or outputs can contain personal or sensitive information.
  • Only turn on WebMCP monitoring for applications where storing that information is acceptable.
  • Restrict access to detailed user and technical evidence.
  • Apply appropriate retention and compliance requirements.
  • Review the Chrome guidance on secure tools.

Deployment and Configuration

WebMCP monitoring is off by default.
1

Deploy browser monitoring

Review Browser Monitoring and the Browser Monitoring Deployment Overview. Then deploy GermainUX RUM JS if the monitoring script can be added to the application, or the GermainUX RUM Extension if it can’t.
2

Turn on WebMCP monitoring

Add this line to the monitoring profile’s init script:
See Browser Monitoring configuration for other settings.
3

Check that tool calls arrive

Have an AI agent call one of the page’s tools, then open the AI Tool Call KPI and check that the call is listed.
4

Optional: deploy the JS Profiler

Deploy the GermainUX JS Profiler for deeper diagnostics around tool calls.

Get Help

Contact GermainUX Support

The GermainUX team helps you get up and running faster, empower your team, turn data into actionable insights, and optimize performance to deliver measurable business outcomes.

Can't Find What You Need?

Search all GermainUX docs with Ctrl + K, or use the feedback buttons at the bottom of this page to tell us what is missing.

The content of this document is proprietary to GERMAIN SOFTWARE.