Skip to main content
Glama

Snapshot purchase

purchase_snapshot
DestructiveIdempotent

Get Snapshot for 0.01 USDC. Default mode sandbox creates a test receipt and debits only the test budget. Explicit mode live uses x402 only when commerce, owner mandate and billing eligibility are enabled. An unpaid result contains PaymentRequired in structuredContent and content. Retry the same tool and idempotency key with the signed PaymentPayload in params._meta["x402/payment"]. Confirmed settlement is returned in result._meta["x402/payment-response"]. For a pending order, call get_order with the original order_id; do not submit another payment. REST continuation and PAYMENT-SIGNATURE headers remain supported. Never send a private key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoSandbox is the default. Live explicitly requests the existing authorized x402 purchase flow.sandbox
sinceNo
mandate_idNoOwner-authorized commercial mandate ID. Alternatively send X-AlpNAI-Mandate in the MCP request headers.
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / mandate_id
      Added value: +{
      +  "description": "Owner-authorized commercial mandate ID. Alternatively send X-AlpNAI-Mandate in the MCP request headers.",
      +  "pattern": "^[-a-zA-Z0-9]{8,80}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / mode
      Added value: +{
      +  "default": "sandbox",
      +  "description": "Sandbox is the default. Live explicitly requests the existing authorized x402 purchase flow.",
      +  "enum": [
      +    "sandbox",
      +    "live"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Although annotations indicate readOnlyHint=false and destructiveHint=true, the description adds substantial behavioral detail: test receipts vs. live x402 flow, unpaid results containing PaymentRequired, how to retry with PaymentPayload, where settlement appears in the result, and the warning never to send a private key. This is far more than the annotations alone convey and does not contradict them.

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 description is dense but front-loaded with the core purpose, then logically covers modes, failure handling, and retry behavior. It is longer than minimal but every sentence contributes meaningful operational context, though some details like 'REST continuation' could be trimmed without loss.

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 complexity of a payment flow, no output schema, and only four parameters, the description is highly complete. It covers error states, idempotency, retry semantics, settlement metadata, and the alternative get_order path. The only notable omission is the meaning of the 'since' parameter, which prevents a perfect score.

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 only 50%, and the description compensates well for mode, idempotency_key, and mandate-related eligibility. However, the 'since' parameter remains completely unexplained in both the schema and the description, leaving a gap for an agent trying to understand what value to provide.

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 clearly states the tool's function: purchasing a Snapshot for 0.01 USDC, and distinguishes between sandbox and live modes. This is a specific verb+resource with enough detail to identify it among siblings such as purchase_changes, purchase_evidence, and get_free_sample.

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?

The description provides explicit guidance: sandbox is default, live only applies when specific conditions are met, an unpaid result should be retried with the same tool and idempotency key, and pending orders should use get_order instead of submitting another payment. It names the alternative tool (get_order) and conveys a clear when-to-use/when-not-to-use distinction.

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