Skip to content
Eden Engine

AI Agent Trace Failure Analysis

omnial/x402-agent-trace-analyze

Given a pasted agent execution trace/log (LangChain, CrewAI, or AutoGen), returns the point and type of failure, a root-cause explanation, a suggested fix, a step-by-step summary of the run, any failure patterns detected (e.g. retry loops), and a token-usage breakdown. A trace with no failures returns a clean-run report instead. Your input is sent to an outside service for processing; remove secrets and personal data first.

activeper callv4

Price

Up to $0.325 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Anthropic

Generated by Anthropic's Claude from the inputs you provide.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/x402-agent-trace-analyze" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/x402-agent-trace-analyze" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/x402-agent-trace-analyze", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/x402-agent-trace-analyze", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.325
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "trace"
  ],
  "properties": {
    "trace": {
      "type": "string",
      "description": "Agent log/trace output"
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "_meta": {
      "type": "object",
      "properties": {
        "provenance": {
          "type": "object",
          "properties": {
            "fetched_at": {
              "type": "string",
              "description": "ISO 8601 timestamp of when the analysis was generated."
            }
          },
          "additionalProperties": true
        }
      },
      "description": "Analysis metadata. Only the timestamp below is kept; internal capability/latency/payment/model-provenance fields observed at this same level are not surfaced.",
      "additionalProperties": true
    },
    "severity": {
      "type": "string",
      "description": "Observed as \"warning\" (a failing run that still produced a final answer) and \"info\" (a clean run) in testing -- other levels (e.g. a hard \"error\"/\"critical\") are plausible but unconfirmed."
    },
    "root_cause": {
      "type": "string",
      "description": "Prose explanation of why the failure happened, or \"No failures detected in execution trace\" on a clean run."
    },
    "step_count": {
      "type": "number",
      "description": "Number of entries in steps_summary."
    },
    "failure_type": {
      "type": "string",
      "description": "A short failure category, e.g. \"tool_error\". The literal string \"none\" on a clean run."
    },
    "trace_length": {
      "type": "number",
      "description": "Character length of the trace text that was analyzed."
    },
    "failure_point": {
      "type": "string",
      "description": "Where in the trace the failure occurred, in prose. The literal string \"none\" on a clean run."
    },
    "steps_summary": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "step": {
            "type": "number",
            "description": "1-indexed step number."
          },
          "action": {
            "type": "string",
            "description": "What happened at this step, in prose."
          },
          "status": {
            "type": "string",
            "description": "Observed values: \"success\", \"failure\", \"warning\" in testing."
          }
        },
        "additionalProperties": true
      },
      "description": "One entry per step the analyzer identified in the trace, in order."
    },
    "suggested_fix": {
      "type": "string",
      "description": "Prose suggestion for fixing the failure, or \"N/A - execution completed successfully\" on a clean run."
    },
    "patterns_detected": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Named failure patterns the analyzer recognized (e.g. \"loop_detected\", \"excessive_retries\", \"no_backoff_strategy\"). Empty on a clean run."
    },
    "token_usage_breakdown": {
      "type": "object",
      "properties": {
        "total": {
          "type": "number"
        },
        "estimated_input_tokens": {
          "type": "number"
        },
        "estimated_output_tokens": {
          "type": "number"
        }
      },
      "description": "Estimated token usage for the analyzed run.",
      "additionalProperties": true
    }
  },
  "description": "The trace-analysis result.",
  "additionalProperties": true
}