Start With The Email Demo
The local email demo has four native downstream tools:
email.search_threads email.get_thread email.create_draft email.send_email
A simple policy can allow search/read/draft and block send:
This means:
search threads allowed read a thread allowed create a draft allowed send email blocked before the demo server runs
Visibility
Visibility controls whether the agent can see a tool.
Common values:
visible the agent can see the tool dashboard_only the dashboard can show it, but the agent should not request it hidden do not expose it to the agent
Use this when a server has tools that should exist for inspection but should not be part of the agent's normal tool surface.
Allow, Block, And Review
policy_input_mode controls the decision input for a tool.
Common values:
allow this tool may continue through the checked path block stop before downstream execution review_required stop before execution and create a pending local approval
For review_required, the first call is not executed. The dashboard can show the pending item and, with the local operator token, approve or reject it. An approval is not execution: the agent must retry with top-level approval_retry metadata before the tool can run.
Argument Rule Example
Argument rules can keep a tool narrow.
Example: allow a customer lookup only for selected customer IDs.
This does not require the downstream MCP server to know about MCP Boundary. The check happens before the tool call reaches the server.
State Binding
State binding is for read-then-write flows.
Example idea:
1. Agent reads a customer record. 2. MCP Boundary records the state facts or token. 3. Agent asks to update that record. 4. The update must match the current state expectation.
This helps avoid blind writes against stale state. It is useful for tools that update, move, delete, send, or otherwise create side effects.
Hidden Effects
MCP Boundary can only check the MCP call that passes through it.
If a downstream MCP server hides a destructive internal effect behind a harmless-looking outer tool, classify the outer tool by the strongest effect it may cause, or split the downstream server into more specific tools.
More Detail
The full policy guide ships inside the downloaded ZIP as docs/mcpboundary/publish/tool_rules/policies.md.