Skip to main content
Glama

usdc_get_convert_quote

Read-only

Get a quote to convert a chain's native gas token into USDC while preserving a gas reserve; specify a raw native amount or 'max'.

Instructions

Quote converting the chain's native gas token to USDC, keeping a gas reserve. amount is raw native or "max".

Input Schema

NameRequiredDescriptionDefault
amountYesRaw native amount, or "max"
apiKeyNoGDEX API key for AES encryption
chainIdYesChain ID: 1, 10, 56, 146, 8453, 42161 or 622112261 (Solana). No USDC on Robinhood 4663 or Fraxtal 252
accountRefNoConnected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat
walletAddressNoControl wallet address
sessionPrivateKeyNoSession private key from sign-in

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.12.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context by stating that the quote keeps a gas reserve, which is non-obvious and directly affects how an agent should interpret or use the quote.

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?

The description is two tightly written sentences with no filler. The core purpose and gas-reserve behavior are front-loaded, and the amount semantics are stated briefly.

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?

For a read-only quote tool with fully documented parameters and annotations, the description covers the essential purpose and gas-reserve behavior. However, with no output schema, it does not explain what the quote returns or how it should be used before execution, and it lacks guidance on when to choose it over sibling quote or conversion tools.

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 description coverage is 100%, so the schema already documents all parameters including amount, chainId, accountRef, and session details. The description repeats the amount semantics ('raw native or "max"') but adds little beyond what the schema provides, so the baseline 3 is appropriate.

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 uses a specific verb and resource: it quotes converting the chain's native gas token to USDC. It clearly implies a read-only quote rather than execution, which helps distinguish it from siblings like usdc_convert_native, but it does not explicitly name or contrast those alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the word 'Quote' and the reference to a gas reserve. There is no explicit guidance on when to use this instead of usdc_convert_native, usdc_get_trade_quote, or usdc_buy_with_native, and no stated exclusions.

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