aegis_inspect_tool_call
Evaluate proposed MCP tool invocations against Zero-Trust firewall checks and append an immutable audit record before executing untrusted or high-risk calls.
Instructions
Evaluate a proposed MCP tool invocation against Aegis-MCP's Zero-Trust firewall (prompt injection, path traversal, destructive SQL, shell command injection, obfuscation decoding, RBAC/ABAC policies, session taint tracking, and deterministic DLP redaction) and append an immutable record to the SHA-256 hash-chained audit ledger. Use this before executing untrusted or high-risk MCP tool calls. Do NOT use this for read-only text scrubbing without auditing (use aegis_redact_sensitive_data instead) or for static manifest scanning (use aegis_scan_mcp_manifest instead).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server_name": "<server_name>",
"tool_name": "<tool_name>"
},
"name": "aegis_inspect_tool_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Identifier of the calling agent. | mcp-client |
| arguments | No | JSON arguments object to inspect and DLP-sanitize. | |
| tool_name | Yes | Name of the MCP tool being evaluated (for example, 'query_db' or 'read_file'). | |
| session_id | No | Optional session identifier for toxic-flow taint tracking. | |
| environment | No | Execution environment for RBAC/ABAC evaluation. | dev |
| server_name | Yes | Target MCP server identifier (for example, 'postgres-mcp' or 'filesystem-mcp'). |