Skip to main content
Glama
8DX-io
by 8DX-io

Get 8DX Quote

eightdx_get_quote

Get an 8DX swap quote for any token pair and amount on supported networks. Retrieve real-time pricing for swaps without executing the trade.

Instructions

Gets an 8DX swap quote for a token pair and amount. This is a read-only operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountInNoNormalized input token amount to quote. Pass the exact amount format expected by the 8DX REST API for this token.
blockchainYesBlockchain network with live 8DX API support.
amountInWeiNoSmallest-unit input token amount to quote. Pass the exact amount format expected by the 8DX REST API for this token.
addressTokenInYesToken address or native-token identifier to sell. Use the token identifier format accepted by the 8DX API.
addressTokenOutYesToken address or native-token identifier to buy. Use the token identifier format accepted by the 8DX API.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states 'This is a read-only operation,' which is a useful safety disclosure, but it does not explain what the quote represents, whether it executes anything, or any other important behavioral traits like quote validity, fees, or rate limits. The read-only claim adds minimal value beyond what the tool name implies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise, direct sentences with no filler. The core purpose is front-loaded and the read-only clarification follows. Every word earns its place.

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

Completeness2/5

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

The description is too sparse for a tool with 5 parameters, no output schema, and no annotations. It fails to describe the return value (quote details), the distinction or relationship between amountIn and amountInWei, or any dependencies such as wallet session. This leaves significant gaps for an agent to safely and correctly invoke the tool.

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 descriptions cover 100% of parameters, providing clear explanations for blockchain, token addresses, and amount fields. The tool description itself adds no parameter information. Baseline 3 applies because the schema handles parameter semantics adequately.

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 clearly states the verb 'Gets' and the resource '8DX swap quote' for a token pair and amount. It is specific and unambiguous, but it does not differentiate from sibling tools like eightdx_preview_market_swap, which may also provide quote-related functionality.

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?

The description provides no guidance on when to use this tool versus alternatives such as eightdx_preview_market_swap or eightdx_create_swap. It lacks any mention of context, prerequisites, or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/8DX-io/8dx-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server