Skip to main content
Glama

how_to_deposit

How to fund a market balance with USDG over x402 (and the direct deposit path). amount in USDG. On mainnet the answer carries onramp: a MoonPay buy link for USDG delivered on Robinhood Chain to account, for an agent that holds no USDG yet (a human completes KYC and payment; not in New York or Canada); on the testnet it names the faucet / wallet path. Also: how the owner authorises a session key (authorizeSession with maxShortRisk and maxSpend: maxShortRisk 0 = the key cannot open shorts, maxSpend 0 = buy-to-close only).

Input Schema

NameRequiredDescriptionDefault
amountNo
accountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description still discloses key behavior: mainnet answers carry `onramp`, the human KYC/payment requirement, geographic restriction (not New York or Canada), and the testnet faucet/wallet path. It also explains `authorizeSession` maxShortRisk/maxSpend semantics, though it does not explicitly say the tool is read-only or describe failure behavior.

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

Conciseness3/5

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

The opening sentence front-loads the main purpose, but the description becomes a dense run-on with parentheticals and a session-key tangent. It is informative but not as tight as it could be.

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?

No output schema exists, and the description only partly explains the returned answer: it names `onramp` on mainnet and the faucet/wallet path on testnet, but leaves the direct deposit path and full return shape under-described. For a tool with two undocumented optional parameters, this is adequate but incomplete.

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 0%, so the description must compensate. It explains that `amount` is in USDG and ties `account` to the onramp delivery destination, but it does not document parameter formats, optionality, or how `amount` affects the returned instructions.

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 states a specific informational operation: how to fund a market balance with USDG via x402 and the direct deposit path, and it distinguishes mainnet vs testnet behavior. The scope is slightly muddied by adding session-key authorization, which is adjacent rather than core deposit instructions.

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?

It gives clear usage context: on mainnet, the onramp is for an agent that holds no USDG yet; on testnet it points to the faucet/wallet path. It does not explicitly state when not to use this tool or name an alternative, so it is not a 5.

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.