Comment by lovelearning

2 days ago

A website owner can publish their website's capabilities or data as "tools". AI agents and LLMs like ChatGPT, in response to user prompts, can consult these tools to figure out their next actions.

Example:

1. An author has a website for their self-published book. It currently checks book availability with their database when add to cart is clicked.

2. The website publishes "check book availability" and "add to cart" as "tools", using this MCP-B protocol.

3. A user instructs ChatGPT or some AI agent to "Buy 3 copies of author's book from https://theirbooksite"

4. The AI agent visits the site. Finds that it's MCP-B compliant. Using MCP-B, it gets the list of available tools. It finds a tool called "check book availability", and uses it to figure out if ordering 3 copies is possible. If yes, it'll next call "add to cart" tool on the website.

The website here is actively cooperating with the agent/LLM and supplying structured data. Instead of being a passive collection of UI elements that AI chatbots have to figure out based on UI layouts or UI captions, which are generally very brittle approaches.