Skip to main content
Glama

protect_payment

One automatic x402 payment-safety front door: pre-payment ALLOW/BLOCK, duplicate-safe ID binding, policy risk reasons, and optional mined-settlement verification. Free and rate-limited; the buyer signs and pays.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paymentYes
settlementNo
idempotencyKeyYes

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose that the tool can perform pre-payment allow/block decisions, has idempotency binding, and can optionally verify mined settlement; it also notes it is free/rate-limited and that the buyer signs/pays. However, it does not clarify error handling, side effects, or what happens after an ALLOW/BLOCK decision.

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?

The description is only two sentences, front-loading the core purpose with a colon-separated feature list, followed by cost and flow details. It is concise and every word contributes without redundancy.

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

Completeness2/5

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

The tool has a complex nested input schema with 3 parameters and no output schema or annotations. The description provides a high-level overview but lacks sufficient detail on required fields, error conditions, or the exact usage sequence, making it incomplete for safe invocation.

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 0%, so the description must compensate. It hints at idempotencyKey (duplicate-safe ID binding), policy (policy risk reasons), and settlement (optional mined-settlement verification), but it does not explain the structure of the payment object, accepted schemes, or how to populate nested fields.

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?

The description clearly identifies the tool as a payment-safety front door for x402 payments, listing specific behaviors (pre-payment ALLOW/BLOCK, duplicate-safe ID binding, policy risk reasons, optional settlement verification). It differentiates from swap/trading siblings, though it does not explicitly contrast with the similarly payment-related route_agent_payment.

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

Usage Guidelines2/5

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

The description gives no explicit guidance on when to use this tool versus alternatives. It calls it 'one automatic ... front door,' implying it is the primary payment-safety tool, but it does not state exclusions or compare with sibling tools like route_agent_payment.

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.

TDQS

B3.3/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but there is some functional overlap among safety and verification tools (e.g., check_base_swap vs guard_base_trade, verify_swap_execution vs verify_transaction_intent) that could cause confusion without careful reading. Overall, the descriptions help differentiate them.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern with clear verbs (check, get, guard, list, preflight, prepare, protect, prove, route, verify). No mixed conventions or ambiguous naming styles are present.

Tool Count5/5

Twelve tools is well-scoped for a blockchain safety and payment protection server. Each tool serves a distinct function in the workflows of asset discovery, risk assessment, transaction preparation, and verification, without feeling excessive or sparse.

Completeness4/5

The toolset covers the core domain comprehensively, including safety checks, swap quotes, trade guarding, transaction simulation, transfer and payment preparation, and verification. Minor gaps exist (e.g., no tool for revoking or managing receipts), but the main workflows are well-served.

Resources