Skip to main content
Glama

AgentProxy

Create deposit address

apg_create_deposit

Create a deposit order to top up the AgentProxy balance. Returns a unique deposit_address, the amount, an EIP-681 uri (usable as a QR code) and expires_at. Nothing is charged; the balance is credited after the stablecoin arrives on-chain. Omit amount_usd for an open amount.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "asset": "<asset>"
    },
    "name": "apg_create_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetYesUSDC or USDT
chainYesChain name from apg_deposit_options, e.g. base or arbitrum
amount_usdNoExpected amount in USD; omit to accept any amount
idempotency_keyNoReuse to get the same deposit back

Output Schema

NameRequiredDescriptionDefault
dataYes
metaNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Goes beyond the annotations by explaining the settlement model: nothing is charged up front, the balance is credited only after the stablecoin arrives on-chain, and the returned uri is QR-usable with an expiry. That is genuinely useful context for a non-readOnly creation tool whose annotations only say it is non-destructive. Note the schema's idempotency_key wording ("reuse to get the same deposit back") sits uneasily with idempotentHint=false, but the description itself does not contradict the 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?

Three short sentences, front-loaded with the action and its purpose, followed by the return shape and then the settlement caveat. No filler and nothing buried.

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?

For a four-parameter creation tool with an output schema, the description covers purpose, cost model, settlement timing, and the key optionality rule. Its only gap is not steering the agent away from apg_create_order or telling it how to poll for the credit (apg_get_deposit / apg_get_balance).

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 coverage is 100%, so every parameter is already documented in the input schema, which sets the baseline at 3. The description only restates the amount_usd omission rule and adds nothing new about chain/asset constraints or idempotency_key reuse semantics.

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?

States a specific verb and resource ("Create a deposit order to top up the AgentProxy balance") plus what comes back (deposit_address, amount, EIP-681 uri, expires_at), so the agent knows exactly what this produces. It does not differentiate itself from the sibling apg_create_order, which is the most plausible confusion point given both create financial objects.

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?

Implies the flow via "top up the AgentProxy balance" and gives one concrete conditional ("Omit amount_usd for an open amount"), and the schema points at apg_deposit_options for valid chains. There is no explicit statement of when to prefer this over apg_create_order or apg_list_deposits, so usage is inferred rather than directed.

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.