agent-trace-auditor
Cloudflare Workers MCP server: agent-trace-auditor
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"agent-trace-auditor": {
"url": "https://api.lazy-mac.com/agent-trace-auditor/mcp"
}
}
}Remote endpoints
https://api.lazy-mac.com/agent-trace-auditor/mcpstreamable-httpWhat it can do
Tool inventory
Tools (3)
⚪audit_trace(trace, budget_usd, tool_schemas)
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",
"properties": {
"trace": {
"type": "array",
"description": "Agent execution steps. Each step: {tool, input, output, model, ts, latency_ms, error}",
"items": {
"type": "object",
"properties": {
"tool": {
"type": "string"
},
"input": {},
"output": {},
"model": {
"type": "string"
},
"ts": {
"type": "string"
},
"latency_ms": {
"type": "number"
},
"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"
}
},
"required": [
"trace"
]
}⚪quick_verdict(trace, budget_usd)
Fast pass/review/block verdict with score and issue counts. Use in CI gates.
Input Schema
{
"type": "object",
"properties": {
"trace": {
"type": "array",
"description": "Agent execution steps"
},
"budget_usd": {
"type": "number"
}
},
"required": [
"trace"
]
}⚪diff_traces(trace_a, trace_b, budget_usd)
Compare two agent traces to detect regressions. Returns score delta, cost delta, added/removed tools, new/resolved issue types.
Input Schema
{
"type": "object",
"properties": {
"trace_a": {
"type": "array",
"description": "Baseline (previous) trace"
},
"trace_b": {
"type": "array",
"description": "New trace to compare against baseline"
},
"budget_usd": {
"type": "number"
}
},
"required": [
"trace_a",
"trace_b"
]
}Community
Evidence