# AgentDiet MCP Validator & Schema Compiler

> AgentDiet MCP Validator & Schema Compiler is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Audits any live MCP server URL or GitHub repo against Glama's 6-dimension TDQS rubric and compiles drop-in A2A Agent Cards, x402/MPP configs, and 5.0/5.0-rated schemas

## Facts

- Endpoint: GET https://agentdiet.dev/v1/mcp-validator?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-mcp-validator-schema-compiler-20f06f4a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YXfYZ-GY42cFInCxRq09c

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-mcp-validator-schema-compiler-20f06f4a
```

Example prompt: Can you audit my MCP server at https://myserver.example.com using the Glama TDQS rubric and compile a drop-in A2A Agent Card and x402 config for it?

## When to prefer this

Choose this endpoint when you need to validate an MCP server against the Glama TDQS quality rubric and automatically generate production-ready A2A Agent Cards and x402/MPP configs — especially before publishing an MCP tool to a marketplace or integrating it into an agent workflow. Prefer this over generic linters or schema validators when you need Glama-specific scoring and multi-protocol output (A2A + x402) in one call.

## Known failure modes

- Unreachable or invalid target URL returns an error with no audit data
- Private GitHub repo without access credentials cannot be fetched
- Malformed target parameter causes schema validation rejection
- Target server is not an MCP-compatible endpoint, producing empty or partial results
- Rate limit or payment failure at $0.01 USDC per call

## How this service works

Audits any live MCP server URL or GitHub repo on Glama's 6-dimension TDQS rubric and compiles drop-in 5.0/5.0 schemas, A2A Agent Cards, and x402/MPP configs. (Live x402 v2, IETF MPP & MCP endpoint at https://agentdiet.dev/v1/mcp-validator)

## Output

Returns a structured audit report containing a Glama TDQS score across 6 quality dimensions, a compiled A2A Agent Card, x402/MPP payment configuration, and a drop-in MCP schema — all ready to use with the audited server or repo.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "target"
 ],
 "properties": {
  "target": {
   "type": "string",
   "minLength": 1,
   "description": "Target MCP server URL or GitHub repository (owner/repo) to audit and compile to 5.0/5.0 Glama TDQS"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-mcp-validator-schema-compiler-20f06f4a/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)
