Skip to main content
Glama

Gateway compliance decision for a payment (paid, x402 $0.002 or 1 credit)

compliance_decision

Get an allow, review, or decline decision on a proposed payment before releasing funds by combining AML payee screening with agentic payment gate checks.

Instructions

Run OceanAlt's full compliance gateway on a proposed payment and get a DECISION — allow | review | decline — plus advice and verifiable evidence, not just raw data. Combines AML screening of the payee with RAP (Responsible Agentic Payments) gate checks. Use this when an agent needs a go/no-go call before releasing funds. PAID via x402: the first request returns HTTP 402, this server automatically signs one USDC authorization and retries — this moves REAL money and requires OCEANALT_PAYER_KEY. Costs $0.002 in real USDC settled on Base mainnet (eip155:8453). Alternatively set OCEANALT_CREDIT_TOKEN (a credit pack bought at POST https://oceanalt.com/api/x402/credits: $0.10 for 100 decisions); each call then uses one credit and no payment is signed. Always confirm the live network/price at https://oceanalt.com/api/x402 and use a dedicated low-balance payer wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesPayee address the agent intends to pay. EVM (0x + 40 hex) or Tron (T + 33 base58).
networkNoEVM chain for the payee (same set as screen_address). Optional; ignored for Tron.
purposeNoShort free-text note on what the payment is for. Optional (max ~120 chars).
amountUsdcNoPayment amount in USDC. Optional; used only for record / mandate-limit checks, not required to get a decision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only flag readOnlyHint=false and openWorldHint=true; the description goes far beyond them, disclosing the HTTP 402 handshake, that real USDC on Base mainnet moves, the required OCEANALT_PAYER_KEY, the $0.002 cost, and the alternative OCEANALT_CREDIT_TOKEN path with its credit-pack economics. It even advises confirming live price/network and using a low-balance wallet.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and usage are front-loaded in the first two sentences, followed by the payment mechanics. It is long, but the length is justified by the real-money payment flow; a couple of clauses about credits and network confirmation could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the return contract and does sketch it ('DECISION — allow | review | decline — plus advice and verifiable evidence'). Payment/auth prerequisites are fully covered; the shape of the advice/evidence payload and failure modes remain unstated, which is the only material gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents to, network, purpose, and amountUsdc, including address formats, enum chains, and the 'optional, ignored for Tron' note. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Run OceanAlt's full compliance gateway on a proposed payment') and names the concrete outcome ('allow | review | decline plus advice and verifiable evidence'). The 'not just raw data' framing plus the mention of combining AML screening with RAP gate checks separates it from raw-screening siblings like screen_address.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use this when an agent needs a go/no-go call before releasing funds' gives a clear triggering condition. It implies the raw-data alternative exists but does not explicitly name which sibling to use when a decision is not needed, nor does it state exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.