Skip to main content
Glama

Solana swap quote (indicative)

solana_swap_quote
Read-only

Indicative Jupiter quote with Lantern's 1.00% app fee already included and disclosed in the 'fee' field. No wallet needed. Free.

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>"
    },
    "name": "solana_swap_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount in the input token's base units (integer string)
inputMintYesSolana mint address (base58)
outputMintYesSolana mint address (base58)
slippageBpsNoMax slippage in basis points

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds real value: the 1.00% app fee is pre-included and surfaced in the 'fee' field, and no wallet signature is required. What is not disclosed is the quote's validity window or how stale an indicative price can get, which matters for a pricing tool.

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?

Three short clauses with the key differentiators (indicative, fee included, no wallet) front-loaded and zero filler. It is perhaps too compressed, since 'Indicative' is never unpacked for the reader.

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?

For a stateless read-only quote with full schema coverage and no output schema, it covers the essentials. It omits quote expiry and whether the returned route can be passed directly to solana_swap_build, which an agent needs to chain these tools correctly.

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% and all four parameters (mint addresses, amount, slippageBps) are documented in the schema itself. The description adds no parameter-level meaning, such as whether slippageBps affects the quoted fee or output amount, so the 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?

The description names a specific resource (Jupiter swap quote on Solana) and qualifies it as indicative, which distinguishes it from an executable build step. It stops short of explicitly contrasting with the sibling solana_swap_build, leaving the quote-vs-transaction split partly implicit.

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?

The line 'No wallet needed. Free.' tells the agent what is not required to call it, which is useful pre-call context. There is no explicit statement of when to prefer this over solana_swap_build or base_swap_quote, so the routing decision is only implied by the word 'indicative'.

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