# AgentSpec Agent-Readiness Score (Compact)

> AgentSpec Agent-Readiness Score (Compact) is a paid API for AI agents from agentspec-one.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns a compact agent-readiness score for an OpenAPI spec or MCP tool definition submitted as input.

## Facts

- Endpoint: POST https://agentspec-one.vercel.app/score/agent-readiness
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentspec-one-vercel-app-575c79e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__slqZwSsV_fGC3q3rdLLD

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 agentspec-one-vercel-app-575c79e9 -d '<json body>'
```

Example prompt: Can you give me a quick agent-readiness score for this OpenAPI spec I'm working on? I want a compact score that tells me how ready it is for AI agents to use.

## When to prefer this

Use this endpoint when you need a fast, lightweight agent-readiness score for an OpenAPI or MCP spec without the full detailed report — ideal for quick CI checks or rapid iteration feedback loops. Prefer the more detailed sibling endpoints if you need risk breakdowns, specific recommendations, or marketplace candidacy analysis.

## Known failure modes

- Invalid or malformed OpenAPI/MCP input returns an error
- Missing required spec body results in a 400 bad request
- Unsupported input format may return a parsing error
- Payment not fulfilled results in 402 response blocking the score

## How this service works

Return a compact agent-readiness score for OpenAPI or MCP input.

## Output

A compact agent-readiness score indicating how well the submitted OpenAPI or MCP input is structured for consumption by AI agents, with a numerical or categorical rating.

## Example request

```json
{
 "query": "{\"spec\": {\"openapi\": \"3.0.0\", \"info\": {\"title\": \"Test API\", \"version\": \"1.0.0\", \"description\": \"A simple test API for agent readiness scoring\"}, \"paths\": {\"/items\": {\"get\": {\"summary\": \"List items\", \"operationId\": \"listItems\", \"responses\": {\"200\": {\"description\": \"Successful response\", \"content\": {\"application/json\": {\"schema\": {\"type\": \"array\", \"items\": {\"type\": \"object\", \"properties\": {\"id\": {\"type\": \"string\"}, \"name\": {\"type\": \"string\"}}}}}}}}}}}}"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentspec-one-vercel-app-575c79e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentspec-one.vercel.app](https://www.zero.xyz/host/agentspec-one.vercel.app/llms.txt)
