Skip to main content
Glama

x402 Pay-To Safety Check

pay_to_check

Screen a URL or wallet before paying an x402 endpoint. Use it when an agent is about to send USDC and wants safe, caution, or avoid. Buyer synonyms: x402 safety check, payTo screen, wallet risk, 402 price check, sanctions screen. A failed source is not a clean bill of health.

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": "pay_to_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
pay_toNo
addressNo
networkNo
expected_priceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / pay_to
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral load. It usefully discloses the three verdict states and warns that 'a failed source is not a clean bill of health,' but it does not explain what sources are checked, whether the call is read-only, or how inconclusive results should be handled.

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?

The definition is short and front-loaded with the purpose. The synonym list is somewhat keyword-stuffed and less useful for invocation, but it does not obscure the main instruction.

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

Completeness3/5

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

The description establishes purpose, trigger, and a key caveat, but with no annotations, no output schema, and 0% parameter coverage it omits the parameter-level and source-level detail needed to invoke it confidently.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, and the description only gestures at 'URL or wallet,' 'payTo,' and 'price check.' It does not explain network, address versus pay_to, or expected_price, leaving most parameter semantics undocumented.

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?

The description uses a specific verb ('Screen') and resource ('a URL or wallet') and scopes it to x402 endpoints before USDC payment. That scope and the listed 'x402 safety check' / 'payTo screen' synonyms clearly separate it from generic checkers such as email_check or vendor_check.

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?

It gives a clear trigger: use when an agent is about to send USDC and wants a safe/caution/avoid verdict before paying an x402 endpoint. It does not state when not to use it or name an alternative tool, so it falls short of a 5.

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