tool_guard inspects that definition and is scoped to the mcp protocol.
| Detector | Slug | Sides | Protocols | Backend |
|---|---|---|---|---|
| Tool Guard | tool_guard | input | mcp | NeuralTrust Firewall |
Tool Guard — tool_guard
Scans the agent’s own definition — system prompt and tool/function
descriptions (including parameter‑schema descriptions) — for jailbreaks and
prompt injections planted there, scored by the NeuralTrust Firewall jailbreak
detector (signal.type: "jailbreak").
Settings
| Field | Type | Required | Notes |
|---|---|---|---|
jailbreak.threshold | number | ✅ | Score in [0, 1] above which a finding is reported. |
credentials.* | object | — | Override the global NeuralTrust Firewall credentials for this detector. |
protocol eq mcp condition if the collector also carries
other traffic). See Policies.
When to use
- Whenever you load third‑party or user‑supplied MCP servers / tool descriptions — it catches injections hidden in tool metadata before the agent acts on them.
- Pair it with content‑security detectors on the user’s prompt and the model’s output for defense in depth.