Skip to main content
Glama

Pay Decision Snapshot

pay_decision_snapshot
Read-only

Compare one supplied x402 v2 exact Base USDC payment requirement against declared intent and return deterministic consistency, mismatch, change, fingerprint, and coverage evidence without executing a payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intentYes
payment_requiredYesObserved x402 v2 PAYMENT-REQUIRED challenge decoded as JSON.
previous_snapshotNoOptional prior snapshot for stateless material-change detection.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
changesYes
matchedYes
coverageYes
evidenceYes
snapshotYesReusable stateless comparison state.
assessmentYesConsistency decision only; never a safety rating.
mismatchedYes
reason_codesYes
checks_skippedYes
external_callsYesAlways empty in this offline MVP.
checks_performedYes
payment_fingerprintYesSHA-256 of canonical material payment fields.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, so the safety profile is covered; the description then adds the crucial behavioral fact that no payment is executed and that outputs are deterministic evidence (consistency/mismatch/change/fingerprint/coverage). It does not explain the non-idempotent behavior implied by idempotentHint=false (e.g., that results shift when previous_snapshot is supplied), leaving one annotation unexplained.

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?

A single sentence with the verb and comparison front-loaded and no filler sentences. The trailing enumeration (consistency, mismatch, change, fingerprint, coverage) is dense jargon but each term conveys a distinct output class, so it largely earns its place.

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?

An output schema exists, so return values need not be spelled out, and the nested intent/payment_required structures are well documented in the schema. The description is nearly complete for this read-only comparison tool, with the only gap being the role of previous_snapshot in producing the advertised change evidence.

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 67% and the nested intent fields are each documented by the schema, so the schema does most of the work. The description adds the constraint that only one payment requirement and an 'exact' Base USDC case are handled, but it never mentions the previous_snapshot parameter that drives the 'change' evidence it advertises.

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 (compare), the exact operands (one supplied x402 v2 exact Base USDC payment requirement vs declared intent), and the output categories (consistency, mismatch, change, fingerprint, coverage evidence). It also explicitly disclaims payment execution, which separates it from any of the heterogeneous sibling tools (blockchain_intelligence, transaction_intelligence, etc.).

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?

The phrase 'without executing a payment' plus 'compare ... against declared intent' makes the pre-flight/validation context clear, and the mention of 'change' evidence implies prior-snapshot comparison. However, no explicit when-not conditions or named alternative tools are provided, so it stops 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