Scope of `consequentialHint` for high-risk read tools
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- html
- Domain
- api
Research direction
Start by reading the WebMCP spec definition of consequentialHint and the linked pull request 217, then review the six comments for agreement on the scope. Decide whether to extend the hint to cover high-risk data exposure or define a separate sensitive-data hint; done means the spec clearly distinguishes the relevant consent risks and defines the chosen hint.
Written by the indexing model from the issue text.
Description
The current WebMCP spec defines consequentialHint (introduced in https://github.com/webmachinelearning/webmcp/pull/217) as:
"If true, indicates that executing the tool will result in consequential actions that are significant, real-world, or non-reversible, ex: booking a flight, transferring money."
This definition focuses on mutative operations (write actions) but leaves high-risk read-only operations ambiguous.
Many tools do not alter state but retrieve highly sensitive, restricted, or regulated user data. Letting an agent execute these silently without user confirmation introduces severe privacy and security risks.
| Tool Example | Risk Category | Potential Impact |
|---|---|---|
readUserAddress |
Location Privacy | Exposes the user's physical, real-world location. |
readBankAccountBalance |
Financial Privacy | Reveals net worth, enabling targeted financial exploits. |
readApiKey |
Security Credentials | Exposes secrets that grant permanent external write access. |
readMedicalHistory |
Regulated Data | Exposes highly sensitive health records (e.g., HIPAA). |
I'd be in favor of updating consequentialHint to explicitly include high-risk data exposure with something like:
*"If true, indicates that executing the tool or disclosing its results will lead to significant, real-world, non-reversible, or high-privacy-risk consequences (e.g., booking a flight, transferring money, or exposing credentials and medical records)."
OR we could also introduce a new hint (e.g., sensitiveDataHint) to keep consequentialHint strictly reserved for side-effect-producing mutations, and introduce a separate, parallel hint specifically for data access risks. This would allows agents to differentiate their consent UI (e.g., "This tool will execute an action" vs. "This tool will read sensitive information").
@johannhof
- Dominant language
- Bikeshed
- Stars
- 4.7k
- Forks
- 328
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 16
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from webmachinelearning/webmcp
-
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
webmachinelearning/webmcp#360 ·
Maintainers usually reply within 1 day
-
Say how an agent should weigh annotations that the page wrote about itselfPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
webmachinelearning/webmcp#353 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
webmachinelearning/webmcp#343 · 1 reaction ·
Maintainers usually reply within 1 day
-
Agenda+ i18n-tracker
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
webmachinelearning/webmcp#273 · 3 comments ·
Maintainers usually reply within 1 day
-
a11y-tracker Agenda+
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
webmachinelearning/webmcp#272 · 4 comments · 2 reactions ·
Maintainers usually reply within 1 day
All issues in webmachinelearning/webmcp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
zach-blumenfeld/aip#13 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
endora-commerce/endora-commerce#397 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NVIDIA-Omniverse/usd-brep#23 ·
-
documentation good first issue hacktoberfest python
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
pollen-robotics/reachy_mini#1493 ·
Maintainers usually reply within 1 day