Skip to main content
Glama

solknife_swap_order

Jupiter quote + unsigned swap tx. amount in input-mint base units. Returns the unsigned tx + lastValidBlockHeight + quote details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
takerYesA Solana address in base58, 32-44 chars.
amountYesAmount in base units as a decimal string (not a float). For a 6-decimal mint, "1000000" is 1 token.
inputMintYesA Solana address in base58, 32-44 chars.
outputMintYesA Solana address in base58, 32-44 chars.
slippageBpsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations provided. Description clarifies it returns an unsigned tx (non-executing), but does not discuss authentication, rate limits, or other behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise: one sentence plus a note on amount. Front-loaded with key action.

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?

Briefly describes output (unsigned tx, lastValidBlockHeight, quote details) but could benefit from more structure. Adequate given no 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 80% and parameter descriptions are already detailed. The description adds no extra meaning beyond the schema.

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?

Clearly states it provides a Jupiter quote and unsigned swap transaction. Differentiates from solknife_swap_execute which likely executes the swap.

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?

Implicitly suggests use for obtaining a quote before execution, but no explicit guidance on when to use versus alternatives like swap_execute.

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