Skip to main content
Glama

Check a Solana transaction before signing

check_transaction
Read-only

Before a wallet signs a Solana transaction, simulates it on mainnet and says whether it would hand anything over: the wallet account itself, a token account's owner, a standing approval on its tokens, a close authority, stake or nonce authorities. Also lists the SOL and token amounts that would leave and arrive, flags durable nonces (a signed transaction that can be sent much later) and programs SealGuard doesn't know. Verdict: do_not_sign, review or no_red_flags. Read-only: nothing is signed or sent. Paid: needs a SealGuard API key (Authorization: Bearer sgk_…); new keys come with 20 free checks, then US$0.01 a check, or 1,000 a month included with the SealGuard guard. Keys at https://guard.2cstudio.app/mcp-key

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": {
      "transaction": "<transaction>"
    },
    "name": "check_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
signerNoThe wallet about to sign. Defaults to the fee payer (the first signer).
transactionYesThe serialized transaction, base64 (base58 also accepted). Unsigned is fine.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial context beyond them: the verdict enum (do_not_sign / review / no_red_flags), that durable nonces and unknown programs are flagged, that nothing is signed or sent, and the full commercial terms (Bearer sgk_ key, 20 free checks, US$0.01 per check, 1,000/month with the guard) plus the key URL. Auth, cost, and safety profile are all disclosed.

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 purpose and risk categories come first, followed by outputs, verdict values, then operational details. It is dense and list-heavy, and the pricing sentence is long, but every sentence carries information an agent needs for this paid, security-critical tool.

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

Completeness5/5

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

There is no output schema, so the description carries the burden of explaining return values, and it does so by naming the verdict values and the amounts/flags reported. Combined with auth and cost disclosure, nothing material is missing for correct invocation.

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 both parameters (transaction, signer) are already documented, including base64/base58 and the default-to-fee-payer behavior. The description adds only indirect meaning by framing the result around 'the wallet account itself,' which hints at the signer's role but does not clarify parameter usage beyond the schema. 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 states a specific action on a specific resource: simulate a Solana transaction on mainnet before signing and report whether authority or funds would be handed over. It enumerates exactly what is checked (wallet account, token account owner, standing approvals, close authority, stake/nonce authorities) and what is returned, so an agent can tell it apart from sibling scanners like scan_wallet or list_token_approvals.

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?

The trigger condition is explicit and front-loaded: 'Before a wallet signs a Solana transaction.' No sibling tools are named as alternatives or exclusions, so the agent must infer that this is the pre-signing gate rather than a general scanner, but the timing guidance is unambiguous.

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.