Skip to main content
Glama

compute_merkle_root

Read-only

Compute the Merkle root for a set of CryptoPunk IDs. The root matches the on-chain Solady MerkleProofLib encoding used by the Stash contract. Rate limit: 5 per 10 min (compute bucket — shared with filter_punks, resolve_merkle_root).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
punkIdsYesPunk IDs to include in the Merkle tree (1-10000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The readOnlyHint annotation already indicates a safe read-only operation. The description adds valuable context about the on-chain Solady MerkleProofLib encoding and a detailed rate limit shared with siblings, going beyond the annotation. No contradiction exists.

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 tight, information-dense sentences: the core action, the encoding context, and the rate-limit constraint. No verbose phrasing or redundant details.

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

Completeness3/5

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

The description covers purpose, encoding standard, and operational limits, but omits any mention of the return value format or error behavior. Since there is no output schema, this is a gap, though the simple tool and the name partially compensate.

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?

The input schema provides a complete description of the punkIds parameter (100% coverage), so the description does not need to add much. It only repeats that IDs are included without adding any new parameter meaning, warranting the baseline score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool computes a Merkle root from a set of CryptoPunk IDs, using a specific verb and resource. However, it does not differentiate from the sibling tool resolve_merkle_root, so it lacks explicit sibling distinction.

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?

No explicit when-to-use or alternative guidance is provided. The purpose implies usage when a Merkle root is needed, but there is no mention of how this relates to resolve_merkle_root or when one should be preferred over the other, despite sharing a rate-limit bucket.

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