Skip to main content
Glama

Solana payment verify

solana_payment_verify
Read-onlyIdempotent

Did this settled Solana payment deliver the expected amount to the expected recipient? When to use: After a payment has been submitted: to confirm from the chain that the recipient received the mint and amount you expected, including the Token-2022 fee case. Prefer another tool: Before sending a transfer (use /v1/solana/transfer-readiness), or to list a wallet's transfers or balances (none are returned). Example: solana_payment_verify {"signature":"B7yABUkY4RudiDfoax94mfqVv2YuNJ4AVsg7LjdFT9Qm8bScsw3PoB2LxpuUqzCkiniKQJ9AKXfSfWaw1kWYFaF","recipient":"GEJySUi6LjHwQWKD2BDg3TiGKwhKmBU7JJTjZfk1RD54","mint":"SOL","amount":"0.02"} Paid: 0.01452 USDC or 0.0121 EURC per call on Solana mainnet, VAT included. With prepaid credits, debit per call: 0.0025 EUR-denominated units (approx 400 calls per bundle) or 0.003 USD-denominated units (approx 273 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": {
      "signature": "<signature>",
      "recipient": "<recipient>",
      "mint": "<mint>",
      "amount": "<amount>"
    },
    "name": "solana_payment_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
mintYes`SOL` for native SOL, or the mint address of the SPL Token or Token-2022 token the payment had to deliver
amountYesPositive decimal amount the payment had to deliver, in UI units (not lamports or raw units); at most 9 decimals for SOL
sourceNoWallet the payment had to be signed by: Solana wallet address: a base58 string that decodes to exactly 32 bytes; omit to skip the sender check
recipientYesWallet the payment had to reach (not its token account): Solana wallet address: a base58 string that decodes to exactly 32 bytes
referenceNoReference key the payment had to carry among its account keys: Solana wallet address: a base58 string that decodes to exactly 32 bytes; omit to skip the reference check
signatureYesTransaction signature of the payment to verify: a base58 string that decodes to exactly 64 bytes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds real context beyond that: it checks specific properties (mint, amount, recipient, and optionally sender/reference by omission) and states that no transfer lists or balances are returned. It stops short of describing what the verification result itself looks like.

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?

Purpose is front-loaded as a question, followed by when-to-use, alternatives, and a concrete example in a predictable order. The closing pricing block is long and hedged across two currencies and two credit denominations, which dilutes an otherwise tight definition, though cost data is arguably relevant for a paid endpoint.

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?

With six parameters and no output schema, the description carries the burden of explaining the response, and it only says what is not returned (transfers, balances) rather than describing the verification verdict or failure reasons. An agent knows exactly when and how to call it, but not what shape the result takes.

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 the schema already documents each parameter's format and semantics, including the omit-to-skip behavior for `source` and `reference`. The worked example illustrates a valid four-parameter call but adds no syntax or meaning the schema does not already carry; baseline 3 is appropriate.

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?

Opens with a precise question that defines the verification: confirming that a settled Solana payment delivered the expected amount to the expected recipient in the expected mint. The verb and resource are unambiguous, and it explicitly separates itself from transfer-readiness and from balance/transfer-listing tools.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use condition (after a payment has been submitted, to confirm on-chain delivery, including the Token-2022 fee case) and an explicit when-not-to-use with the named alternative `/v1/solana/transfer-readiness` for pre-send checks. Nothing is left 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