Skip to main content
Glama
ClawyPro

Clawy MCP Server

by ClawyPro

clawy_balance

Check remaining USDC credits and wallet address for Clawy MCP Server's pay-per-use AI tools.

Instructions

Check your Clawy x402 credit balance. Shows remaining USDC credits and wallet address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the clawy_balance tool, which fetches balance via a gateway request and formats the response.
      async () => {
        const result = await gatewayRequest("GET", "/v1/balance");
        const wallet = getWalletAddress();
        const text = typeof result.data === "string"
          ? result.data
          : JSON.stringify({ wallet, ...result.data as object }, null, 2);
        return { content: [{ type: "text" as const, text }] };
      },
    );
  • src/index.ts:43-55 (registration)
    Registration of the clawy_balance tool using the server.tool method.
    server.tool(
      "clawy_balance",
      "Check your Clawy x402 credit balance. Shows remaining USDC credits and wallet address.",
      {},
      async () => {
        const result = await gatewayRequest("GET", "/v1/balance");
        const wallet = getWalletAddress();
        const text = typeof result.data === "string"
          ? result.data
          : JSON.stringify({ wallet, ...result.data as object }, null, 2);
        return { content: [{ type: "text" as const, text }] };
      },
    );
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions what the tool does ('check balance', 'shows remaining USDC credits and wallet address') but lacks behavioral details such as authentication requirements, rate limits, error conditions, or whether it's read-only or has side effects. This is inadequate for a tool with no annotation coverage.

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 concise and front-loaded: two sentences that directly state the tool's function and output. There's no wasted verbiage, and every sentence adds value by explaining what the tool does and what it shows.

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

Completeness3/5

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

Given the tool has no parameters, no annotations, and no output schema, the description is minimally complete. It explains the purpose and output ('remaining USDC credits and wallet address'), but lacks context like authentication, error handling, or data format. For a simple query tool, this is adequate but leaves gaps.

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?

The tool has 0 parameters, and schema description coverage is 100%, so no parameter documentation is needed. The description doesn't add parameter semantics, but that's appropriate here. Baseline is 4 for zero parameters, as it avoids unnecessary detail.

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 clearly states the tool's purpose: 'Check your Clawy x402 credit balance' specifies the verb ('check') and resource ('Clawy x402 credit balance'). It distinguishes itself from siblings by focusing on a specific Clawy service, though it doesn't explicitly contrast with similar tools since none exist in the sibling list.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., authentication), context for use, or exclusions. Given the sibling tools include various financial and query tools, some implicit overlap might exist, but no explicit guidance is provided.

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

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