Skip to main content
Glama

Base on-chain reads and pay-per-call feeds (x402/MPP)

One call before an agent sends money: screens the recipient address against the OFAC sanctions list, inspects it on Base

payment_precheck
Read-onlyIdempotent

One call before an agent sends money: screens the recipient address against the OFAC sanctions list, inspects it on Base (contract or wallet, owner, proxy, mint/blacklist/fee flags) and, if a payee domain is given, checks its registration and age. Returns a verdict (no_flags_found, review, block) with reasons (address=0x..., domain=example.com). Screening aid, not a compliance determination. Pay per call $0.02 USDC on Base via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "payment_precheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNooptional: the merchant or payee domain, e.g. example.com
addressNorecipient EVM address 0x...
x_paymentNosigned x402 payment (X-PAYMENT header value); omit on the first call to receive the price and payment requirements

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive) the description adds genuinely useful behavior: the verdict vocabulary (no_flags_found/review/block), the reason format, and the pay-per-call x402 requirement at $0.02 USDC on Base. It does not, however, say how long a verdict is cached or re-checked, or what happens when the same address is screened repeatedly.

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 and dense: the pre-send gate, the checks performed, the return shape, the disclaimer, then pricing. Every clause carries information, though the opening phrase largely restates the title and the three-part run-on sentence could be split for scanability.

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 does the work of explaining that a verdict plus reasons come back, and it discloses the x402 payment step, which is essential to actually invoking the tool. It stops short of describing the untrusted first-call/payment handshake flow explicitly, but that gap is partly covered by the input schema's x_payment note.

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 three parameters are already documented in the schema and the baseline is 3. The description only lightly reinforces this: it marks domain as conditional ("if a payee domain is given") and shows the address/domain format in the reasons, without adding semantics for x_payment beyond what the schema states.

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

Purpose4/5

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

States concrete verbs and resources: screens the recipient address against the OFAC sanctions list, inspects it on Base (contract/wallet, owner, proxy, mint/blacklist/fee flags), and checks payee-domain registration and age. The scope is unmistakable, but the description never distinguishes itself from close siblings such as sanctions_check, screen_name_or_wallet_against_ofac_sanctions or base_token_check, leaving the agent to infer that this is the combined pre-send gate.

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?

"One call before an agent sends money" gives a clear trigger point, and "Screening aid, not a compliance determination" sets an important limit on how to treat the result. What is missing is any when-not guidance or explicit routing to the narrower sanctions/token siblings for callers who do not need the bundled check.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources