Skip to main content
Glama

cpu_reveal

Reveal a cell you own to collect its deposits, paying ETH and burning $CPU in one on-chain transaction. If $CPU is insufficient, get the exact shortfall and steps to swap ETH and retry.

Instructions

Reveal the deposits of a cell you own (call cpu_authenticate first). Sends an on-chain Cell tx requesting randomness. Every reveal is paid for, the first one included: the cell quotes the price and this call pays exactly that — ETH with the transaction, so keep some, plus a $CPU burn it approves for you. Revealing a cell a second time additionally needs all its deposits depleted. 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 pays for no second reveal. If the wallet lacks the quoted $CPU, this call sends no approval or reveal, reports the exact shortfall, and gives the recovery path: cpu_quote_swap, then cpu_swap selling ETH, then retry cpu_reveal so the price is quoted again.

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.10.0
    • changedInput schema / properties / tokenId / maximum
      Previous value: -48990New value: +29150
  2. First observedv0.8.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and discharges it thoroughly. It discloses the on-chain transaction, payment structure (quoted price in ETH plus a `$CPU` burn), approval behavior, second-reveal depletion requirement, settlement on self-service networks, and exact failure behavior when `$CPU` is insufficient. This exceeds what structured annotations could reasonably provide.

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 long but every sentence carries essential operational information, and the primary action plus prerequisite is front-loaded. It loses the top score only because it is a dense single paragraph with no structural cues such as bullets or explicit outcome headings, which would improve scanability.

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 one-parameter tool with no annotations and no output schema, the description is unusually complete: prerequisites, costs, repeat-reveal rules, network-mode dependency, retry behavior, and failure/recovery are all covered. The remaining gaps are that it does not mention the sibling `cpu_fulfill_reveveal` and does not clearly specify the normal return payload beyond 'returns the deposits it rolled' on self-service networks.

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 sole parameter `tokenId` is already fully described in the schema, and schema description coverage is 100%. The description reinforces the ownership nuance ('a cell you own') but does not add new parameter-level syntax or format details, so the baseline of 3 is appropriate.

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 states a specific verb and resource: 'Reveal the deposits of a cell you own.' It is not a tautology and adds the prerequisite of calling `cpu_authenticate` first. However, it does not differentiate this tool from the sibling `cpu_fulfill_reveal`, leaving the boundary between the two implicit.

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 gives strong guidance: call `cpu_authenticate` first, understand the network randomness mode via `cpu_get_game_config`, retry on a still-pending reveal, and follow a specific recovery path through `cpu_quote_swap` and `cpu_swap`. It does not explicitly state when to prefer an alternative like `cpu_fulfill_reveal` or list exclusion conditions, so it stops short of a 5.

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

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