{"uid":"cap__slqZwSsV_fGC3q3rdLLD","slug":"agentspec-one-vercel-app-575c79e9","name":"AgentSpec Agent-Readiness Score (Compact)","description":"Return a compact agent-readiness score for OpenAPI or MCP input.","url":"https://agentspec-one.vercel.app/score/agent-readiness","method":"POST","headers":{},"bodySchema":{"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":{}}}}},"responseSchema":null,"example":{"request":{"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\"}}}}}}}}}}}}"},"response":{"type":"openapi","grade":"F","score":11,"summary":"Untitled API has 0 inspected endpoint(s), an AgentSpec score of 11, 0 endpoint(s) below launch-ready quality, and 0 high-risk signal(s). It is ready for an x402 Bazaar metadata draft.","riskCount":0,"recommendationCount":5}},"exampleRequest":{"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\"}}}}}}}}}}}}"},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J3iA7eSA05ygujZN5ZmwK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a compact agent-readiness score for an OpenAPI spec or MCP tool definition submitted as input.","exampleAgentPrompt":"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.","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:34:08.973Z","isFirstParty":false}