AI agents can already browse a site, find a form, type into it, and click Submit.

That works—until the button moves, the label is ambiguous, the form changes state, or the workflow spans six screens.

WebMCP proposes a better contract: let the page tell the agent which actions are available, what inputs they accept, and how to call them.

Instead of making an agent reverse-engineer the UI, a web app can expose tools such as:

search_emails