Join the early access program
Browse documentation
ReferenceIntermediate

WebMCP

Botonom pages declare what they can do to an AI agent running in the same browser tab. Which tools are exposed, what they can and cannot do, and how to see them.

5 min read0 viewsUpdated 2026-09-15
JuliaGuide Assistant

This guide begins with What this is, continues through The tools we expose, Seeing them today, What they cannot do, and finishes with In-page tools or the MCP server.

What this is

An AI agent working inside a visitor's browser tab does not have to guess what a Botonom page offers. The page declares its own capabilities to the browser, and the agent calls them like functions: no screenshots, no DOM parsing, no scraping.

This is WebMCP, and the entry point is document.modelContext. Nothing is installed and no key is issued: the agent works inside the session the person already has, with no separate sign-in.

Every tool we expose is read-only. They answer questions about the catalogue, pricing and documentation, and they cannot change anything in a workspace.

This page covers what Botonom exposes. For the standard itself, what is not settled yet, and how to declare your own site's actions, read Ready Your Web App for WebMCP.

This is the in-page half. When no browser is involved, an assistant connects to our MCP server instead: Connect Botonom to Claude, ChatGPT and other assistants.

The tools we expose

Five tools are available on every page. Two more appear only on their own page and are withdrawn when the visitor leaves it.

ToolWhat it answersWhere
botonom_search_agentsThe catalogue of AI employees, with role, category and monthly salaryevery page
botonom_search_skillsSkills and integrations an agent can be equipped withevery page
botonom_get_pricingPlans, token pools, agent salaries, trial length, annual discountevery page
botonom_estimate_planWhich plan covers a given monthly conversation volumeevery page
botonom_search_docsThis documentation, by title, summary and tagevery page
botonom_score_ai_readinessRuns the AIQ assessment and draws the report on screen/en/tools/aiq
botonom_prepare_contact_requestDrafts the contact form and focuses Send/en/contact

botonom_estimate_plan runs the same calculator the pricing page renders from, so a tool answer and the page can never disagree about the same workload.

botonom_score_ai_readiness is the one that shows what in-page tools are for: it scores the assessment and renders the report, so the agent and the person end up reading the same screen.

Seeing them today

WebMCP is a W3C Community Group draft and Chrome keeps it behind an origin trial. In an ordinary browser document.modelContext is undefined and our pages register nothing, which is the intended behaviour rather than a fault.

Today the tools can be called by Chrome started with the WebMCP flag, and by the ChatGPT desktop app's own browser with site tools enabled.

To look for yourself, start a separate Chrome with the flag:

"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"   --enable-features=WebMCP   --user-data-dir=/tmp/webmcp-profile   https://botonom.com/en/pricing

Then, in that page's console:

(await document.modelContext.getTools()).map(t => t.name)

To run one, pass the arguments as a JSON string:

await (async () => {
  const tools = await document.modelContext.getTools();
  const tool = tools.find(t => t.name === "botonom_get_pricing");
  return JSON.parse(await document.modelContext.executeTool(tool, "{}"));
})()

What they cannot do

Each limit below is enforced by the code that runs the tool.

  • They cannot submit a form or contact anyone. The contact tool fills the fields and focuses the Send button. It has no path to the submit handler and never touches the consent checkboxes, so the visitor still reads the draft and presses Send.
  • They cannot spend money. No checkout, no hiring, no plan change, no token spend.
  • They cannot read a signed-in session. Every answer comes from data already public on the site.
  • They cannot act inside a workspace. Listing agents, running tasks and approving work belong to the MCP server, where each permission is approved explicitly.
Botonom is a WebMCP provider: we declare the tools. Having our agents call other sites' WebMCP tools from a browser is a separate subject and outside the scope of this page.

In-page tools or the MCP server

Both exist and they answer different needs.

In-page tools (WebMCP)MCP server
Runs inThe visitor's browser tabYour assistant, over HTTP
IdentityThe session the person already hasOAuth, with permissions you approve
ReachesPublic site data, plus what the page is showingYour workspace: agents, runs, instructions
Works whenA person is present, in a compatible browserAlways, including scheduled jobs
Set-upNoneConnect once

If the value is tied to the page, the in-page tools are the right thing. For anything that touches a workspace or must run without a browser, use the server: https://mcp.botonom.com/mcp, documented in Connect Botonom to Claude, ChatGPT and other assistants.

If you do not see what you expect

document.modelContext is undefined. The browser does not expose the API. Start Chrome with --enable-features=WebMCP, and note the flag only applies to a Chrome started fresh with its own --user-data-dir.

getTools() returns an empty list. You are on a page that registers nothing, such as an embedded widget, or the document is not a secure context.

The AIQ or contact tool is missing. Those two register only on /en/tools/aiq and /en/contact. Leaving the page withdraws them by design.

executeTool fails with "Failed to parse input arguments". The arguments must be a JSON string, not an object. Use JSON.stringify(args).

A tool call is refused. Each handler validates its own input: the AIQ tool needs all fifteen answers, and the contact tool needs a valid category plus a subject and a message. The error text says which.

Try it live

Test the endpoints from this article in the API Playground.

Open Playground
webmcpagentsbrowsertoolsmcp

Start hiring in three steps

No interviews, no onboarding calls. Just browse, hire, and let them work.

01

Browse Employees

Explore our AI talent pool. Filter by role, department, or industry to find the perfect candidate for your team.

02

Hire & Onboard

Select your AI employees and equip them with skills. Pick the plan that fits your headcount, no config needed.

03

Watch Them Work

Your agents handle tasks 24/7. Monitor performance, adjust skills, and scale your workforce anytime.

No credit card requiredSet up in 5 minutesCancel anytime