Skip to main content
Glama

ScorpTech x402 Tools

Sol Balance

sol_balance
Read-onlyIdempotent

SOL and SPL token balances (classic SPL Token + Token-2022) for a Solana wallet address, via public Solana RPC. Read-only. Returns JSON with: address, network, slot, sol, tokenCount, tokens, truncated, warnings. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/sol-balance

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "sol_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax token rows returned (largest UI balance first); default 100
addressYesSolana wallet address (base58, 32 bytes)
include_zeroNoInclude token accounts with a zero balance; default false
include_token2022NoAlso query Token-2022 program accounts; default true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and open-world behavior, so the description's added value is the response shape (address, network, slot, sol, tokenCount, tokens, truncated, warnings), which signals truncation and warning handling. It also discloses per-call pricing ($0.005 USDC per successful call, x402) and an HTTPS fallback endpoint — real behavioral context not present in annotations.

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 resource and scope are front-loaded in the first sentence, followed by safety, return fields, and pricing/transport in descending priority. It is dense but each line carries information; the raw URL and price sentence verge on operational detail but remain call-relevant.

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?

With no output schema, the description compensates by enumerating the returned JSON fields, including 'truncated' and 'warnings', so an agent knows what to expect from a call. Parameters, cost model, and transport alternative are all covered; only the absence of routing guidance against sibling balance/token tools leaves a small gap.

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 description coverage is 100%, so all four parameters (address, limit, include_zero, include_token2022) are already documented in the input schema with defaults and bounds. The description only corroborates that Token-2022 accounts are in scope, adding marginal meaning beyond the schema — the baseline 3 applies.

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 opens with a specific verb+resource: SOL and SPL token balances (classic SPL Token + Token-2022) for a Solana wallet address. The '(classic SPL Token + Token-2022)' and 'via public Solana RPC' qualifiers let an agent distinguish this from siblings like evm_balance or sol_account without opening the schema.

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

Usage Guidelines3/5

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

Usage context is implied by 'for a Solana wallet address' and 'Read-only', and the pricing/HTTPS line tells the agent about cost and an alternate transport. However, no sibling alternative is named and there is no explicit when-not-to-use or exclusion (e.g., use sol_token_meta for metadata, sol_account for account info), leaving routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources