Skip to main content
Glama

buy_verification_credits

Pay for x402 verification credits with USDC on-chain when paywall owners exceed the free tier and lack Stripe billing. Returns 402 payment instructions to pay and retry with proof.

Instructions

Buy x402 verification credits with USDC on-chain. Paywall owners need credits to process verifications beyond the free tier (1,000/month) when they don't have Stripe billing configured. Returns 402 payment instructions — pay on-chain and retry with proof.

Input Schema

NameRequiredDescriptionDefault
countNoNumber of verification credits to purchase (min 100, default 1000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.14.8
    • addedInput schema / properties / count / maximum
      Added value: +9007199254740991
  2. First observedv1.7.3

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well by explaining the 402 payment-instruction flow and the need to retry with proof. It does not discuss wallet selection, auth requirements, or irreversible on-chain payment risks, but the core payment behavior is disclosed.

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?

Three sentences, front-loaded with the action and resource, then the usage condition, then the return/retry behavior. There is no wasted text.

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?

Given the simple schema and absence of annotations or output schema, the description is nearly complete: it covers purpose, when to use it, and the 402 payment flow. It leaves some operational details implicit, such as wallet source and exact pricing, but those are plausibly deferred to the 402 response or sibling tools.

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%, and the single `count` parameter already documents min/default. The description does not add further parameter meaning, so the baseline of 3 is appropriate.

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 states a specific verb and resource: buying x402 verification credits with USDC on-chain. It also distinguishes this from generic payment or paywall operations by tying credits to paywall verification limits and the Stripe-billing alternative.

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 clearly explains when to use it: paywall owners need credits beyond the 1,000/month free tier when Stripe billing is not configured. It does not explicitly name sibling alternatives such as quote_x402 or pay_x402, but the usage context is clear.

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