Technical details
How AI access works
One set of facts per business, written by the owner. Three ways for AI to reach them: an MCP server for assistants, WebMCP tools on the business’s own website, and structured data for crawlers. Everything below is what the code does today.
The facts
Each business has one profile: a name, a public address (its slug), and facts: what it does, website, phone, email, area served, hours, address, services (each with an optional price range and unit), policies, and up to 20 questions and answers. The owner edits them in their account; they’re cleaned on every save (no markup, capped lengths, prices as numbers). Nothing is public until the owner switches the profile on.
The tools
The same tools are offered over MCP, WebMCP and the action endpoint. The owner can switch any of them off.
| Tool | What it does | Inputs | Stores anything? |
|---|---|---|---|
get_business_info | The business's facts as the owner wrote them: what it does, area served, hours, contact, services with prices, policies and FAQ. Call this first. | none | No |
answer_question | Find what the business's own facts say about a question (services, prices, area, hours, policies, FAQ). Returns the matching facts only; if nothing matches, says so and gives the contact details. | question* | No |
get_estimate | The published price range for one of the business's services. An estimate, not a quote: the business confirms the final price. | service* details | No |
check_availability | Open times for a service on the business's booking page, for the next days or one date (YYYY-MM-DD). If the business has no online booking, says how to arrange a time. | service date | No |
request_booking | Send the business a booking request for a service and a preferred time. It is a request: the business confirms it with the customer directly. Only call this when the customer has asked to book and given their name and an email or phone. | service* preferred name* email phone message | A request, emailed to the owner |
submit_lead | Pass the customer's question or job request to the business, who replies directly. Only call this when the customer has asked to be contacted and given their name and an email or phone. | name* email phone service message* | A request, emailed to the owner |
* required
Endpoints
| What | Address | Notes |
|---|---|---|
| MCP server | POST https://www.webenvisions.com/api/mcp/<slug> | Model Context Protocol, Streamable HTTP transport, stateless JSON responses. initialize, tools/list, tools/call, ping. No sign-in. |
| Facts | GET https://www.webenvisions.com/api/biz/<slug>/facts | The published facts, the enabled tools with their input schemas, the endpoints and schema.org LocalBusiness JSON-LD. CORS open, cached five minutes. |
| Action | POST https://www.webenvisions.com/api/biz/<slug>/action | Run one tool over plain HTTP: { "action", "input" } → { "ok", "text", "data"? }. What the connect script calls. |
| Connect script | https://www.webenvisions.com/connect.js?b=<slug> | Registers the tools with navigator.modelContext (WebMCP) and adds the JSON-LD when the page has none. |
Calling a tool over MCP
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_estimate", "arguments": { "service": "move-out clean" } } }
On the business’s website
<script src="https://www.webenvisions.com/connect.js?b=<slug>" async></script>
It sets no cookies, changes nothing visitors see, and sends nothing until an agent calls a tool. Try Web Envisions’ own: facts, MCP at https://www.webenvisions.com/api/mcp/webenvisions, and llms.txt.
Safety rules
- Tools answer only from the owner’s facts and booking page. A question the facts don’t cover gets the business’s contact details, never a guess.
- Prices are the owner’s published ranges, always labelled as estimates.
- A booking request is a request: it’s stored, emailed to the owner, and confirmed (or not) by the owner with the customer.
- Requests need the customer’s name and an email or phone, and are limited to 20 per business per hour.
- The call log keeps the tool, channel, outcome and time, not what the customer typed.
Questions or an integration in mind? Ask Zack.
Live · generative UI
Ask about the details
Ask how any part works. The panel explains it from the same facts as this page.
Technical pages can answer in a developer’s own words, too. How generative UI works

