{"uid":"cap_mBxC1CznjNy3bnO6aa77J","slug":"token-quote-vs-received-amount-named-scenario-comparison-29878318","name":"Token Quote vs Received Amount — Named Scenario Comparison","description":"Token quote versus received amount — Named scenario comparison: Named scenario comparison for Token quote versus received amount. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded named scenario comparison report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-quote-shortfall-scenario?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"baseline":{"type":"object","default":{"quoted_tokens":1000,"received_tokens":980},"required":["quoted_tokens","received_tokens"],"properties":{"quoted_tokens":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"received_tokens":{"type":"number","default":980,"maximum":10000000000000000,"minimum":0}},"additionalProperties":false},"scenarios":{"type":"array","items":{"type":"object","required":["label","overrides"],"properties":{"label":{"type":"string","maxLength":80,"minLength":1},"overrides":{"type":"object","properties":{"quoted_tokens":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"received_tokens":{"type":"number","default":980,"maximum":10000000000000000,"minimum":0}},"minProperties":1,"additionalProperties":false}},"additionalProperties":false},"default":[{"label":"Supplied alternative","overrides":{"quoted_tokens":1100}}],"maxItems":20,"minItems":1}}},"responseSchema":null,"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_4etFvA_6pLM73-QS0Lihu","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 quoted token amounts against received token amounts across named scenarios to compute shortfall metrics deterministically.","exampleAgentPrompt":"Can you run a token quote shortfall comparison with a baseline of 1000 quoted tokens and 980 received tokens, plus an alternative scenario called 'High Quote' where quoted_tokens is 1100?","exampleUseCases":[{"title":"Slippage check after DEX swap","prompt":"I just did a token swap where I was quoted 5000 tokens but only received 4850. Can you run a named scenario comparison with that baseline, plus an alternative called 'Tight Slippage' with 4950 quoted tokens, to see how the shortfall changes?"},{"title":"Pre-trade scenario planning for quote tolerance","prompt":"Before I execute this trade, I want to compare two scenarios: baseline is 10000 quoted and 9800 received, and a second scenario called 'Conservative Quote' with 9500 quoted tokens. Run the shortfall comparison so I can decide my tolerance threshold."},{"title":"Aggregator quote accuracy audit","prompt":"I'm auditing an aggregator — the baseline quote was 250000 tokens and we received 247500. Add a scenario called 'Optimistic Quote' with 260000 quoted and another called 'Pessimistic Quote' with 240000 quoted, then compare all three shortfalls."}],"resultDescription":"Returns a structured report containing shortfall calculations for each named scenario (and the baseline), including the difference between quoted and received tokens and the percentage shortfall, determined by deterministic arithmetic. No live market data, safety guarantees, or trade recommendations are included.","failureModes":["received_tokens exceeds quoted_tokens causing zero or negative shortfall (not an error, but may need interpretation)","quoted_tokens set to zero triggers exclusiveMinimum validation error","more than 20 scenarios supplied exceeds maxItems limit","scenario label missing or empty triggers minLength validation error","scenario overrides object supplied with no properties triggers minProperties validation error","malformed numeric values cause schema type errors"],"whenToPreferThis":"Use this endpoint when you need a deterministic, arithmetic comparison of quoted versus received token amounts across multiple named hypothetical scenarios without needing live market data or trade execution. Prefer this over live scanning tools when the inputs are already known and you want reproducible shortfall metrics for planning, auditing, or threshold checking across up to 20 labeled cases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:51.571Z","isFirstParty":false,"canonicalSlug":"token-quote-vs-received-amount-named-scenario-comparison-29878318"}