Skip to main content
Glama

fund_xrpl_wallet_via_coinbase

Buy XRP on Coinbase and withdraw it to an XRPL address in one call.

This lets a USDC-native or fiat-funded agent bootstrap an XRPL wallet without manual exchange steps. Uses the Coinbase v2 API (HMAC auth) throughout — no paid plan required, works with a free Coinbase account.

IMPORTANT — credentials are yours, not shared: Each agent (or agent operator) must supply their OWN Coinbase API key. Never use someone else's key — it would charge their account, not yours. The AgentTrust MCP server itself holds no Coinbase credentials. Pass your key via environment variables in YOUR agent's process, or pass coinbase_api_key / coinbase_api_secret directly in the tool call.

One-time human setup (takes ~5 minutes):

  1. Create a free account at coinbase.com and complete KYC (passport/ID)

  2. Go to coinbase.com/settings/api → New API Key

  3. Grant: wallet:accounts:read, wallet:buys:create, wallet:transactions:send

  4. Set COINBASE_API_KEY and COINBASE_API_SECRET in your agent's environment

After setup, this tool is fully autonomous — no human needed per transaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usd_amountNoUSD to spend (default $3 — covers 1 XRP reserve + Coinbase fees + XRP price variance buffer)
xrpl_addressYesDestination XRPL address (from create_agent_wallet)
coinbase_api_keyNoYour Coinbase API key (falls back to COINBASE_API_KEY env var)
coinbase_api_secretNoYour Coinbase API secret (falls back to COINBASE_API_SECRET env var)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.6/5.0
Behavior4/5

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

The description transparently explains behavioral traits: it reveals the authentication method (HMAC auth via Coinbase v2 API), credential handling (credentials are not shared, held by the server, and can be passed via env vars or directly), and financial implications (charges the user's Coinbase account). It also mentions the autonomous nature after setup ('fully autonomous — no human needed per transaction'). While no annotations exist, the description thoroughly covers key behaviors. It could be a 5 if it also mentioned any error handling or rate limits, but it is already very strong.

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?

The description is reasonably concise at about 200 words, with clear sections: purpose, context, important note about credentials, and setup steps. It front-loads the core purpose in the first sentence. However, it could be slightly more concise by merging the credentials note and setup into a more streamlined structure, and some setup steps could be simplified. It avoids fluff but has minor redundancy.

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?

Given the tool's moderate complexity (a financial operation involving two systems), the description is complete: it covers the end-to-end flow (buy XRP, withdraw to XRPL), prerequisites (Coinbase account, KYC, API key setup), credential security model, default amount rationale, and automation capability. An output schema exists but is not shown; even so, the description provides enough context for an agent to decide to use this tool safely and understand its outcomes. No gaps are evident.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the description is not required to add extensive param details, but it does add value beyond the schema: it explains the default $3 USD amount in context ('covers 1 XRP reserve + Coinbase fees + XRP price variance buffer'), which clarifies why that specific default exists. The description also clarifies that xrpl_address is typically from 'create_agent_wallet', providing a sibling reference. The only minor gap is that it does not elaborate on fallback behavior for coinbase_api_key/secret, but the schema's 'default': '' and description already cover the env var fallback adequately. With high schema coverage, a score of 4 is appropriate for the contextual additions.

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 clearly states the tool's purpose: buying XRP on Coinbase and withdrawing it to an XRPL address in one call. It uses specific verbs ('Buy', 'withdraw') and resource mentions ('Coinbase', 'XRPL address'), and it distinguishes itself from sibling tools like 'create_agent_wallet' (which creates the wallet, not funds it) or 'get_dex_quote' (which only provides quotes). The purpose is explicit and unique.

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

Usage Guidelines5/5

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

The description provides strong usage guidelines: it explains when to use this tool (when a USDC-native or fiat-funded agent needs to bootstrap an XRPL wallet), what prerequisites are needed (a Coinbase account with specific API permissions), and explicitly warns against using shared credentials ('Never use someone else's key'). It also gives a step-by-step human setup process, making it clear what must happen before autonomous use. This is exemplary guideline content.

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

A3.9/5.0
Disambiguation4/5

Most tools target distinct resources and actions clearly. However, list_marketplace_jobs and list_open_jobs both involve browsing jobs and could be confused, and audit_task overlaps somewhat with evaluate_escrow_work in verifying work quality. Descriptions are detailed enough to differentiate with careful reading.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (e.g., create_escrow_vault, list_marketplace_jobs, confirm_wallet_ownership). There are no camelCase or Style deviations, making naming highly predictable.

Tool Count4/5

At 19 tools, the set is slightly heavy but reasonably scoped for a multi-featured platform covering job board, escrow, skills, wallet verification, and pricing. Each tool serves a distinct purpose, though some consolidation could be considered.

Completeness2/5

There is a significant gap: list_marketplace_jobs references a claim_job() function that does not exist in the tool set, breaking the primary workflow for agents to accept available bounties. Additionally, there are no update/delete operations for job postings or skill listings, and no explicit escrow cancellation tool.