Skip to main content
Glama

Scrooge

Build a vault deposit

build_vault_deposit
Read-only

Deposits amount USDG from wallet into one of the vaults list_earn_vaults names, after an approval of exactly that amount where needed.

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": {
      "vault": "<vault>",
      "amount": "<amount>",
      "wallet": "<wallet>"
    },
    "name": "build_vault_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaultYesThe vault's address or name, as list_earn_vaults gives it
amountYesHow much USDG, as a decimal number such as 0.5
walletYesThe address that will sign and send the transactions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior1/5

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

The description describes an on-chain state change: USDG is deposited and the wallet will sign and send the transactions, with an approval of exactly the deposit amount. Annotations declare readOnlyHint=true, so the safety profile the agent is given is the opposite of the behavior described. The leftover disclosure about exact-amount approval and optional approval ('where needed') is useful but cannot offset a direct conflict with the annotation.

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?

A single sentence that front-loads the action and target, then adds the approval caveat at the end. There is no filler, hedging, or redundant restatement of the title.

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 transaction-construction tool with three required parameters and full schema coverage, the description omits what the caller gets back — presumably unsigned transaction payloads to sign — and gives no guidance on chain, gas, or what happens if the allowance is already sufficient. The core action, inputs, and approval condition are covered, but an agent still has to infer the return contract.

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 vault, amount, and wallet are already documented in the input schema, and the description largely restates them. It does add the constraint that the approval must match the deposit amount exactly and that the amount is denominated in USDG, which is modest added meaning over the schema.

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 names a specific verb (deposits) and resource (USDG into a vault) with the exact source (wallet) and target (a vault named by list_earn_vaults). An agent can distinguish it from build_vault_withdraw and build_perps_deposit purely from the text, and the sibling reference anchors where vault identifiers come from.

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 routes the agent to list_earn_vaults for valid vault identifiers, which is real when-to-use guidance for selecting this tool's input. It stops short of explicit exclusions (e.g. when to prefer a direct transfer or a different deposit path) or prerequisites like holding USDG or an existing allowance, so it is clear context without full routing rules.

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.

Resources