{"ok":true,"name":"roastify_update_coupon","description":"Patch a coupon's editable fields. Pass only the fields you want to change. To set a cap to unlimited (NULL in the schema), pass ``clear_uses_per_patron=true`` or ``clear_total_uses=true``. Renaming the code is allowed — existing patron redemption rows survive (they key on coupon id). ``tool_ids`` replaces the coupon's binding — tool ids or MCP tool names, ``[\"*\"]`` for every paid tool, ``[]`` to unbind it. RESTRICTED to operator — requires proof.","inputSchema":{"type":"object","required":["coupon_id"],"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A new code for patrons to type."},"tool_ids":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"The tools the coupon discounts: tool ids or MCP tool names,\n[\"*\"] for every paid tool, [] to unbind it."},"coupon_id":{"type":"string","description":"The id of the coupon to change (from list_coupons)."},"total_uses":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"A new number of redemptions across all patrons."},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A new ISO-8601 datetime when the coupon becomes active."},"valid_until":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A new ISO-8601 datetime when the coupon expires."},"uses_per_patron":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"A new number of discounted calls per patron."},"clear_total_uses":{"type":"boolean","default":false,"description":"True makes total redemptions unlimited."},"discount_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"A new percentage off the base price (0-100)."},"clear_uses_per_patron":{"type":"boolean","default":false,"description":"True makes discounted calls per patron unlimited."}},"additionalProperties":false},"serverUrl":"https://roastify.tollbooth-dpyc.com/mcp","transport":"http","handshake":"ok","host":"roastify.tollbooth-dpyc.com","score":40,"grade":"C","auth":"api-key","lastScannedAt":"2026-10-30T13:08:40.589Z","stale":false,"permalink":"https://agentboardai.app/mcp/roastify.tollbooth-dpyc.com/roastify_update_coupon","page":"https://agentboardai.app/site/roastify.tollbooth-dpyc.com"}