Skip to main content
Glama

NoKycCryptoSwap — No-KYC Crypto Swap & 0.40% Solana DEX

Build Unsigned 0.40% Solana DEX Swap Tx

build_solana_swap_tx
Read-only

Build an unsigned Solana VersionedTransaction (base64) for any Solana SPL swap or Pump.fun CA at 0.40% fee (half Phantom's 0.85%). Caller signs locally.

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": {
      "inputMint": "<inputMint>",
      "outputMint": "<outputMint>",
      "amount": "<amount>",
      "userPublicKey": "<userPublicKey>"
    },
    "name": "build_solana_swap_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesHuman-readable amount of input token (e.g. 1.5).
inputMintYesSource Solana token ticker ('sol','usdc','usdt','bonk','pengu') or mint address.
outputMintYesDestination Solana token ticker or mint address.
slippageBpsNoSlippage in bps (10..500, default 50).
userPublicKeyYesCaller's Solana wallet public key.

Output Schema

NameRequiredDescriptionDefault
engineNo
feeBpsNo
swapTransactionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / amount / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / inputMint / maxLength
      Added value: +64
    • addedInput schema / properties / inputMint / minLength
      Added value: +2
    • addedInput schema / properties / outputMint / maxLength
      Added value: +64
    • addedInput schema / properties / outputMint / minLength
      Added value: +2
    • addedInput schema / properties / slippageBps / maximum
      Added value: +500
    • addedInput schema / properties / slippageBps / minimum
      Added value: +10
    • addedInput schema / properties / userPublicKey / maxLength
      Added value: +44
    • addedInput schema / properties / userPublicKey / minLength
      Added value: +32
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "engine": {
      +      "type": "string"
      +    },
      +    "feeBps": {
      +      "type": "number"
      +    },
      +    "swapTransaction": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent with them while adding real context: the transaction is unsigned, no key material is needed, the caller signs locally, and a 0.40% fee is embedded. It does not cover whether a quote must precede the build or how stale/expired transactions behave, keeping it short of a 5.

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 short sentences with the artifact and output encoding front-loaded, followed by the signing model. The 'half Phantom's 0.85%' comparison is mildly promotional but does quantify the fee tradeoff efficiently.

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 an output schema present, return values need no explanation, and the description covers artifact type, encoding, fee, and signing responsibility. What is missing is sequencing relative to the quote and status tools, which matters for a transaction-building tool in a multi-step swap flow.

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 five parameters are already documented, including ticker-or-mint-address acceptance and the slippage range. The description adds only that mints may be Pump.fun contract addresses and that amounts are human-readable, both largely redundant with the schema, so baseline 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?

States a specific verb and artifact: builds an unsigned Solana VersionedTransaction returned as base64, for SPL swaps or Pump.fun contract addresses, at a stated 0.40% fee. The 'unsigned / caller signs locally' phrasing implicitly separates it from quote and swap-execution siblings, but no sibling is named explicitly, so differentiation is inferred rather than stated.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this versus get_swap_quote, create_nokyc_swap, or check_swap_status, and no stated prerequisite such as fetching a quote first. The only usage signal is the implicit flow conveyed by 'Caller signs locally', which leaves the agent to infer the multi-step workflow.

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