# A2A, MCP & HTTP 402 Endpoint SLA Compliance Auditor

> A2A, MCP & HTTP 402 Endpoint SLA Compliance Auditor is a paid API for AI agents from preflight.agentdiet.dev, paid per call via MPP, $0.010000/call, status unknown (last checked 2026-11-21).

Audits a remote agent, MCP, or x402 URL for JSON-RPC compliance, latency SLA adherence, OpenAPI schema validity, and HTTP 402 payment settlement headers.

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/a2a?utm_source=zero.xyz
- Price: $0.010000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-a2a-mcp-http-402-endpoint-sla-compliance-16ace42e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FV7ylhyt_awUWCF3hPlFc

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 preflight-agentdiet-dev-a2a-mcp-http-402-endpoint-sla-compliance-16ace42e -d '<json body>'
```

Example prompt: Can you audit https://myagent.example.com/mcp and tell me if it's JSON-RPC compliant, passes latency SLA, has valid OpenAPI schema, and has the right HTTP 402 settlement headers?

## When to prefer this

Use this endpoint when you need to programmatically verify that an A2A agent endpoint, MCP server, or x402-enabled service correctly implements JSON-RPC, meets latency SLAs, exposes a valid OpenAPI schema, and has properly configured HTTP 402 payment settlement headers — particularly before deploying or integrating a new agent service into a production pipeline.

## Known failure modes

- Target URL is unreachable or times out — audit fails with connection error
- Target returns non-JSON-RPC response — compliance check flagged as failed
- Invalid or missing URL in request body — returns 400 bad request
- Target does not expose OpenAPI schema — schema check skipped or flagged
- HTTP 402 headers absent — payment compliance check returns non-compliant status

## How this service works

Audits any remote agent or MCP URL for JSON-RPC compliance, latency SLA, OpenAPI schema, and HTTP 402 settlement headers. (Live x402 v2, IETF MPP & MCP endpoint at https://preflight.agentdiet.dev/a2a)

## Output

Returns a structured audit report covering JSON-RPC compliance status, measured latency against SLA thresholds, OpenAPI schema validation results, and HTTP 402 / x402 settlement header correctness for the target URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "minLength": 1,
   "description": "Target A2A, MCP, or x402 service URL to audit for protocol compliance"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/preflight-agentdiet-dev-a2a-mcp-http-402-endpoint-sla-compliance-16ace42e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
