Skip to main content
Glama
veniceai

Venice MCP Server

Official
by veniceai

Venice x402 Wallet Balance

venice_x402_balance

Retrieve the prepaid x402 credit balance for a wallet address authenticated via SIWX. No API key required.

Instructions

Check the prepaid x402 credit balance for a wallet address. SIWX-ONLY: this endpoint rejects API key auth and requires X-Sign-In-With-X (forwarded from VENICE_SIWX_TOKEN). The wallet in the path must match the SIWX-authenticated wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wallet_addressYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the authentication method and a critical behavioral constraint (wallet must match). It could mention that the operation is read-only, but the purpose implies it. Overall good transparency.

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 two sentences, front-loaded with purpose, followed by critical auth details. No redundant or unnecessary words. Excellent structure.

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 tool with one parameter and no output schema, the description covers purpose, auth, and constraint. It could mention the return format (e.g., balance amount) to be fully complete, but it is still sufficient for an AI agent.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate. It adds meaning by stating the parameter is a 'wallet address' and that 'the wallet in the path must match the SIWX-authenticated wallet'. This adds constraint beyond the regex pattern in 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's purpose: 'Check the prepaid x402 credit balance for a wallet address.' The verb 'check' and resource 'x402 credit balance' are specific, and it distinguishes from siblings like venice_x402_top_up_info and venice_x402_transactions.

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 explicitly specifies authentication requirements: 'SIWX-ONLY' and requires X-Sign-In-With-X token. It also states the constraint that the wallet must match the authenticated wallet. This provides clear context for when to use the tool, though no explicit comparison to alternatives 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/veniceai/venice-mcp-server'

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