{"uid":"cap_YfMumQcoMOxMos1gPD5vP","slug":"agent-mandate-acceptance-screening-procedure-e72f1a4f","name":"Agent Mandate Acceptance Screening Procedure","description":"Deterministic decision procedure for screening an incoming signed mandate or permission grant (ERC-8004 style) BEFORE the agent accepts and acts on it. Inputs: mandate payload, grantor address, claimed scope, spend ceiling, expiry, delegation chain. Checks: (1) grantor authority, signer must be a known controller or carry verifiable delegation proof, hard reject otherwise; (2) scope containment, claimed scope must be a subset of the agent's standing policy, overbroad scope is reject; (3) spend","url":"https://k2so-8080.on.ascii.dev/api/services/agent-side-deterministic-mandate-acceptance-scre","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"agent mandate acceptance screening procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"payload":{"type":"object"},"service":{"type":"string","description":"Service slug"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MmSWpGCXnspT0Fge-AIax","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deterministic decision procedure that screens an incoming signed mandate or permission grant before an agent accepts and acts on it, checking grantor authority, scope containment, and spend ceiling validity.","exampleAgentPrompt":"Before I act on this incoming mandate — grantor address 0xABC...123, claiming scope 'transfer_funds' with a spend ceiling of 500 USDC and expiry in 24 hours — run it through the deterministic mandate acceptance screening procedure and tell me whether I should accept or reject it, and why.","exampleUseCases":[{"title":"Screening a delegated sub-agent mandate","prompt":"I just received a mandate from a sub-agent claiming delegation from 0xDEF...456 with scope 'read_portfolio,execute_trade' and a spend ceiling of 1000 USDC expiring in 6 hours — screen it and tell me if the delegation chain is verifiable and the scope is within my standing policy."},{"title":"Rejecting an overbroad permission grant","prompt":"A third-party service sent me a signed mandate requesting 'admin_all' scope with no spend ceiling and expiry in 30 days from grantor 0x789...ABC — run the acceptance screening and flag whether this scope is overbroad or the grantor is unauthorized."},{"title":"Preflight check before executing a scheduled payment task","prompt":"Before I execute this scheduled payment task, screen the mandate from 0x111...222 that authorizes a 200 USDC spend with scope 'pay_invoice' expiring tonight — confirm grantor authority, scope containment, and that the spend ceiling is within my policy."}],"resultDescription":"A structured decision object indicating whether the mandate should be accepted or rejected, with per-check results covering grantor authority verification, scope containment against agent standing policy, spend ceiling validation, expiry status, and delegation chain integrity. Includes a top-level ok boolean and detailed payload with failure reasons if rejected.","failureModes":["Grantor address is not a known controller and carries no verifiable delegation proof — hard reject returned","Claimed scope exceeds agent standing policy — overbroad scope rejection","Spend ceiling absent or exceeds agent policy limits — rejection with ceiling detail","Mandate expiry is in the past or malformed — expiry rejection","Delegation chain is broken or unverifiable — chain integrity failure","Malformed mandate payload — input validation error","Payment not included or insufficient — HTTP 402 response requiring x402 payment"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs a deterministic, policy-driven gate before accepting any signed mandate or permission grant — especially in multi-agent delegation scenarios, ERC-8004-style permission flows, or any situation where spend authority or scope creep poses a security risk. Prefer this over ad-hoc validation logic when you need auditable, consistent rejection reasoning across grantor authority, scope containment, spend ceiling, expiry, and delegation chain checks in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:57:00.877Z","isFirstParty":false}