Skip to main content
Glama

Quote AETH to OSMO swap

quote_swap
Read-onlyIdempotent

Quote swapping AETH for OSMO in the AETH/OSMO pool on Osmosis testnet: the OSMO the swap would return after Osmosis's taker fee and the pool's fee, the price before the swap and the price it gets, what fees and price impact cost together, and a minOutput for a slippage you choose. Read-only: it reads Osmosis's own estimate and moves nothing. The pool is small and moves with every trade, so quote just before you swap.

Input Schema

NameRequiredDescriptionDefault
amountYesthe AETH to swap, with its unit: "1 AETH" or "1000000uaeth"
slippagePercentNohow far below this quote a swap may fill, for minOutput (default 1, at most 50)

Output Schema

NameRequiredDescriptionDefault
inYes
outYesOsmosis's estimate of what the swap returns, after its taker fee and the pool's swap fee
noteYes
poolYes
chainYeswhere the pool is: Osmosis testnet
priceYesOSMO per AETH this swap gets
quotedAtYes
reservesYes
minOutputYesthe least to accept: the estimate less slippagePercent. A swap set to this fails (and refunds) rather than fill below it
spotPriceYesOSMO per AETH before this swap, from the reserves
costPercentYeshow far price is below spotPrice: fees and price impact together
swapFeePercentYesthe pool's own fee; Osmosis's taker fee comes on top
slippagePercentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, and the description reinforces this ('reads Osmosis's own estimate and moves nothing') while adding genuine behavioral context: the volatility warning about the small pool and the explicit list of fee layers (taker fee, pool fee, price impact) that shape the result.

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?

Front-loads purpose, then return contents, then the read-only note and the timing caveat. The middle clause is a dense list, but each element earns its place and none is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-param read-only quote tool with an output schema and full annotations, the description covers purpose, safety, output shape, and a practical timing caveat. Nothing an agent needs to call it correctly is missing.

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%, so both parameters are already documented, including the slippage→minOutput relationship ('a minOutput for a slippage you choose'). The description largely restates what the schema provides, so baseline 3 applies with no meaningful added semantics.

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) and resource (AETH→OSMO swap) and names the exact pool and network (AETH/OSMO pool on Osmosis testnet). No sibling tool does quoting, so the agent can place it immediately.

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?

Gives clear timing context: 'quote just before you swap' because the pool is small and moves with every trade. It doesn't name alternative tools or exclusions, but there are no competing quote siblings, so the guidance is sufficient.

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.