Principle:1broseidon Ketch MCP Tool Annotations
| Knowledge Sources | |
|---|---|
| Domains | MCP, Tool_Annotations |
| Last Updated | 2026-10-27 00:00 GMT |
Overview
A pair of MCP annotation hints — `ReadOnlyHint` and `OpenWorldHint` — that declare each tool's network and mutation behavior so agents and clients can decide when to prompt or route.
Theoretical Basis
The MCP spec lets a tool declare two boolean hints: `ReadOnlyHint` (the tool does not mutate state) and `OpenWorldHint` (the tool talks to the open web / unbounded external systems). A client uses these to decide when to prompt for confirmation (a mutating tool) or when to assume the tool's effects are local (not open-world).
Ketch's six tools split cleanly: the five fetching tools (`search`, `code`, `docs`, `scrape`, `crawl`) are read-only open-world fetchers; `tag` is the exception in both directions — it mutates the local bookmark index and never touches the network. The annotations are attached at registration time and travel with the tool in `tools/list`.
Usage
Use when a tool set has a clean split between read-only fetchers and local mutators. Attach the hints at registration; do not leave them at the default (which clients may interpret as mutating + closed-world, the conservative case).