Your agent can use the WebMCP tools or click the page’s buttons. The tools are the predictable path.
Signed tool requests have known limits and skip the bot filter. The buttons have stricter bot checks, and an agent that uses them can be refused. You and your agent share one account and see the same bookings.
What happens when a table is booked
In your browser, signed in to your account
You Buttons and forms You search, pick a time and book.
Your agent WebMCP tools The agent calls them by name and gets the results back as data.
search_restaurants check_availability create_reservation
↓ ↓
Same booking API Clicks and tool calls both send requests to this API.
↓ HTTPS with your login cookie Tool requests also send two headers, X-Agent-Session and a signed X-Agent-Proof (explained below).
On Cloudflare
Bot filter, firewall and request limits Signed tool requests skip only the bot filter, on the allowed routes. They still need a valid login and valid agent headers.
↓
Cloudflare Worker (the booking API) It checks that the request is for this domain and in the expected format, that changes come from this site, and that tool requests have a valid signed proof. Then it passes the request to your account’s storage.
GET /api/restaurantsGET /api/availabilityGET / POST /api/reservations
↓
Your account’s storage Each account has its own Durable Object (a Cloudflare instance with its own database). It checks your login session and, for tool requests, the reference, its expiry, the allowed endpoint and the quota.
SQLite storage Sessions and agent references · reservations · usage and activity
Atomic writes and unique constraints prevent double-booking. Idempotency keys mean a repeated booking request only books once.
The saved booking is sent back and shown on the page.
For people The page still works like a normal booking page, and you can see what the agent did. Signing out ends your session and the agent’s access to your account.
For agents The agent gets a list of actions and the inputs each one takes, so it doesn’t have to read the screen. No password goes into a tool call.
webmcp.com is a resource for WebMCP. You can learn what it is, get help building tools for your own site, and browse websites that already use it, including each site’s tools and their schemas. It can also scan your site, suggest tools and grade the ones you have.
How authentication and limits work +
You sign in on the page. When you sign in or create an account, the server checks a Turnstile challenge (Cloudflare’s bot check). The browser then sends a Secure, HttpOnly session cookie with each API request. Some tools only appear after sign-in, and the booking tool asks you to sign in if needed.
The page gets an agent reference. When a tool first needs the booking API, the page calls POST /api/agent-session with your login cookie and gets back an ID, the agent reference, tied to that session for 15 minutes. It sends that as X-Agent-Session, with a signed X-Agent-Proof for that method and path. These values and your password never appear in tool results.
The server limits tool requests. They can only search restaurants, check availability, and read or create reservations. A bad reference or proof is rejected, not treated as a normal request. A new reference doesn’t reset your account’s limits.
What this doesn’t prove: the agent headers only choose which rules apply. They don’t prove WebMCP was used or which agent sent the request. Any client can copy the format, but it still needs a valid login and goes through the same checks.
Bot protection Cloudflare blocks traffic it classifies as definitely automated and runs browser checks across the site. If a check stops you, the page asks you to verify your browser and then tries again. Booking with the page’s buttons also asks for a Turnstile check (Cloudflare’s bot check) and a short press-and-hold. If the booking looks automated, the server refuses it and can pause page bookings for that account for 30 minutes. Bot detection isn’t a guarantee: an automated browser that already passed a check can still get through.
In this session
Request activity + “App” means the application returned the response. “Upstream” alone does not prove a bot block; confirm with Cloudflare Security Events.