Skip to main content
Glama

dero_get_encrypted_balance

Read-only

Retrieve the encrypted balance blob for a DERO address at a specified chain height. Use this to verify on-chain encrypted state before transactions.

Instructions

Get the ENCRYPTED balance blob for a DERO address at a topo height via DERO.GetEncryptedBalance.

CRITICAL: this returns an opaque encrypted blob, NOT a cleartext balance. Only the wallet holding the spend key can decrypt it. Do NOT present the encrypted bytes as a balance to the user.

When to call: when verifying that an address has on-chain encrypted state (e.g. before attempting a transfer with a wallet you control), or as a sub-step in another tool. PREFER citing dero_docs_search("encrypted balance") so the user understands the opacity.

Input Requirements (CRITICAL):

  • address MUST start with dero1 (mainnet) or deto1 (testnet).

  • topoheight MUST be an integer; use -1 for the latest chain tip.

  • scid is OPTIONAL. Omit for native DERO; provide 64-hex SCID for asset balances.

Output: { status, registration, balance (encrypted blob), ... }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesDERO address (dero1… or deto1…)
topoheightYesUse -1 for latest chain tip
scidNoAsset SCID hex; omit for native DERO
Behavior5/5

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

Annotations (readOnlyHint=true) are consistent. The description adds critical behavioral context: the output is an opaque encrypted blob, only decryptable by the spend key holder. It explains the non-cleartext nature and the requirement for wallet control, which goes beyond annotations.

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 well-organized with clear sections: intro, critical warning, usage guidance, input requirements, and output structure. Every sentence adds value and is front-loaded with the most important information.

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

Completeness5/5

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

Despite no output schema, the description provides output field names (status, registration, balance). It covers all essential aspects: what the tool returns, constraints, and safety warnings. The complexity is adequately addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, the description still adds value by clarifying address prefix (dero1/deto1), topoheight semantics (-1 for latest), and scid optionality. These details are not present in the schema descriptions, making parameter usage clearer.

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 clearly states the tool retrieves an encrypted balance blob using DERO.GetEncryptedBalance. It distinguishes from sibling tools by specifying the unique output type (encrypted blob) and scope (address at a given topoheight), making the purpose unambiguous.

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

Usage Guidelines5/5

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

Explicit guidance on when to call: for verifying on-chain encrypted state before transfers, or as a sub-step. It also recommends citing dero_docs_search for user education, and warns against presenting encrypted bytes as balance. This provides clear context and alternatives.

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/DHEBP/dero-mcp-server'

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