Skip to main content
Glama

SiteCheck Crypto & Finance

Jupiter aggregator quote on Solana for an exact-input swap

crypto_jupiter_solana_routing
Read-only

Jupiter aggregator quote on Solana for an exact-input swap: input and output amounts in base units, price impact %, USD value, slippage, and the AMM route legs (venue labels). Quote only, no transaction. Amounts stay in the token's smallest unit (decimals are not looked up). Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": "crypto_jupiter_solana_routing"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount to sell in the smallest unit (lamports for SOL)
inputMintYesMint to sell (base58), e.g. SOL wrapped mint So11111111111111111111111111111111111111112
outputMintYesMint to buy (base58)
slippageBpsNoSlippage tolerance in basis points, 1 to 1000 (default 50)

Output Schema

NameRequiredDescriptionDefault
sourceNo
inAmountNo
checkedAtNo
inputMintNo
outAmountNo
routeLegsNo
outputMintNo
routeVenuesNo
slippageBpsNo
swapUsdValueNo
priceImpactPctNo
otherAmountThresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already establish a safe read (readOnlyHint true) and open-world reach, so the description's added behavioral facts are what matter: no transaction is produced, amounts remain in base units without decimal lookup, and there is a per-call cost of $0.002 via x402 with failed calls free. That pricing and failure-charging detail is genuinely useful operational context not present in the structured fields.

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 definition is a single dense sentence with colon-and-semicolon structure that front-loads the core purpose before outputs, unit rules, and pricing. Every clause carries information, though the length makes it harder to scan than a shorter two-sentence form would be.

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?

For a four-parameter read-only quote, the description covers purpose, output shape, unit handling, and payment model, and an output schema already documents the return structure. Its only real gap is the absence of explicit guidance on when to prefer this quote over other quote or swap siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds a material semantic rule: amounts stay in the token's smallest unit and decimals are not looked up. That directly prevents a common misuse of the amount parameter that the schema alone only states for the amount field.

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?

States a specific verb (quote), the resource (Jupiter aggregator route), the chain (Solana), and the swap mode (exact-input), which is enough to distinguish it from execution siblings such as crypto_swap_to_usdc. It also enumerates the returned fields (price impact, USD value, slippage, route legs), so an agent knows exactly what it gets.

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 phrase 'Quote only, no transaction' gives clear context that this is a read-only pre-trade step rather than an execution call, which implicitly separates it from swap tools. It stops short of explicit when-not conditions or naming an alternative quote source (e.g. the 1inch quote sibling), so it lacks the exclusion guidance a 5 would need.

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