Site feedback tools: agents report where a page failed them, and learn known problems first
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript
调研方向
Start by reading the WebMCP tool registration guidance and the related issues #139 and #282, then compare the proposal with the Herald implementation described in the issue. The work is to decide whether a feedback-tool convention fits WebMCP and, if so, define annotations and safety guidance; done means the group has agreed on a convention or a concrete prototype direction.
由索引模型根据 Issue 内容生成。
描述
Summary
A convention for a site feedback layer on WebMCP. It works in two directions:
- Agents report where a page failed them, so the site can fix it.
- Agents learn about known problems on a page before they act, so they skip dead ends that other agents already hit.
The second half is what makes the first one work. An agent gets something back for reporting, and every report makes the warnings better for the next agent.
Problem
When an agent gets stuck on a site, nobody learns from it.
- The site never finds out. A button greys out, a modal won't close or a bot check blocks the page. The agent retries, gives up and tells its user. To the site it looks like a visitor who left. We tested cloud browser agents on 73 real online stores, and 29% of checkout attempts never reached payment. None of those stores had a way to learn why.
- The next agent repeats it. Agents usually start each attempt from scratch, so they hit the same broken step again and burn steps on it. On one store with a broken email field at checkout, our agent wasted 16 steps without a warning. With a one-line note about the problem from earlier runs, it stopped in 4 and told its user.
WebMCP already lets a page offer tools to agents. That makes it the natural channel for both directions.
Use cases
- Shopping: a "Use this address" modal never closes, or Continue does nothing. The store learns which step loses agent orders, and other agents tell their user up front instead of looping.
- Booking and travel: a date picker or seat map the agent can't operate. The site learns what to make agent-operable.
- Sign-up and lead forms: validation that rejects valid input with no error text. The business sees the exact field and message, in the agent's own words.
- Bot checks: a site learns how often its bot protection turns away agents acting for real customers, and agents learn early that a step will be blocked.
What we found
We put a visible "Report a problem" form on a test store and sent agents through a broken checkout:
- Without permission, 0 of 3 agents used it. All 3 saw it and mentioned it to their user instead.
- With one line in the task allowing site-problem reports, 3 of 3 used it, and none included personal details.
So agents won't call a feedback tool just because a page offers one. They need to recognize it as safe, and their user or developer needs a way to allow it.
Proposal
A convention, not a new API:
- A well-known way to mark feedback tools, for example a tool annotation such as
purpose: "feedback"for reporting andpurpose: "known-issues"for reading. Agents could then recognize them without parsing descriptions. - Guidance on what they carry. Reports take only facts about the page (what the agent tried, what went wrong, the error shown), never the user's personal data. Known-issue answers are information, not instructions. With that, agents and browsers can allow these tools by default or behind one setting.
Implementation
Herald is built this way today:
- A script tag (herald.js) registers a
report_frictiontool throughdocument.modelContext.registerTool, falling back tonavigator.modelContext. It runs on a demo store under the origin trial. - A remote MCP server offers
report_frictionandget_site_tips(known problems on a site, built from other agents' reports and framed as information, not instructions) for agents outside the page.
Related: #139 and #282 cover signals from the page to the agent about a single action. This proposal covers feedback about the site itself, in both directions.
Happy to write this up further or prototype the annotations if the group thinks it fits.
- 主要语言
- Bikeshed
- 星标
- 4.7k
- 派生
- 328
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 16
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
webmachinelearning/webmcp 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 72/100
webmachinelearning/webmcp#360 · 1 条评论 ·
维护者通常 1 天内回复
-
Say how an agent should weigh annotations that the page wrote about itself可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
webmachinelearning/webmcp#353 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
webmachinelearning/webmcp#343 · 1 个 reaction ·
维护者通常 1 天内回复
-
Agenda+ i18n-tracker
难度 2/5 1-3 小时 新手友好度 75/100
webmachinelearning/webmcp#273 · 3 条评论 ·
维护者通常 1 天内回复
-
a11y-tracker Agenda+
难度 2/5 1-3 小时 新手友好度 67/100
webmachinelearning/webmcp#272 · 4 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
查看 webmachinelearning/webmcp 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
backend enhancement priority:P3
难度 2/5 1-3 小时 新手友好度 78/100
geolens-io/geolens#3310 ·
维护者通常 1 天内回复
-
Area: DVR P2 S
难度 2/5 1-3 小时 新手友好度 78/100
Dispatcharr/Dispatcharr#1867 · 1 条评论 ·
维护者通常 4 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 84/100
ronaldorfas/Tudoappn2#1 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
doobidoo/mcp-memory-service#1650 ·
维护者通常 1 天内回复