Skip to main content
Glama

Solana transfer readiness

solana_transfer_readiness
Read-onlyIdempotent

Will this Solana transfer succeed? A verdict for SOL or an SPL or Token-2022 token. When to use: Before building or signing a Solana transfer, to learn whether it will fail and what it will cost in rent and fees. Prefer another tool: Not a simulation of the exact transaction (no priority fee, no program logic), not a token price or holder lookup, and not a way to read raw accounts. Example: solana_transfer_readiness {"source":"83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri","destination":"A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd","mint":"SOL","amount":"0.5"} Paid: 0.02904 USDC or 0.0242 EURC per call on Solana mainnet, VAT included. With prepaid credits, debit per call: 0.02 EUR-denominated units (approx 50 calls per bundle) or 0.024 USD-denominated units (approx 34 calls per bundle).

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": {
      "source": "<source>",
      "destination": "<destination>",
      "mint": "<mint>",
      "amount": "<amount>"
    },
    "name": "solana_transfer_readiness"
  }
}

Input Schema

NameRequiredDescriptionDefault
mintYes`SOL` for native SOL, or the mint address of an SPL Token or Token-2022 token
amountYesPositive decimal amount in UI units (SOL or tokens, not lamports or raw units); at most 18446744073709551615 in raw units
sourceYesSending wallet: Solana wallet address: a base58 string that decodes to exactly 32 bytes
destinationYesReceiving wallet (not its token account), different from source: Solana wallet address: a base58 string that decodes to exactly 32 bytes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / amount / description
      Previous value: -"Positive decimal amount in UI units (SOL or tokens, not lamports or raw units)"New value: +"Positive decimal amount in UI units (SOL or tokens, not lamports or raw units); at most 18446744073709551615 in raw units"
    • changedInput schema / properties / destination / description
      Previous value: -"Receiving wallet (not its token account): Solana wallet address: a base58 string that decodes to exactly 32 bytes"New value: +"Receiving wallet (not its token account), different from source: Solana wallet address: a base58 string that decodes to exactly 32 bytes"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "$defs": {
      -    "MetaSolana": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "age_seconds": {
      -          "description": "Age of the data at response time",
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "as_of": {
      -          "description": "When the data was read from Solana",
      -          "format": "date-time",
      -          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -          "type": "string"
      -        },
      -        "cache": {
      -          "enum": [
      -            "hit",
      -            "miss",
      -            "stale"
      -          ],
      -          "type": "string"
      -        },
      -        "commitment": {
      -          "const": "finalized",
      -          "description": "Every read is at finalized commitment",
      -          "type": "string"
      -        },
      -        "slot": {
      -          "description": "Context slot of the finalized read",
      -          "maximum": 9007199254740991,
      -          "minimum": -9007199254740991,
      -          "type": "integer"
      -        },
      -        "stale": {
      -          "description": "True when served past its fresh TTL (stale-on-error)",
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "slot",
      -        "commitment",
      -        "as_of",
      -        "age_seconds",
      -        "cache",
      -        "stale"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "$schema": "https://json-schema.org/draft/2020-12/schema",
      -  "additionalProperties": false,
      -  "properties": {
      -    "amount": {
      -      "description": "Amount checked, in the asset's UI units (as sent)",
      -      "type": "string"
      -    },
      -    "amount_raw": {
      -      "description": "Amount in raw units (lamports for SOL)",
      -      "type": "string"
      -    },
      -    "ata_creation_lamports": {
      -      "anyOf": [
      -        {
      -          "description": "Decimal string",
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "Rent-exempt lamports to create the destination token account; null when not needed"
      -    },
      -    "blockers": {
      -      "description": "Every blocking code that matched",
      -      "items": {
      -        "enum": [
      -          "insufficient_balance",
      -          "insufficient_sol_for_fees",
      -          "source_below_rent_exempt",
      -          "destination_below_rent_exempt",
      -          "source_frozen",
      -          "destination_frozen",
      -          "non_transferable",
      -          "mint_paused",
      -          "destination_ata_occupied"
      -        ],
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "decimals": {
      -      "description": "Decimals of the asset (9 for SOL)",
      -      "maximum": 9007199254740991,
      -      "minimum": -9007199254740991,
      -      "type": "integer"
      -    },
      -    "destination": {
      -      "description": "Receiving wallet address",
      -      "type": "string"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/MetaSolana"
      -    },
      -    "mint": {
      -      "description": "`SOL` or the mint address",
      -      "type": "string"
      -    },
      -    "net_amount": {
      -      "description": "Raw units the destination receives after any transfer fee",
      -      "type": "string"
      -    },
      -    "ready": {
      -      "description": "True when no blocker applies",
      -      "type": "boolean"
      -    },
      -    "requires_ata_creation": {
      -      "description": "True when the destination has no associated token account yet",
      -      "type": "boolean"
      -    },
      -    "source": {
      -      "description": "Sending wallet address",
      -      "type": "string"
      -    },
      -    "token_program": {
      -      "description": "Token program that owns the mint; null for SOL",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "transfer_fee": {
      -      "anyOf": [
      -        {
      -          "description": "Decimal string",
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "Token-2022 transfer fee in raw units; null without a fee config"
      -    },
      -    "warnings": {
      -      "description": "Every non-blocking warning that matched",
      -      "items": {
      -        "enum": [
      -          "destination_off_curve",
      -          "memo_required"
      -        ],
      -        "type": "string"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "source",
      -    "destination",
      -    "mint",
      -    "amount",
      -    "amount_raw",
      -    "decimals",
      -    "token_program",
      -    "ready",
      -    "blockers",
      -    "warnings",
      -    "requires_ata_creation",
      -    "ata_creation_lamports",
      -    "transfer_fee",
      -    "net_amount",
      -    "meta"
      -  ],
      -  "type": "object"
      -}New value: +null
  3. Changed1 schema field changed
    • changedOutput schema / properties / blockers / items / enum
      Previous value: -[
      -  "insufficient_balance",
      -  "insufficient_sol_for_fees",
      -  "source_below_rent_exempt",
      -  "destination_below_rent_exempt",
      -  "source_frozen",
      -  "destination_frozen",
      -  "non_transferable",
      -  "mint_paused"
      -]New value: +[
      +  "insufficient_balance",
      +  "insufficient_sol_for_fees",
      +  "source_below_rent_exempt",
      +  "destination_below_rent_exempt",
      +  "source_frozen",
      +  "destination_frozen",
      +  "non_transferable",
      +  "mint_paused",
      +  "destination_ata_occupied"
      +]
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, open-world, non-destructive, so the description's own burden is lighter. It nonetheless adds real context the annotations cannot: the tool does not model priority fees or program logic, and it reports rent and fee cost rather than performing the transfer. It does not describe the verdict's shape or what it does when the destination lacks a token account.

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?

Front-loads the purpose question, then layers 'When to use', exclusions, a call example, and pricing as clearly labeled sections — easy to scan. The pricing paragraph is verbose (list price plus two prepaid-credit denominations) but is billing disclosure the agent likely needs before incurring cost.

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 four-required-parameter tool with no output schema, the description states what the caller learns (success verdict, rent and fee cost) and what it explicitly does not do, and discloses per-call pricing. The remaining gap is the return payload's structure, which is unaddressed by both the description and an absent output schema.

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 coverage is 100%, so all four parameters (source, destination, mint, amount) are already fully documented with address format and UI-unit semantics. The description's only additional contribution is a worked example showing mint:"SOL" and amount:"0.5", which illustrates the sentinel value but adds no constraints beyond the schema. Baseline 3 applies when the schema carries the weight.

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?

A specific verb-plus-resource framing — a pass/fail 'verdict' on whether a Solana transfer (SOL, SPL, or Token-2022) will succeed — set off immediately by the leading question. It scopes the tool to a class of assets the sibling set would otherwise leave ambiguous.

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?

Explicit 'When to use: before building or signing a Solana transfer' plus a 'Prefer another tool' block that rules out simulation of the exact transaction, price/holder lookups, and raw account reads. It stops short of naming a concrete sibling (e.g. solana_fee_readiness or solana_payment_verify) to route to, so the agent must infer the alternative from behavior descriptions.

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