Skip to main content
Glama

Vectorial Data Terminal: Hyperliquid, Polymarket & yield for AI agents

prepare_withdrawal

Prepare a withdrawal (USDC → Arbitrum). Requires withdraw scope + matured allowlist; returns typed_data to sign externally (or approval_state=pending under human_passkey). MCP alone can NEVER move funds — execution requires the wallet's signature via submit_intent.

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": {
      "destination": "<destination>",
      "amount_usd": "<amount_usd>"
    },
    "name": "prepare_withdrawal"
  }
}

Input Schema

NameRequiredDescriptionDefault
amount_usdYesUSDC to withdraw from Hyperliquid
destinationYes0x address that receives the USDC; it must already be in your withdrawal allowlist

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / amount_usd / description
      Added value: +"USDC to withdraw from Hyperliquid"
    • addedInput schema / properties / destination / description
      Added value: +"0x address that receives the USDC; it must already be in your withdrawal allowlist"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, but the description supplies the operational behavior those hints cannot: the required scope, the matured-allowlist gate, the typed_data return, the pending-approval branch, and the crucial guarantee that 'MCP alone can NEVER move funds'. That last clause is what reconciles non-read-only, non-destructive semantics with a fund movement flow, which is genuinely useful context beyond 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 compact sentences, front-loaded with the action and route, followed by the prerequisite and the safety/execution contract. Nothing is repeated from the schema or annotations and every clause carries operational weight.

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?

For a two-parameter intent-preparation tool with no output schema, the description compensates by describing what comes back (typed_data or approval_state=pending) and what must happen next. An agent has enough to call it correctly and to know it cannot complete the withdrawal on its own.

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% and both parameters are already documented, including the allowlist precondition on destination. The description adds only the destination chain (Arbitrum) that the schema omits, so it contributes marginally rather than substantively over the schema; baseline 3 applies.

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 opens with a specific verb+resource+route: 'Prepare a withdrawal (USDC → Arbitrum)', which tells the agent exactly what is produced and on which chain. It distinguishes itself from the execution sibling by naming submit_intent, but it does not distinguish itself from plausibly overlapping siblings such as earn_usdc_withdraw, move_funds, or list_pending_withdrawals, leaving some ambiguity in a crowded namespace.

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?

It states the prerequisites explicitly ('requires withdraw scope + matured allowlist'), what the tool returns and what the caller must do with it ('returns typed_data to sign externally'), and names the mandatory follow-on tool ('execution requires the wallet's signature via submit_intent'). It also names a conditional path (approval_state=pending under human_passkey), so there is effectively no when-to-use inference left to the agent.

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.