Skip to main content
Glama
rollhub-dice-mcp

rollhub-dice-mcp

Official
by rollhub-dev

rollhub_verify

Verify a bet’s provable fairness by recomputing its SHA3-384 and AES-256-CTR cryptographic proof client-side from a bet ID, enabling independent zero-trust outcome checks.

Instructions

Verify a bet was provably fair using zero-trust cryptographic proof — SHA3-384 + AES-256-CTR client-side recomputation. Independent verification.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "bet_id": "<bet_id>"
    },
    "name": "rollhub_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
bet_idYesBet ID to verify
api_keyNoAPI key (uses ROLLHUB_API_KEY env if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real behavioral context: verification is done client-side by recomputing hashes rather than by trusting a server response, which is a meaningful trait. However, it doesn't disclose what the result looks like (boolean, hashes, mismatch details), whether a network call is still made, or what happens when a bet cannot be found.

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 core purpose is front-loaded in a single sentence with no filler. The trailing 'Independent verification.' largely restates 'provably fair' and 'zero-trust' and could be dropped without loss.

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?

For a two-parameter read tool with no output schema and no annotations, the description covers what the tool does but not what it returns or how failures present, which an agent needs in order to interpret a verification result. It is adequate but leaves the outcome shape unspecified.

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?

Both parameters (bet_id, api_key) are fully described in the schema at 100% coverage, and the description mentions neither, so the baseline of 3 applies. It adds no extra meaning such as whether api_key must match the account that placed the bet or when the env fallback is insufficient.

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?

States a specific verb and resource ('Verify a bet was provably fair') plus the method (SHA3-384 + AES-256-CTR recomputation), so the agent knows exactly what the tool does. It does not distinguish itself from the game-specific verify siblings (rollhub_coinflip_verify, rollhub_roulette_verify), leaving that boundary implicit.

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

Usage Guidelines2/5

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

The description says nothing about when to use this versus the game-specific verify tools or when not to use it (e.g., before a bet settles, or without a bet_id). The only guidance is implicit in the word 'verify' and the required bet_id parameter.

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