Skip to main content
Glama

OFAC transaction screening: every party of a Base (or Solana) transaction against the SDN wallet list

sanctions_tx
Read-onlyIdempotent

Use when an agent must check a transaction before accepting or relaying funds: screens its direct parties (sender, recipient, contracts, token Transfer parties on Base; accounts and token owners on Solana) against OFAC SDN wallet addresses. Input: tx, network (eip155:8453 default, or solana). Output: verdict, parties, roles, listed yes/no, SDN entity, programs, tx status, list date. Bad formats refused before payment. Not a legal determination. Use instead: sanctions_address for one address. Example: ?tx=0x… Price: $0.009 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tx": "<tx>"
    },
    "name": "sanctions_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
txYesTransaction hash (0x…, Base) or signature (base58, Solana)
networkNoNetwork (default eip155:8453 = Base)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), so the description's added value is the operational context: malformed input is rejected before payment, the call costs $0.009 in USDC over x402 across named chains, and the result is not a legal determination. That payment-gating and liability framing are genuine behavioral disclosures an agent cannot get from the annotations, though nothing is said about latency, list freshness beyond "list date", or failure modes for unknown hashes.

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 use trigger and the screened party set, and each later clause (output, refusal-on-bad-format, disclaimer, alternative, price) carries distinct information. The "Example: ?tx=0x…" fragment is near-vestigial given the schema, keeping this just short of a 5.

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?

For a two-parameter, no-output-schema tool, the description is complete: it enumerates the returned fields (verdict, parties, roles, listed yes/no, SDN entity, programs, tx status, list date), names the accepted networks, covers pricing and input validation, and disclaims legal weight. An agent can call this and interpret the result without further reference.

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 both tx (0x hash vs base58 signature) and network (default eip155:8453) are already documented. The description restates the default network and adds an illustrative "?tx=0x…" form, but contributes no new meaning about formats or constraints beyond the schema — 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 — screens every direct party of a transaction (sender, recipient, contracts, token Transfer parties) against OFAC SDN wallet addresses — and scopes it to Base/Solana. It explicitly distinguishes itself from the sibling sanctions_address, so an agent knows which of the two to open.

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?

Gives an explicit triggering condition ("check a transaction before accepting or relaying funds") and an explicit alternative with its selecting condition ("Use instead: sanctions_address for one address"). Both the when and the when-not are present.

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