Skip to main content
Glama
Solana Rent & Rug Shield MCP Gateway

Solana Rent & Rug Shield MCP Gateway

by sonnyman2014

scan_wallet_unclaimed_sol

Scans a Solana wallet read-only to find empty or dust token accounts holding reclaimable rent SOL, then returns exact lamport, SOL, and USD recovery breakdowns without private keys.

Instructions

Read-only Solana wallet ATA and Token-2022 rent scanner. Identifies empty and dust token accounts holding reclaimable SOL rent without requiring private keys, returning exact lamport, SOL, and USD recovery breakdowns.

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": {
      "wallet": "<wallet>"
    },
    "name": "scan_wallet_unclaimed_sol"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesSolana wallet public key (base58) to scan read-only for reclaimable ATA rent.
pro_pass_tokenNoOptional X-Pro-Pass-Token from Option A Unlimited Pro Pass.
payment_signatureNoOptional confirmed Solana transaction signature paying 89Sv5FvnMNRid1bn8y2Ti1vJPSxWxgiW9GSLsPpBnKK1 for x402 retry.
include_token_2022NoInclude Token-2022 accounts alongside SPL Token accounts (default: true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the whole burden, and it does disclose that the operation is read-only, needs no private keys, and returns exact lamport/SOL/USD breakdowns. However it omits important behavior: the payment/authentication model implied by pro_pass_token and payment_signature, cost, rate limits, and what happens for an invalid or nonexistent wallet.

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?

Two sentences, front-loaded with the read-only scanner identity and followed by the recovery-value payoff. The second sentence is slightly promotional ('exact lamport, SOL, and USD recovery breakdowns') but still conveys useful return information, so there is minimal waste.

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?

For a 4-parameter, annotation-free tool with no output schema, the description covers purpose and output content reasonably well. It is incomplete on the paid/auth flow and error behavior, which the schema references but the description never explains.

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 (wallet, pro_pass_token, payment_signature, include_token_2022) are already documented in the schema. The description only reinforces the Token-2022 scope and adds no format or syntax detail beyond the structured fields, so the baseline of 3 applies.

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 gives a specific verb and resource: a read-only scanner of Solana wallet ATAs and Token-2022 accounts that finds reclaimable rent. That is clearly distinct from an audit or transaction simulation, but the description never names or contrasts the sibling tools, so sibling differentiation is left implicit.

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 is only implied — you scan a wallet to discover empty/dust accounts holding reclaimable rent. There is no explicit when-to-use/when-not-to-use statement, no mention that this is a paid endpoint or when the pro pass / payment signature path should be used, and no pointer to the alternative tools.

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