switchai.it WebMCP audit

audited Aug 28, 2026in 5s
66/ 100

4 tools registered. Strongest in usefulness, weakest in human experience.

WebMCP use80
Usefulness88
Human experience0
about:blank

No agent run recorded yet.

No steps recorded

Tools

/
calculate_energy_savings: warning

calculate_energy_savings

Confronta tariffe Luce/Gas e calcola il risparmio annuo. Accetta il testo di una bolletta (bill_text) oppure dati già estratti. MODALITÀ 1 (bolletta): passa commodity + bill_text — il tool estrae automaticamente consumi, spesa e zona. MODALITÀ 2 (dati noti): passa commodity + yearly_consumption_kwh + current_annual_spend + zone. ESEMPIO: {commodity:'LUCE', yearly_consumption_kwh:2700, zone:'NORD', current_annual_spend:850}Answers a question. Declared read only.
pagehttps://www.switchai.it/
implementation
viaimperative
entry pointdocument
registered after775ms
executepresent
api surface
commodityrequired
bill_textoptional
yearly_consumption_kwhoptional
yearly_consumption_smcoptional
zoneoptional
current_supplieroptional
current_annual_spendoptional
annotations
read onlytrue
destructivenot declared
idempotentnot declared
open worldnot declared
untrusted contenttrue
titlenot declared
1 finding
warningHuman parity
0 / 8
4 of 4 tools run through the JavaScript API with no visible counterpart, so the person co-browsing cannot see what the agent is offered. Declarative forms (or at least a title annotation) close the gap.
calculate_energy_savings, parse_energy_bill, get_available_offers, get_market_indices
fix
<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="calculate_energy_savings" tooldescription="...">
  <!-- the same action, as UI -->
</form>
tool json
{
  "name": "calculate_energy_savings",
  "description": "Confronta tariffe Luce/Gas e calcola il risparmio annuo. Accetta il testo di una bolletta (bill_text) oppure dati già estratti. MODALITÀ 1 (bolletta): passa commodity + bill_text — il tool estrae automaticamente consumi, spesa e zona. MODALITÀ 2 (dati noti): passa commodity + yearly_consumption_kwh + current_annual_spend + zone. ESEMPIO: {commodity:'LUCE', yearly_consumption_kwh:2700, zone:'NORD', current_annual_spend:850}",
  "inputSchema": {
    "type": "object",
    "properties": {
      "commodity": {
        "type": "string",
        "enum": [
          "LUCE",
          "GAS"
        ],
        "description": "LUCE per elettricità o GAS per gas metano",
        "default": "LUCE"
      },
      "bill_text": {
        "type": "string",
        "description": "(Solo se hai il testo della bolletta) Passa il testo completo per estrarre automaticamente i dati."
      },
      "yearly_consumption_kwh": {
        "type": "number",
        "description": "Consumo annuo in kWh (LUCE). Es: 2700.",
        "default": 2700
      },
      "yearly_consumption_smc": {
        "type": "number",
        "description": "Consumo annuo in Smc (GAS). Es: 1000.",
        "default": 1000
      },
      "zone": {
        "type": "string",
        "enum": [
          "NORD",
          "CENTRO",
          "SUD"
        ],
        "description": "Zona tariffaria italiana.",
        "default": "NORD"
      },
      "current_supplier": {
        "type": "string",
        "description": "Nome fornitore attuale es: 'Enel Energia'"
      },
      "current_annual_spend": {
        "type": "number",
        "description": "Spesa annua in € es: 850",
        "default": 650
      }
    },
    "required": [
      "commodity"
    ]
  },
  "annotations": {
    "readOnlyHint": true,
    "untrustedContentHint": true
  }
}
Showing calculate_energy_savings

Findings

WebMCP use

80 / 100 · weight 50
passTools registered
4 / 4
4 tools registered across 1 page.
failReal-browser eligible
0 / 8
The page's code registers these tools, but a real visitor's browser does not get them yet: WebMCP needs a native modelContext or a current origin trial token, and this page has neither.
passRegistration timing
4 / 4
Every measured tool registered within 777.1800000667572ms of navigation.
toolget_market_indices
passCanonical entry point
4 / 4
All 4 tools register on the canonical document.modelContext entry point.
passSchema validity
5 / 5
All 4 tools declare a structurally valid object input schema.
passSchema quality
4 / 4
All 4 tool schemas describe their parameters and stay within Chrome's size guidance.
passStub detection
5 / 5
All 4 tools declare an execute handler.
passAnnotations present
4 / 4
All 4 tools declare a readOnlyHint, so an agent knows which calls change state.
passAnnotation mismatch
3 / 3
No tool claims to be read-only while its name says it writes (4 declared hints checked).
not applicableUntrusted content hint
0 / 2
No tool's contract suggests it returns text written by somebody other than the site, so there is nothing to flag as untrusted.
passRegistration errors
2 / 2
No tool registration threw during the capture.
warningToolchange coherence
1 / 2
4 tools were registered but the page never dispatched a toolchange event, so an agent subscribed to registry updates never learns they exist.
fix
document.modelContext.dispatchEvent(new Event("toolchange"));
not applicableInjection surface
0 / 3
The injection-surface model hop returned no usable result, so tool contracts were not reviewed for injection surface.

Usefulness

88 / 100 · weight 30
warningNaming quality
1.8 / 2
Tool naming makes selection harder than it needs to be: 1 name does not start with a verb (parse_energy_bill).
toolparse_energy_bill
fix
{ name: "parse_energy_bill" /* short, unique, verb-based */ }
not applicableDescription quality
0 / 6
The description-quality model hop returned no usable result, so descriptions were not rated.
not applicableTool selection
0 / 14
The tool-selection model hop returned no usable result.
not applicableCoverage vs. site type
0 / 8
This tool set does not place the site in a category with a known expected tool shape, so there is no coverage baseline to score it against.

Human experience

0 / 100 · weight 20
warningHuman parity
0 / 8
4 of 4 tools run through the JavaScript API with no visible counterpart, so the person co-browsing cannot see what the agent is offered. Declarative forms (or at least a title annotation) close the gap.
toolcalculate_energy_savings
calculate_energy_savings, parse_energy_bill, get_available_offers, get_market_indices
fix
<!-- Give the tool a visible counterpart: a declarative form is one the person can see and use too. -->
<form toolname="calculate_energy_savings" tooldescription="...">
  <!-- the same action, as UI -->
</form>
not applicablePage experience
0 / 12
The page-experience model hop returned no usable result, so the page was not graded.

Tool selection

The tool-selection model hop returned no usable result.
how this was captured
chrome
148.0.7778.96
capture shim
v1
spec snapshot
2026-08
mode
fast
pages
1
tools
4
run time
5s
finished
Aug 28, 2026