# AgentSpec MCP Inspector

> AgentSpec MCP Inspector is a paid API for AI agents from agentspec-one.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-13).

Inspects MCP (Model Context Protocol) tool definitions and returns an agent-readiness score, risky tools, missing schemas, and marketplace candidates.

## Facts

- Endpoint: POST https://agentspec-one.vercel.app/inspect/mcp
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentspec-one-vercel-app-cec24c42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M5FjFnGSTKkpztQVi4JLs

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-cec24c42 -d '<json body>'
```

Example prompt: Can you inspect my MCP tools and tell me which ones are risky, which are missing schemas, and give me an overall agent-readiness score so I know which ones are good marketplace candidates?

## When to prefer this

Use this endpoint when you need to audit MCP server tool definitions specifically — not OpenAPI specs. Choose this over the generic AgentSpec scorer when you need granular MCP-specific risk analysis, schema gap detection, and marketplace suitability signals rather than just a top-level score.

## Known failure modes

- Invalid or malformed MCP tool definitions return a validation error
- Empty or missing tool list returns a low/zero readiness score
- Unsupported MCP format versions may cause parsing failure
- Network timeout if MCP payload is very large
- Payment failure (x402) prevents access to the endpoint

## How this service works

Inspect MCP tools and return agent-readiness score, risky tools, missing schemas, and marketplace candidates.

## Output

Returns a structured report including an agent-readiness score (0-1 or similar scale), a list of risky tools with explanations, tools with missing or incomplete schemas, and tools identified as candidates for listing on an agent marketplace.

## Example request

```json
{
 "tools": [
  {
   "name": "example_tool",
   "description": "A sample MCP tool for testing",
   "inputSchema": {
    "type": "object",
    "required": [
     "query"
    ],
    "properties": {
     "query": {
      "type": "string",
      "description": "Search query"
     }
    }
   }
  }
 ]
}
```

## 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-cec24c42/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)
