MCP Server

agent-trace-auditor

io.github.lazymac2x/agent-trace-auditor
AI & Agents Developer Tools Public & reachable MCP 2026-07-28

What this MCP does

Audits and compares AI agent execution traces for loops, tool errors, schema violations, cost overruns, regressions, and latency issues.

audit_trace
Full audit of an agent execution trace. Detects infinite loops, duplicate calls, tool errors, cost overruns, schema violations, and latency bottlenecks. Returns verdict (pass/review/block), score 0-100, and detailed findings.
Input schema
{'type': 'object', 'required': ['trace'], 'properties': {'trace': {'type': 'array', 'items': {'type': 'object', 'properties': {'ts': {'type': 'string'}, 'tool': {'type': 'string'}, 'error': {}, 'input': {}, 'model': {'type': 'string'}, 'output': {}, 'latency_ms': {'type': 'number'}}}, 'description': 'Agent execution steps. Each step: {tool, input, output, model, ts, latency_ms, error}'}, 'budget_usd': {'type': 'number', 'description': 'Cost cap in USD (default 5.0)'}, 'tool_schemas': {'type': 'object', 'description': 'Per-tool required field schemas for input validation'}}}
diff_traces
Compare two agent traces to detect regressions. Returns score delta, cost delta, added/removed tools, new/resolved issue types.
Input schema
{'type': 'object', 'required': ['trace_a', 'trace_b'], 'properties': {'trace_a': {'type': 'array', 'description': 'Baseline (previous) trace'}, 'trace_b': {'type': 'array', 'description': 'New trace to compare against baseline'}, 'budget_usd': {'type': 'number'}}}
quick_verdict
Fast pass/review/block verdict with score and issue counts. Use in CI gates.
Input schema
{'type': 'object', 'required': ['trace'], 'properties': {'trace': {'type': 'array', 'description': 'Agent execution steps'}, 'budget_usd': {'type': 'number'}}}
Added
diff_traces
Sept. 17, 2026, 12:43 p.m.
Added
quick_verdict
Sept. 17, 2026, 12:43 p.m.
Added
audit_trace
Sept. 17, 2026, 12:43 p.m.