Skip to main content
Glama

SpendPreflight

Check payee before paying

check_payee
Read-onlyIdempotent

Payee risk check. Screens a payee wallet address and name against the OFAC SDN sanctions list and checks the merchant domain's registration age and DNS. Returns risk low|medium|high|unknown with flags such as sanctioned_address, sanctioned_name_possible, new_domain. Use for standalone payee screening before paying. Provide at least one of domain, address, or name; inputs may be combined, and domain accepts a hostname or URL. For an x402 challenge or cart and an allow/hold/block spending-rule decision, use preflight_payment instead. Price $0.01 per call (free trial first).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoMerchant or payee legal name
domainNoMerchant domain or URL, e.g. shop.example.com
addressNoPayee wallet address (EVM 0x…, BTC, etc.)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
riskYesOverall payee risk
flagsYese.g. sanctioned_address, sanctioned_name_exact, sanctioned_name_possible, new_domain, domain_no_dns
domainNoDomain age/DNS signals, or null if no domain given
sanctionsYesOFAC SDN matches
data_as_ofYesTimestamp of the sanctions data used
disclaimerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, openWorld), and the description adds behavior beyond them: which external sources are queried (OFAC SDN, DNS/domain-age lookups), the possible risk outputs (low|medium|high|unknown), example flags, and a per-call price with a free trial. That is genuinely useful context an agent cannot get from the annotations alone.

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

Conciseness5/5

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

Front-loaded with purpose, then routing rule, then input constraint, then price. Every sentence carries distinct information; nothing is padding.

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?

Because an output schema exists, the description need not enumerate return fields, and it still briefly previews the risk levels and flags. Combined with the routing rule, input constraint, and pricing, an agent has everything needed to call it correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the per-field meanings are already documented. The description nonetheless adds a cross-field constraint not expressible in the schema ('provide at least one of domain, address, or name; inputs may be combined'), which is real added meaning, though the domain format note mostly duplicates the schema example.

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+resource (screen a payee wallet address/name/domain) and names exactly what it checks against (OFAC SDN list, domain registration age, DNS). It is clearly distinguishable from the sibling preflight_payment, which is explicitly called out as the different tool.

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 explicit when-to-use ('standalone payee screening before paying') and when-not ('for an x402 challenge or cart and an allow/hold/block spending-rule decision, use preflight_payment instead'), naming the alternative and the condition that selects it.

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