Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_withdraw_to_evm

Withdraw USDC from a vault's HyperLiquid perp account back to HyperEVM in one composite batch (perp → spot → EVM bridge). Use for end-to-end HyperEVM (chain 999) withdrawals.

Instructions

Withdraw USDC from a vault's HyperLiquid perp account back to HyperEVM in one composite batch (perp → spot → EVM bridge). HyperEVM (chain 999) only.

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>",
      "usdcAmountFloat": "<usdcAmountFloat>"
    },
    "name": "factor_hl_withdraw_to_evm"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaultYesVault contract address.
passwordNoWallet password if encrypted.
usdcAmountFloatYesUSDC amount in float dollars to withdraw end-to-end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

B3.4/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It does add real behavioral value by disclosing that the operation is a single composite batch spanning perp → spot → EVM bridge and chain-restricted, but it omits auth/password requirements, fees or slippage incurred in the bridge, reversibility, and what happens if an intermediate leg fails.

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 dense sentences with the route and chain restriction front-loaded and no filler. Slightly telegraphic parenthetical notation, but nothing is wasted.

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 mutation tool with no annotations and no output schema, the definition covers what the tool does and its chain scope but leaves auth/unlock semantics, fee behavior, and failure/partial-completion behavior unaddressed.

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 including the optional password are already documented in the schema. The description's 'end-to-end' phrasing hints that usdcAmountFloat is the final delivered amount across the whole route, but this is not spelled out beyond what the schema already says.

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?

Concrete verb plus resource plus direction: withdraw USDC from a vault's HyperLiquid perp account back to HyperEVM via a composite perp→spot→EVM route. That route detail distinguishes it from generic withdraw siblings such as factor_withdraw or factor_lend_withdraw without naming them, though no sibling is explicitly excluded.

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?

The only usage constraint given is 'HyperEVM (chain 999) only', which usefully rules out other chains, but there is no explicit when-to-use versus alternatives (e.g. when to use this versus a spot send or the perp-account transfer tools) and no stated prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools