Skip to main content
Glama

cpu_reveal

Reveal deposits of a cell you own. Sends an on-chain tx for randomness, paying ETH fee. First reveal free; re-reveal requires depleted deposits and costs $CPU.

Instructions

Reveal the deposits of a cell you own (call cpu_authenticate first). Sends an on-chain Cell tx requesting randomness, paying the source fee in ETH — keep some ETH. First reveal is free; a re-reveal needs all deposits depleted and costs $CPU (auto-approved once). How the draw arrives depends on the network’s randomness mode — see cpu_get_game_config. On a self-service network this call also settles the draw and returns the deposits it rolled; call it again on a cell whose reveal is still pending to finish that one, which costs no new fee.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenIdYesThe tokenId of a cell you own to reveal.
Behavior5/5

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

With no annotations, the description carries full burden and excels: it discloses on-chain transaction, ETH fee requirements, free first reveal vs. costly re-reveal, dependency on network randomness mode, settlement behavior on self-service networks, and the fee-free nature of calling again on a pending reveal. This is comprehensive behavioral disclosure.

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 dense but every sentence provides necessary operational detail—prerequisite, fees, re-reveal conditions, network dependency, and settlement behavior. It is efficiently structured, front-loaded with purpose, and wastes no words.

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?

For a tool with no output schema, the description explains key outcomes (returns deposits rolled on self-service networks, pending reveals) and important caveats (randomness mode, fee structure). It lacks a full return format specification, but given the simple single-parameter input and rich behavioral context, it is nearly complete.

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 coverage is 100% and the single parameter tokenId is already described as 'The tokenId of a cell you own to reveal.' The description merely reiterates 'a cell you own' without adding new parameter semantics, such as edge cases or format details, so it meets the baseline but adds no extra value.

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 a clear verb+resource: 'Reveal the deposits of a cell you own.' It explicitly scopes to owned cells and distinguishes from related actions like re-reveal and pending reveals, making the tool's purpose unambiguous even with sibling tools like cpu_fulfill_reveal present.

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?

Provides explicit prerequisites ('call cpu_authenticate first'), resource requirements (ETH for fees), and situational guidance (when re-reveal applies, self-service network behavior). It does not explicitly name alternative tools or state when not to use it, but the context is clear and actionable.

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/projectcpu/project-cpu-mcp'

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