Skip to main content
Glama

get_solana_quote

Read-onlyIdempotent

Preview read-only Solana swap quotes via Jupiter by passing base58 mint addresses and base-unit amounts. Get non-authoritative pricing only; no transaction is signed, built, or broadcast.

Instructions

[Capability: available; tier: scout_capacity_signature_gated; API: /api/agents/solana-quote; authority: /api/v1/agent/status] Read-only Solana swap quote preview through Jupiter. PREVIEW ONLY: the response is explicitly non-authoritative pricing intelligence and cannot be executed through the EVM compatibility-swap path. FarmDash never signs, builds or broadcasts a transaction from this route. Pass Base58 mints (SOL uses So11111111111111111111111111111111111111112) and the amount in base units.

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

Input Schema

NameRequiredDescriptionDefault
amountYesInput amount in the input mint base units.
inputMintYesBase58 SPL mint address being sold. Native SOL uses So11111111111111111111111111111111111111112.
outputMintYesBase58 SPL mint address being bought.
slippageBpsNoSlippage tolerance in basis points (default provider value when omitted).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds real context: no signing, building, or broadcasting occurs, the returned pricing is explicitly non-authoritative, and the route is capacity-signature/tier gated. It does not describe the response payload shape, which keeps it from 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?

The safety-critical constraints ('PREVIEW ONLY', no signing/broadcasting) are front-loaded and the whole thing is a few tight sentences. The leading bracketed capability/tier/API metadata is machine-oriented noise that a calling agent can't act on, costing it a point.

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 no output schema, the description does note the response is non-authoritative pricing intelligence, and it covers auth/tier gating and non-executability. It stops short of describing the quote fields (rate, routes, slippage impact) an agent would want to interpret results.

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 the schema already documents Base58 mint patterns, the SOL mint address, base units, and slippage bounds. The description repeats the mint-format and base-unit guidance rather than adding new semantics, so the baseline 3 is appropriate.

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 and resource ('Read-only Solana swap quote preview through Jupiter') plus scope, and contrasts it with the EVM compatibility-swap path so an agent can tell it apart from the swap-execution siblings. The 'PREVIEW ONLY' framing removes any ambiguity about what the call produces.

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?

Explicitly says the route is preview-only and cannot be executed through the EVM compatibility-swap path, which effectively routes execution intent elsewhere (prepare_solana_swap / confirm_solana_swap). It never names those alternatives directly, so the guidance is clear but not fully explicit routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools