Skip to main content
Glama

check_balance

View your available USDC balance on the402.ai to manage purchases, service inquiries, and paid operations through the MCP server.

Instructions

Check your pre-funded USDC balance on the402.ai. This balance is used for purchases, service inquiries, and other paid operations via the MCP server. Requires API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The check_balance tool is registered and implemented within the server.tool call. The handler logic calls the client.authGet("/v1/balance") method.
    server.tool(
    	"check_balance",
    	"Check your pre-funded USDC balance on the402.ai. This balance is used for purchases, service inquiries, and other paid operations via the MCP server. Requires API key.",
    	{},
    	async () => {
    		const result = await client.authGet("/v1/balance");
    		return {
    			content: [
    				{ type: "text" as const, text: JSON.stringify(result, null, 2) },
    			],
    		};
    	}
    );

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

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