Skip to main content
Glama

Beggar Bot

sol_swap_quote

Solana swap quote via Jupiter: amount out, min out after slippage, price, price impact, USD value and route (AMMs/pools) Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sol_swap_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoUSDC
fromNoSOL
amountNo1
slippage_bpsNo50

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and it does disclose two things an agent would otherwise not know: the pricing source (Jupiter on Solana) and, crucially, that the call costs $0.02 USDC via x402 — a payment/precondition trait. It also lists the returned metrics, though it says nothing about quote freshness, failure behavior, or that the call is read-only/non-mutating.

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, purpose and source front-loaded, with the returned-field list kept tight. The trailing payment note is compact and earns its place; nothing is redundant, though the colon-separated field list reads slightly like a dump.

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?

Since there is no output schema, the description correctly steps in to enumerate return values, and it discloses the x402 payment. But for a 4-parameter tool the defaults ambiguity (from=SOL, to=USDC, amount=1, slippage=50 as defaults vs. examples) is left unresolved, and no guidance on quote staleness or expected failure cases is given.

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 nominally 100%, so the baseline of 3 applies, and the description does clarify slippage semantics by tying it to 'min out after slippage'. However, the schema 'descriptions' are just example values ('USDC', 'SOL', '1', '50') rather than meaning, and the description does not resolve whether from/to are symbols or mints, or whether amount is in SOL, lamports, or raw units.

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 ('swap quote') and resource ('Solana ... via Jupiter') and enumerates the returned fields (amount out, min out after slippage, price, price impact, USD value, route). The chain/DEX framing ('Solana', 'Jupiter') distinguishes it from the many EVM-oriented siblings like uniswap_v3_quote or balancer_quote, though it doesn't name an alternative outright.

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 when-to-use or when-not-to-use guidance and no named alternative (swap_best_quote, dex_quote, or any *_swap_build tool). Usage is only implied by the presence of a quote-before-swap workflow, and the only real decision input is the paid cost disclosure.

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.