# A2A, MCP & HTTP 402 Endpoint SLA Compliance Auditor

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

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

## Facts

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

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 agentdiet-dev-a2a-mcp-http-402-endpoint-sla-compliance-auditor-55525062
```

Example prompt: Can you audit https://myagent.example.com/rpc for JSON-RPC compliance, check its latency SLA, and tell me whether it has valid HTTP 402 payment headers and an OpenAPI schema?

## When to prefer this

Use this endpoint when you need to programmatically verify that a remote agent, MCP server, or x402-enabled service is correctly implementing JSON-RPC, HTTP 402 payment headers, and OpenAPI schemas before integration, deployment, or marketplace listing — especially when preparing endpoints for agent-to-agent commerce or swarm routing.

## Known failure modes

- Target URL is unreachable or returns a network error — audit fails with connectivity error
- Target URL returns malformed or non-JSON-RPC responses — compliance check flags violations
- Missing or malformed 'url' query parameter — returns 400 bad request
- Target service is behind auth and blocks the probe — incomplete audit results
- Target URL times out during latency measurement — SLA result marked as failed

## 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://agentdiet.dev/v1/preflight)

## Output

Returns a structured compliance report covering: JSON-RPC protocol conformance, measured latency against SLA thresholds, OpenAPI schema presence and validity, and HTTP 402 payment settlement header inspection — indicating whether the audited endpoint meets A2A, MCP, and x402 v2 standards.

## 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/agentdiet-dev-a2a-mcp-http-402-endpoint-sla-compliance-auditor-55525062/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
