One tool registered. Strongest in WebMCP use, weakest in human experience.
No agent run recorded yet.
// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });{ name: "scan_site" /* short, unique, verb-based */ }scan_site<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="scan_site" tooldescription="...">
<!-- the same action, as UI -->
</form>{
"name": "scan_site",
"description": "Scan a website for AI agent readiness. Returns a readiness level (0-5), results for all checks across 5 categories (discoverability, content, bot access control, discovery, commerce), and fix instructions for failing checks.",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "The URL of the website to scan for agent readiness"
}
},
"required": [
"url"
]
},
"annotations": {
"readOnlyHint": true
}
}// Use the canonical entry point - navigator.modelContext is deprecated.
document.modelContext.provideContext({ tools: [/* ... */] });document.modelContext.dispatchEvent(new Event("toolchange"));{ name: "scan_site" /* short, unique, verb-based */ }scan_site<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="scan_site" tooldescription="...">
<!-- the same action, as UI -->
</form>