Skip to main content
Glama

Decide whether to pay an address before an agent pays (free)

payment_decision
Read-onlyIdempotent

Before an agent pays, check the payee address to get an allow, review, or decline decision with evidence and retry rules; block payment unless the result is allow.

Instructions

"Before your agent pays, call OceanAlt once." Pass the payee address the agent is about to pay; get a machine-executable decision: allow | review | decline, plus verifiable evidence and retry semantics. Use this as a gate in an autonomous payment flow — if the decision is not "allow", do not pay. On allow/review it also returns a verifiable compliance attestation you can attach to the settlement so the payment carries proof it passed OceanAlt's decision. Free, no API key, no signup. (For the paid variant that also settles the payment on x402 rails, use compliance_decision.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesPayee address the agent is about to pay. EVM: 0x + 40 hex. Tron: T + 33 base58.
langNoLanguage for human-readable fields (signals, note, advice). Defaults to English.
networkNoEVM chain for the payee (same set as screen_address). Optional; ignored for Tron.
purposeNoShort purpose/memo for the payment (optional).
amountUsdcNoAmount in USDC (optional; recorded/echoed, not required for the decision).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the bar is lower, yet the description adds real context: free, no API key, no signup, machine-executable decision values, verifiable evidence, retry semantics, and the attachable compliance attestation. It stops short of describing latency, coverage limits, or what evidence fields look like.

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?

Front-loaded with the core instruction ('Before your agent pays, call OceanAlt once') and ordered by decision-critical information before the free/pricing aside. Slightly dense, but nearly every clause (decision values, attestation, sibling pointer) earns its place.

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

Completeness5/5

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

There is no output schema, so the description carries the return-value burden and does so — it names the three decision outcomes, verifiable evidence, retry semantics and the attestation. Combined with the annotations, an agent has everything needed to call and interpret this correctly.

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% and the schema already documents address formats, the network enum, lang, purpose and amountUsdc. The description only reiterates that the payee address is the input, adding no format or constraint detail beyond the schema. Baseline 3 is appropriate.

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 — decide whether to pay a given address before an agent pays — and enumerates the exact output values (allow | review | decline). It also names the sibling it is not (compliance_decision), so an agent can distinguish it without opening schemas.

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

Usage Guidelines5/5

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

Explicitly frames usage as a gate in an autonomous payment flow, gives the deciding condition ('if the decision is not "allow", do not pay'), and routes to compliance_decision when settlement on x402 rails is also needed. When-to-use and when-to-use-something-else are both covered.

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