Skip to main content
Glama

get_merkle_proof

Get a Merkle proof to cryptographically verify a trading card's price on the LitecoinVM blockchain. Submit the proof to the MerklePriceOracle smart contract for trustless verification.

Instructions

Get a Merkle proof for on-chain price verification on LitecoinVM.

WHY THIS MATTERS FOR AI AGENTS: Regular API prices require trusting the server. Merkle proofs let you VERIFY the price on-chain without trusting anyone. The proof is a cryptographic guarantee that this exact price was committed to the LitecoinVM blockchain by the oracle operator.

The TCG Price Oracle commits 276K actively-priced products to a single Merkle root on LiteForge daily. This tool returns the proof array that can be submitted to the MerklePriceOracle smart contract to trustlessly verify any card's price.

NOTE: Only actively-priced products (market_price > 0) are included in the Merkle tree. Zero-price catalog entries cannot be proven.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idYesTCGPlayer product ID (e.g. 98580 for Shadowless Charizard)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: it returns a Merkle proof array, only works for actively-priced products (market_price > 0), and zero-price entries cannot be proven. It also explains the overall mechanism (Merkle root on LiteForge).

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 well-structured with sections, front-loading the purpose. While slightly verbose, every sentence adds value (e.g., why it matters, the oracle process, the zero-price note). It could be tightened but remains effective.

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

Completeness5/5

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

Given the presence of an output schema (not shown but indicated), the description still provides essential context about what the tool returns (Merkle proof array) and its application. It also covers limitations (zero-price items) and the overall workflow, making it complete for an AI agent.

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

Parameters4/5

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

Schema coverage is 100% with a single parameter (product_id) described as 'TCGPlayer product ID.' The description adds a concrete example ('e.g. 98580 for Shadowless Charizard') and explains the role of the parameter in verification, adding value beyond the schema.

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 starts with 'Get a Merkle proof for on-chain price verification on LitecoinVM,' clearly stating the specific verb and resource. It distinguishes this tool from siblings like get_price by emphasizing cryptographic verification versus trusting a server.

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 description explains when to use this tool (to verify prices on-chain without trusting a server) and provides context about the underlying oracle. It does not explicitly mention alternative tools or when not to use it, but the context implies other tools (like get_price) for trusted scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sailorpepe/litvm-tcg-oracle-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server