Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_hl_transfer_to_builder_dex

Moves USDC from a Factor vault's main HL perpetual ledger to an HIP-3 builder-dex ledger such as xyz, preparing HyperEVM vaults to trade xyz assets.

Instructions

Move USDC from a Factor vault's main HL perp ledger to an HIP-3 builder-dex ledger (e.g. xyz). Required before trading xyz:GOLD / xyz:BRENTOIL / xyz:COPPER / ... HyperEVM (chain 999) only. Returns an on-chain executeByManager envelope (CoreWriter action 13).

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>",
      "dex": "<dex>",
      "usdcAmount": "<usdcAmount>"
    },
    "name": "factor_hl_transfer_to_builder_dex"
  }
}

Input Schema

NameRequiredDescriptionDefault
dexYesDestination builder dex. Currently only "xyz" is supported.
vaultYesVault contract address (HyperEVM).
passwordNoWallet password if encrypted.
usdcAmountYesUSDC amount to transfer in float dollars (e.g. "1.50" or 1.5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it declares the chain constraint (HyperEVM chain 999 only) and, critically, that the tool does not execute the transfer but returns an 'on-chain executeByManager envelope (CoreWriter action 13)'. That changes how an agent must handle the result. It omits fees, whether a password/wallet unlock is required, and whether the envelope must be submitted elsewhere.

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?

Four short clauses, front-loaded with the action and direction, then the prerequisite, then the platform constraint, then the return contract. 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?

No output schema exists, and the description compensates by naming the return artifact (executeByManager envelope, CoreWriter action 13), so an agent knows what it gets back. The chain restriction is also covered. Missing is any note on the unstated password parameter's behavior or on failure/settlement conditions, which matters for a funds-moving tool.

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, dex, usdcAmount and password are already documented inline, including the float-dollar amount format and the single-value 'xyz' enum. The description adds no parameter-level detail beyond restating the dex example and the ledger endpoints. Baseline 3 is appropriate.

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 with directionality ('Move USDC from a Factor vault's main HL perp ledger to an HIP-3 builder-dex ledger'), which implicitly distinguishes it from the reverse sibling factor_hl_transfer_from_builder_dex. It does not explicitly name that sibling, so the differentiation is inferred from direction 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 Guidelines4/5

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

Gives a concrete precondition: 'Required before trading xyz:GOLD / xyz:BRENTOIL / xyz:COPPER'. This tells the agent when the tool is needed. It stops short of naming an alternative or stating when not to use it (e.g. for the reverse direction or for same-ledger transfers).

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