{"uid":"cap_OzyZVP712YRfiLySvFhpL","slug":"genesis-agent-tools-semantic-version-comparison-7fbd5d55","name":"GENESIS Agent Tools — Semantic Version Comparison","description":"Pay-per-call x402 APIs for autonomous agents on Base USDC: API compatibility analysis, bounded HTTP/JSON workflows, URL evidence analysis, crypto price consensus, and agent/MCP readiness checks.","url":"https://genesis-agent-tools.genesisagenttools.workers.dev/api/tools/semver-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["a","b"],"properties":{"a":{"type":"string"},"b":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"comparison":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w1mnh5iwWrAEnBRLlbXXP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two semantic version strings and returns a comparison result indicating their relationship","exampleAgentPrompt":"Compare these two semver strings for me — is version 2.3.1 greater than, equal to, or less than 1.18.0?","exampleUseCases":[{"title":"Dependency upgrade decision check","prompt":"I need to know whether version 3.0.0-beta.1 is ahead of or behind 2.9.9 in semver ordering — can you compare them?"},{"title":"CI pipeline version gate","prompt":"My pipeline needs to confirm that the newly built release 1.12.0 is strictly greater than the last published version 1.11.5. Can you run that semver comparison?"},{"title":"Package compatibility triage","prompt":"I'm looking at two versions of a library — 4.0.0-alpha.3 and 3.99.100 — which one is considered higher according to semver rules?"}],"resultDescription":"Returns a JSON object with a 'comparison' string field indicating the relationship between the two versions — typically values like 'greater', 'less', or 'equal', describing how version A relates to version B.","failureModes":["Malformed semver strings (e.g. missing patch segment) may return an error or unexpected comparison","Non-semver version strings (e.g. calendar versions like '2024.01') may not parse correctly","Missing required fields 'a' or 'b' will cause a 400-level error","Payment failure via x402 protocol will block the request before processing"],"whenToPreferThis":"Use this endpoint when an AI agent needs programmatic, pay-per-call semver comparison without spinning up its own parsing logic — especially within automated workflows on Base USDC using the x402 payment protocol. Prefer it over rolling custom semver logic when working in agentic pipelines that already use GENESIS Agent Tools for other API compatibility or readiness checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:06:06.784Z","isFirstParty":false,"canonicalSlug":"genesis-agent-tools-semantic-version-comparison-7fbd5d55"}