Skip to main content
Glama

Scrooge

Build a vault withdrawal

build_vault_withdraw
Read-only

Withdraws amount USDG (or all of it, the default) from a vault back to wallet. All of it redeems every share, leaving no dust behind.

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>",
      "wallet": "<wallet>"
    },
    "name": "build_vault_withdraw"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaultYesThe vault's address or name
amountNoOptional: how much USDG, or "all" (default all)
walletYesThe address that will sign and send the transactions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true; the description adds genuine context about the 'all' path (redeems every share, no dust). It does not clarify the mismatch an agent would care about — that the tool appears to construct transactions for `wallet` to sign and send while annotations mark it read-only — nor whether it returns unsigned transactions.

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?

Two tight sentences with the default behavior front-loaded and no filler. The second sentence earns its place by explaining why 'all' is preferable, though it slightly repeats the first.

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 build/signing-oriented tool with no output schema and a read-only annotation, the description should say what it produces (transactions to sign) and any preconditions. Party semantics and the dust note are covered, but the output artifact and prerequisites are absent.

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 all three parameters are already documented. The description restates `amount` and its 'all' default and adds the meaning that redeeming all shares leaves no dust, which is a small semantic bonus over the schema. No format or unit guidance beyond what the schema gives.

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 ('withdraws `amount` USDG ... from a vault back to `wallet`') and names the default behavior, so an agent can tell it moves funds out of a vault rather than into one. Differentiation from build_vault_deposit is implicit in 'back to' rather than stated.

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

Usage Guidelines2/5

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

The description never says when to choose this over the sibling build_withdraw (generic) or what must be true first (vault shares held, approvals, signing wallet funded). The only usage-ish hint is the 'all' default, which is a parameter detail rather than selection guidance.

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