Expose site actions
Built WebMCP tool suites that surfaced site actions as navigator.modelContext tools callable by LLM agents.
HUAWEI · WEB TECHNOLOGY LAB · 2026
I built the tooling and evaluation infrastructure used to study how LLM agents act across real web environments—and to separate model behavior from failures in the surrounding system.
THE QUESTION
Browser agents can fail because of the model, the page, the tool catalog, or the evaluation harness. The study needed infrastructure that could expose site actions consistently, compare five execution modes, and identify where a failure actually entered the stack.
MY ROLE
Built WebMCP tool suites that surfaced site actions as navigator.modelContext tools callable by LLM agents.
Engineered a Python evaluation harness with a site-injection proxy and automated tool verification across Docker-hosted sites.
Built and debugged browser-agent infrastructure for a WebArena A/B study spanning five modes and multiple models.
Followed errors across tool registration, dispatch, page state, and agent execution instead of treating every failed task as a model failure.
EVALUATION PIPELINE
Verification sits inside the pipeline, so a missing or misrouted tool call is visible before it is mistaken for agent behavior.
Site actions become browser-native tools.
A proxy injects tools and checks availability.
BrowserGym executes WebArena study modes.
Runs are classified before results are compared.
OUTCOME
Task success
Across benchmark runs, the improved tool and evaluation path raised average task success by 10% compared with baseline.
Token efficiency
The same workflow used 40% fewer tokens than baseline, reducing unnecessary reasoning and recovery work during evaluated tasks.
Metric scope: the percentages compare the WebMCP-enabled evaluation setup with the study baseline. Confidential study data, model-level results, and implementation details are intentionally omitted.
TAKEAWAY
Giving an agent better tools is only useful when tool registration, dispatch, page state, and scoring stay aligned. The most important work was building enough observability to tell those layers apart.