Skip to main content
Glama

generate_merkle_proof

Construct binary SHA-256 Merkle trees to generate lightweight cryptographic inclusion proofs for whitelist and state verification.

Instructions

Constructs binary SHA-256 Merkle trees and generates lightweight cryptographic inclusion proofs for whitelist and state verification. (0.02 USDC on Base L2)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesInput parameters or JSON string payload for the tool execution
paymentSignatureNoBase L2 USDC micropayment signature or transaction hash for x402 settlement

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It usefully discloses the algorithm (SHA-256), the output kind (inclusion proofs), and the cost (0.02 USDC on Base L2), but it does not clarify side effects, expected input format, or response structure. This is moderate transparency with meaningful gaps.

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 a single, front-loaded sentence that states the core functionality immediately and adds the payment cost parenthetically. There is no repetition, fluff, or filler.

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?

For a cryptographic construction tool with no output schema and no annotations, the payload contract and paymentSignature usage are not explained. An agent cannot reliably determine what JSON structure to pass or what form the generated proof will take, so the description is incomplete for correct 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 100%, and both parameters have descriptions, so the baseline is 3. The tool description adds no parameter-level meaning; 'payload' remains generic and is not tied to Merkle leaves, tree height, or the target leaf.

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 uses specific verbs ('constructs', 'generates') tied to a clear resource ('binary SHA-256 Merkle trees', 'lightweight cryptographic inclusion proofs') and a stated use case ('whitelist and state verification'). This clearly differentiates it from verification-focused siblings like verify_merkle_airdrop_leaf.

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

Usage Guidelines3/5

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

The intended context is implied by the phrase 'for whitelist and state verification', so an agent gets some situational signal. However, there are no explicit when-to-use or when-not-to-use instructions, nor any mention of alternatives such as verify_merkle_airdrop_leaf or zero_knowledge_merkle_membership_proof.

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

Deploy Server

Other Tools