Skip to main content
Glama

arc200_has_balance

Determines if an ARC-200 account holds a non-zero token balance on Algorand or Voi mainnets. Returns true when a balance box exists with value > 0, false otherwise.

Instructions

ARC-200 hasBalance(address) — whether the account has a non-zero balance box (ulujs dual-schema read).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesApplication ID of the ARC-200 or ARC-72 contract.
addressYes58-character AVM account address.
networkYesAlgorand or Voi mainnet identifier.
Behavior3/5

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

With no annotations, the description carries the full burden. It explicitly labels this a 'read' operation, indicating it is non-mutating, and clarifies the semantic of 'has balance' as checking for a non-zero balance box. However, it introduces vague jargon 'ulujs dual-schema' without explanation and does not disclose return type or edge cases.

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 very concise (one sentence) and front-loaded with the function name. However, the phrase 'ulujs dual-schema read' is cryptic and may confuse rather than clarify, slightly reducing its structural effectiveness.

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 simple boolean read operation, the description covers the core behavior ('whether the account has a non-zero balance box') and is sufficient given the schema fully documents inputs. It does not explicitly state the return value, but the phrasing implies a boolean result. No output schema exists, so a bit more detail would improve completeness.

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%, with all three parameters (network, appId, address) described. The description adds no extra parameter-level detail beyond mentioning 'address' in the function signature, so it provides no value beyond the schema.

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 checks whether an account has a non-zero balance box via the ARC-200 hasBalance function. It distinguishes itself from siblings like arc200_balance_of by focusing on the existence of a balance rather than the amount.

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 implies the tool is a read-only query for verifying balance box existence, but it does not explicitly mention alternatives or when not to use it. Sibling context suggests balance_of for amounts, but no direct comparison is given.

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/NautilusOSS/AssetMCP'

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