{
  "id": "agent_readiness_audit",
  "name": "Agent Readiness Audit",
  "version": 1,
  "description": "Audit an agent-facing service for machine usability. Actually calls the endpoints: MCP (Streamable HTTP initialize + tools/list, schema checks), A2A agent card, x402 payment challenge, llms.txt, OpenAPI, robots/agents metadata and endpoint health. Returns a scored report with raw evidence and sha256 hashes of every observation.",
  "price_usd": 0.1,
  "pricing": {
    "model": "fixed",
    "usd": 0.1
  },
  "capabilities": [
    "agent-compatibility-testing",
    "mcp",
    "a2a",
    "x402",
    "api-testing",
    "audit",
    "interop"
  ],
  "input_schema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "Agent Readiness Audit — input",
    "type": "object",
    "required": [
      "url"
    ],
    "additionalProperties": false,
    "properties": {
      "url": {
        "type": "string",
        "format": "uri",
        "description": "Base URL of the service (https://example.com) or a direct MCP endpoint URL."
      },
      "mcp_url": {
        "type": "string",
        "format": "uri",
        "description": "Optional explicit MCP Streamable HTTP endpoint."
      },
      "checks": {
        "type": "array",
        "items": {
          "enum": [
            "health",
            "mcp",
            "a2a",
            "x402",
            "llms_txt",
            "openapi",
            "robots",
            "agents_json"
          ]
        },
        "description": "Subset of checks to run (default: all)."
      }
    },
    "examples": [
      {
        "url": "https://gigs.sh"
      }
    ]
  },
  "output_schema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "Agent Readiness Audit — result",
    "type": "object",
    "required": [
      "target",
      "score",
      "grade",
      "checks",
      "evidence",
      "audited_at"
    ],
    "properties": {
      "target": {
        "type": "string"
      },
      "score": {
        "type": "number",
        "minimum": 0,
        "maximum": 100
      },
      "grade": {
        "enum": [
          "A",
          "B",
          "C",
          "D",
          "F"
        ]
      },
      "checks": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "id",
            "status",
            "summary"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "status": {
              "enum": [
                "pass",
                "warn",
                "fail",
                "skip"
              ]
            },
            "summary": {
              "type": "string"
            },
            "details": {},
            "evidence_ids": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "recommendations": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "evidence": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "id",
            "content",
            "content_sha256"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "content": {
              "type": "string"
            },
            "content_sha256": {
              "type": "string"
            }
          }
        }
      },
      "audited_at": {
        "type": "string",
        "format": "date-time"
      }
    }
  },
  "max_runtime_seconds": 60,
  "endpoint": "https://openworker.etips.me/api/services/agent_readiness_audit",
  "sellable": true,
  "payments_configured": true
}