A changed tool definition is a known prompt injection route: new instructions or arguments slipped into a tool the agent already trusts. A decoy is a tool no legitimate task uses; a call to one means the agent was steered. The harness and the MCP gateway report both for you. These are the endpoints they use.
Report tools#
/v1/auth/:app_id/agent/toolsTask tokencurl -X POST https://api.scute.io/v1/auth/$SCUTE_APP_ID/agent/tools \ -H "Authorization: Bearer $TASK_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "tools": [ { "name": "refund_invoice", "hash": "9f2c..." }, { "name": "lookup_invoice", "hash": "41ab..." } ] }'{ "known": 1, "new": [], "changed": ["refund_invoice"] }| Case | What Scute does |
|---|---|
| First report for the agent | Sets the baseline quietly. Every tool counts as known. |
| Same hash as before | known |
| A tool not seen before | Listed in new. A new_tool item goes to the monitors inbox. |
| A different hash | Listed in changed. Records app.authz.agent.tool_drift, puts a tool_drift item (with the old and new hash) in the inbox, and sends a warning alert. |
Reporting never blocks the agent. To hold a changed MCP tool until someone approves it, use tool pinning in the MCP gateway.
/v1/apps/:app_id/authz/agents/:slug/toolsApp keyThe tools the agent reported, by name, each with hash, previous_hash, changed_at, first_seen_at and last_seen_at.
Decoy tools#
Give the agent a tool it should never call, with a name that looks useful to a steered model. When it is called, report it.
/v1/auth/:app_id/agent/decoysTask tokencurl -X POST https://api.scute.io/v1/auth/$SCUTE_APP_ID/agent/decoys \ -H "Authorization: Bearer $TASK_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "tool": "export_all_customers" }'{ "paused": true, "say": "I can't continue with this. A person will follow up." }The agent is suspended at once with the reason Called the decoy tool export_all_customers, and every open task ends, including the one that made the call. Scute records app.authz.agent.decoy_triggered, puts a decoy item in the inbox and sends a critical alert. Look at what the agent was asked to do before you resume it.