# AUN Tool Call Audit Max

> AUN Tool Call Audit Max is a paid API for AI agents from a-upgradenet.com, paid per call via x402, $0.2/call, status unknown (last checked 2026-10-22).

Audits and improves an AI agent's system prompt and tool definitions, returning a verified upgrade with benchmark scores and a recommended configuration.

## Facts

- Endpoint: POST https://a-upgradenet.com/x402/tool-call-audit-max?utm_source=zero.xyz
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aun-tool-call-audit-max-1a8d0ca0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yPfkbYM-7CLQyK1SkBO_c

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aun-tool-call-audit-max-1a8d0ca0 -d '<json body>'
```

Example prompt: Can you audit my agent's current system prompt and tool definitions to see how well it performs on tool-calling benchmarks, then give me a recommended upgraded system prompt and toolset that scores better?

## When to prefer this

Choose this endpoint when you need a quantified, benchmark-backed audit of an agent's system prompt and tool definitions, not just a qualitative review. It is especially valuable when you want a drop-in recommended upgrade (new system prompt + tool list) with a measurable improvement score, rather than generic prompt engineering advice. Prefer it over manual review when you have up to 12 tools and want held-out test pass rates before and after the upgrade.

## Known failure modes

- System prompt exceeds 8000 characters — request rejected
- Tools array is empty or exceeds 12 items — validation error
- Missing required fields (name or parameters) in a tool definition — schema validation failure
- Payment not received or insufficient USDC — 402 response
- Language enum value not recognized — request rejected
- Service unavailable or benchmark timeout — no report returned

## How this service works

Tool-Call Audit Max: measures how an AI agent calls its tools on a hidden test, returns a fix that keeps the interface unchanged, and re-measures. Charged only after the report exists.

## Output

Returns a JSON object with a tier label, completion status, and a detailed report including: baseline held-out pass rate and count, improved pass rate and count, delta points gained, a recommended system prompt, recommended tool list, and any remaining failures after the upgrade.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "system_prompt",
    "tools"
   ],
   "properties": {
    "tools": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "name",
       "description",
       "parameters"
      ],
      "properties": {
       "name": {
        "type": "string"
       },
       "parameters": {
        "type": "object"
       },
       "description": {
        "type": "string"
       }
      }
     },
     "maxItems": 12,
     "minItems": 1,
     "description": "OpenAI function-calling tools: {name, description, parameters (JSON schema)}"
    },
    "system_prompt": {
     "type": "string",
     "description": "The agent's system prompt (max 8000 chars). Never include secrets."
    }
   }
  },
  "language": {
   "enum": [
    "en",
    "es"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tier": "basic",
  "report": {
   "verdict": "improved",
   "baseline": {
    "held_out": {
     "rate": 0.55,
     "total": 11,
     "passed": 6
    }
   },
   "improved": {
    "held_out": {
     "rate": 0.91,
     "total": 11,
     "passed": 10
    }
   },
   "recommended": {
    "tools": [
     "..."
    ],
    "system_prompt": "..."
   },
   "delta_points": 36.4,
   "remaining_failures": []
  },
  "status": "completed"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aun-tool-call-audit-max-1a8d0ca0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from a-upgradenet.com](https://www.zero.xyz/host/a-upgradenet.com/llms.txt)
