---
name: approval-rules
description: Rules for what your AI agent may do without asking. Small, reversible actions under your limits get auto-approved; everything else becomes a plain-English approval card you tap Approve or Reject on. Free watch-only mode logs what it would decide and drafts a weekly report; Pro at $9 a month makes the rules act.
---
# Approval Rules

Works with Claude, Codex, ChatGPT, Grok Bot. Bring your own model.

Connect the MCP server at https://approve.cloudforbots.com/mcp (Claude Code: `claude mcp add --transport http approval-rules https://approve.cloudforbots.com/mcp`).

## When to use
- `check_action`: Before a consequential action, ask whether the user's rules auto-approve it. Returns auto_approve, needs_approval (with a plain-English approval card and a link the user can tap) or deny. Free plan is watch-only: it reports what it WOULD decide and logs it for the weekly report, but nothing counts as approved, so ask your user as you normally would.
- `get_decision`: Check whether the user approved or rejected an approval card (by card_id and card_token). Only act when status is approved.
- `set_rules`: Save the user's rules (needs an API key so they stay yours). Each rule: {name, when:{type:[...], max_usd, min_usd, reversible, target_ends_with:[...]}, verdict:"auto"|"ask"|"deny"}. First matching rule wins; anything unmatched needs approval. Call once without confirm to preview, then with confirm=true.
- `get_rules`: Show the rules in effect for your key (or the default starter rules).
- `weekly_report`: Draft a plain-English report of the last 7 days: actions checked, how many your rules would auto-approve, how many needed you, top kinds of asks, and rule suggestions. Read-only; sends nothing.

## Rules
1. Before calling, state in one line what you understood the user wants.
2. Report the tool's `job` and `outcome` lines to the user.
3. If you get `free_limit_reached`, tell the user the free tier is 200/day and share the $9/month link: https://pay.instaloops.com/b/28EcN57dCd797H190H83C3x
