Skip to main content
Glama

EmblemAI AgentWallet

base: baseSwapQuote

baseSwapQuote
Read-onlyIdempotent

Quote an exact-input Base swap. The sellAmount may be sell-token units, a USD budget such as '$5', or 'max'. Returns a normalized conditionalOrderHandoff for explicit entry or exit orders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sellAmountYesHow much of the SELL token to spend. Use a decimal string for sell-token units (e.g. '0.01' means 0.01 ETH), '$5' or '5 usd' for a USD budget, or 'max'. Never convert a user's USD budget yourself.
buyTokenAddressNoBase address of the token being received (BUY token)
sellTokenAddressNoBase address of the token being spent (SELL token)

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds value beyond annotations by explaining the flexible sellAmount formats (token units, USD budget, 'max') and the return type (normalized conditionalOrderHandoff). This gives the agent useful behavioral details without contradicting annotations.

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 sentences, front-loaded with the primary action, and every clause informs usage. No filler or repetition of schema fields. The description is efficiently structured.

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?

Given the tool's moderate complexity, the description covers the core purpose, input flexibility, chain, and output type. No output schema exists, but the description explains what is returned. It does not mention slippage or exact-output alternatives, but for a quote tool with strong annotations and detailed schema, this is adequately complete.

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?

The input schema has 100% coverage with detailed descriptions for sellAmount, including the 'Never convert a user's USD budget yourself' instruction. The tool description essentially repeats the sellAmount semantics and adds the return type context. It does not add meaning to buyTokenAddress or sellTokenAddress beyond what the schema already states. Baseline 3 is appropriate since the schema already does the heavy lifting.

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?

The description uses a specific verb ('Quote'), states the resource ('Base swap'), and clarifies the scope ('exact-input'). It clearly distinguishes from sibling swap quote tools by naming 'Base' and the input type. The phrase 'for explicit entry or exit orders' adds further specificity.

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 description gives clear context: it quotes exact-input Base swaps and mentions the output (conditionalOrderHandoff) suitable for entry/exit orders. It does not explicitly say 'use this for Base chain, not for other chains', but the 'Base' keyword and the existence of sibling tools like ethSwapQuote and bscSwapQuote make the intended context clear. No exclusions or alternatives are mentioned, which is acceptable for a quote tool.

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.

TDQS

C2.9/5.0
Disambiguation2/5

With 113 tools spanning many chains and asset classes, there is substantial overlap. For example, listPositions and getAllPositions appear to serve the same function, and there are many balance, token discovery, and collection data tools that differ mostly by chain or protocol, making misselection likely.

Naming Consistency2/5

Naming conventions are inconsistent: most tools use camelCase with a verb (baseGetBalances, ethSwapQuote), but some use underscores (nansen_defi_portfolio), others are just bare nouns (wallet, rugcheck), and there are irregularities like solanaBalances instead of solanaGetBalances, plus hederaTokensSwapQuote vs. baseSwapQuote.

Tool Count1/5

The server exposes 113 tools, far beyond the typical well-scoped set. This is an extreme mismatch with the apparent purpose of a wallet/swap server, making discovery and selection difficult for agents.

Completeness2/5

While the server offers extensive read-only data (balances, market data, NFTs, positions), it lacks core write operations: there is no actual swap execution or token transfer tool, and the referenced emblemCreateVault tool is missing. These are significant gaps that will prevent agents from completing common wallet actions.

Resources