Why did we not use REST HATEOAS instead of MCP
A fieldmappings.com benchmark of HTML HATEOAS versus MCP on a 12-action demo and store found HTML had 0 failed calls to MCP's 4, using 14,780 vs 10,335 bytes.
By Dillip Chowdary • Dec 06, 2026 • Source: fieldmappings.com

At a glance
- Store tested
- The Field Map (carts, checkout, payments, returns)
- Workflow scope
- 12-action order demo and /mcp store endpoint
- Mug purchase
- HTML 6 requests (14,780 B) vs MCP 8 requests (10,335 B)
- Up-front discovery
- HTML 3,534 B home page vs MCP 4,860 B tool catalog
- Invalid step test
- MCP 4 rejected calls vs HTML 0 failed requests
- Test conditions
- Test-mode payments and scripted clients
In this post
In a benchmark published on fieldmappings.com, a software developer with 30 years of experience tested why AI agent integrations use the Model Context Protocol instead of REST hypermedia. fieldmappings.com's report compares plain HTML links and forms against an MCP server across a 12-action demo and a live merchandise store called The Field Map. The experiment measures request counts, byte payloads, and invalid server calls to examine whether technical limits or business incentives drove the shift.
This comparison covers the architecture, benchmark numbers, and engineering tradeoffs between HATEOAS and MCP using the store's shared backend rules. It is written for backend engineers, API designers, and AI agent builders deciding how services should expose state-dependent actions to automated clients.
01Roy Fielding hypermedia versus MCP tool catalogs
Roy Fielding introduced REST in 2000 with hypermedia as the engine of application state, known as HATEOAS. Under this model, a server returns the current resource state alongside only the links and forms that are valid from that state. Web browsers have operated this way for decades, letting users see available actions on each page without reading a manual beforehand.
The Model Context Protocol takes a different approach to service discovery for AI agents. When an agent connects to an MCP server, the server delivers a full catalog of every tool it supports along with a JSON schema for each tool. The agent selects a tool and invokes it, discovering only after the call whether that action makes sense in the current state.
The author drew a parallel to an earlier essay, We Already Had the Protocol, which examined why RSS lost ground despite working well. RSS faded because nobody could sell ads against a feed controlled by the reader. To test whether hypermedia was skipped for technical or business reasons, the author built a measurable side-by-side system.
02Dual-interface demo and The Field Map store
The test began with a small order workflow containing 12 actions exposed through two separate interfaces. One interface ran as a minimal MCP server, while the other served plain HTML using standard anchor links and form elements as described in the REST dissertation. That initial prototype established how both protocols handle identical workflow transitions before scaling up to a storefront.
The author then built The Field Map, a store selling physical merchandise with digital guides planned to come later. The storefront supports shopping carts, checkout flows, payments, cancellations, and returns. Human shoppers interact with the store through a web browser, while automated agents connect through /mcp, with both interfaces running on the same database and the same order rules.
03Request counts, byte payloads, and invalid calls
| Metric | HTML | MCP |
|---|---|---|
| Requests | 6 | 8 |
| Bytes client read | 14,780 | 10,335 |
| Up-front discovery | 3,534 (the home page) | 4,860 (the tool catalog) |
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
Purchasing a single mug at The Field Map required 6 requests over HTML compared with 8 requests over MCP. However, the MCP client read 10,335 bytes in total while the HTML client read 14,780 bytes, because HTML pages include navigation, labels, and markup that a model does not need. Up-front discovery cost 3,534 bytes for the HTML home page versus 4,860 bytes for the MCP tool catalog.
Two details in the MCP payload column stood out during the test. The tool catalog consumed nearly 5 KB before the agent took any action, and that overhead grows with every tool added. Additionally, the MCP specification states that a tool returning structured data should also return the same data as serialized text for older clients, so each tool result carried its data twice.
When the author replayed the same run with 4 steps that were invalid in the current order state, the error rates diverged sharply. The MCP client sent 4 calls and the server rejected all 4 of them. The HTML client recorded 0 failed requests because the 4 invalid steps were never rendered on the page, leaving nothing to click.
Note: Payments at The Field Map were in test mode using test cards, and both interfaces were driven by scripted clients rather than a model making its own choices. The author plans to run a follow-up test using a real agent against both sides of the store.
04State machine rules and bolted-on action lists
According to the author, hypermedia lost adoption not because it fails to work, but because it takes more effort to practice. JSON over RPC lets teams ship an endpoint per action and move on. Hypermedia forces engineers to answer what a client can do next from every specific state, which requires understanding the state machine the business actually runs on.
While implementing the MCP interface safely, the author found that the same state-machine work could not be avoided. Every order returned by the MCP server included an available_actions list, showing ["pay", "cancel"] before payment and ["cancel"] afterward. One function in the store computed that list from the order's state and simultaneously decided which buttons appeared on the HTML order page.
That overlap showed the author had still done the hypermedia design work and then bolted its result onto a protocol that does not carry it natively. As the author noted, MCP does not remove the work required for a reliable agent integration, and instead makes it optional, meaning "optional work gets skipped when there's a deadline."
05Short-term shipping speed versus long-term resilience
The author concluded that the preference for MCP over hypermedia stems from short-term thinking rather than technical limitations. HTML forms have described valid actions, valid values through <select> options, minimum and maximum bounds, and submission targets since the mid-1990s. An agent reading the store can use those standard HTML controls today.
JSON over RPC is faster to ship within a single quarter, and a new protocol gives everyone something to announce. Hypermedia pays off over years through clients that do not break when workflows change and fewer wrong calls to debug. The author concluded that every time teams build a new way for clients to discover what they can do, they end up "reinventing the link and the form."
Frequently asked questions
How many requests and bytes did HTML and MCP use to buy one mug?
Buying one mug at The Field Map took 6 requests and 14,780 bytes over HTML, compared with 8 requests and 10,335 bytes over MCP. Up-front discovery accounted for 3,534 bytes on the HTML home page and 4,860 bytes for the MCP tool catalog.
Why did MCP have 4 rejected calls while HTML had 0 failed requests?
When the benchmark replayed 4 invalid workflow steps, the MCP client sent all 4 calls and the server rejected them. The HTML interface never rendered links or forms for those invalid steps, so the client had 0 failed requests.
Why did MCP return duplicate data in its tool responses?
The MCP specification states that a tool returning structured data should also return the same data as serialized text for older clients. As a result, each MCP tool result in the benchmark carried its data twice.
Were the benchmark tests run with a live AI model and real payments?
No, the measurements used scripted clients and test-mode payments with test cards. A follow-up test using a real AI agent against both the HTML and /mcp interfaces is planned next.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement