MCP vs RAG vs NLWeb vs HTML: A Comparison of the Effectiveness and Efficiency of Different Agent Interfaces to the Web (Technical Report)
On the map: LLM agents and tool use → Web, search, and research agents
Abstract (arXiv)
Large language model agents are increasingly used to automate web tasks such as product search, offer comparison, and checkout. Current research explores different interfaces through which these agents interact with websites, including traditional HTML browsing, retrieval-augmented generation (RAG) over pre-crawled content, communication via Web APIs using the Model Context Protocol (MCP), and natural-language querying through the NLWeb interface. However, no prior work has compared these four architectures within a single controlled environment using identical tasks. To address this gap, we introduce a testbed consisting of four simulated e-shops, each offering its products via HTML, MCP, and NLWeb interfaces. For each interface (HTML, RAG, MCP, and NLWeb) we develop specialized agents that perform the same sets of tasks, ranging from simple product searches and price comparisons to complex queries for complementary or substitute products and checkout processes. We evaluate the agents using GPT 4.1, GPT 5, GPT 5 mini, and Claude Sonnet 4 as underlying LLM. Our evaluation shows that the RAG, MCP and NLWeb agents outperform HTML on both effectiveness and efficiency. Averaged over all tasks, F1 rises from 0.67 for HTML to between 0.75 and 0.77 for the other agents. Token usage falls from about 241k for HTML to between 47k and 140k per task. The runtime per task drops from 291 seconds to between 50 and 62 seconds. The best overall configuration is RAG with GPT 5 achieving an F1 score of 0.87 and a completion rate of 0.79. Also taking cost into consideration, RAG with GPT 5 mini offers a good compromise between API usage fees and performance. Our experiments show the choice of the interaction interface has a substantial impact on both the effectiveness and efficiency of LLM-based web agents.
Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 15 references that are in the map. First posted on arXiv 28 Nov 2025.
Builds on
13 of 15 references.
Closest ancestors · 6
Same direction, newest first
- 2025REAL: Benchmarking Autonomous Agents on Deterministic Simulations of Real Websites15 Apr
- 2024The BrowserGym Ecosystem for Web Agent Research6 Dec
- 2024Beyond Browsing: API-Based Web Agents21 Oct
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agents25 Jul
- 2023Mind2Web: Towards a Generalist Agent for the Web9 Jun
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents4 Jul
Other references · 7
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,156
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,196
- 2025From LLM Reasoning to Autonomous AI Agents: A Comprehensive Reviewcited by 148
- 2025DeepShop: A Benchmark for Deep Research Shopping Agentscited by 44
- 2025ShoppingBench: A Real-World Intent-Grounded Shopping Benchmark for LLM-based Agentscited by 26
- 2025WebMall -- A Multi-Shop Benchmark for Evaluating Web Agentscited by 16
- 2025From Multi-Agent Systems and the Semantic Web to Agentic AI: A Unified Narrative of the Web of Agentscited by 7
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026From Question Answering to Task Completion: A Survey on Agent System and Harness Designcited by 9
- 2026The Workload-Router-Pool Architecture for LLM Inference Optimization: A Vision Paper from the vLLM Semantic Router Projectcited by 1
- 2026Designing Agent-Ready Websites for AI Web Agents: A Framework for Machine Readability, Actionability, and Decision Reliabilitycited by 0
- 2026AX is the New AEOcited by 0
- 2026AX is the New AEO28 Sep 2026
- 2026Designing Agent-Ready Websites for AI Web Agents: A Framework for Machine Readability, Actionability, and Decision Reliability13 Jul 2026
- 2026From Question Answering to Task Completion: A Survey on Agent System and Harness Design14 Jun 2026
- 2026The Workload-Router-Pool Architecture for LLM Inference Optimization: A Vision Paper from the vLLM Semantic Router Project22 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026A-RAG: Scaling Agentic Retrieval-Augmented Generation via Hierarchical Retrieval Interfaces
- 2025InfoDeepSeek: Benchmarking Agentic Information Seeking for Retrieval-Augmented Generation
- 2026Is Agentic RAG worth it? An experimental comparison of RAG approaches
- 2025WebLists: Extracting Structured Information From Complex Interactive Websites Using Executable LLM Agents
- 2024AutoScraper: A Progressive Understanding Web Agent for Web Scraper Generation
- 2024A Collaborative Multi-Agent Approach to Retrieval-Augmented Generation Across Diverse Data
- 2026Q2D-Web: A Large-Scale Benchmark for Retrieval in Agentic RAG Systems
- 2024RAG Playground: A Framework for Systematic Evaluation of Retrieval Strategies and Prompt Engineering in RAG Systems