Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_withdraw

Redeem shares from a Factor Pro vault by specifying the vault address and share amount, requiring a configured wallet with sufficient balance.

Instructions

Execute a withdrawal (redeem shares) from a Factor Pro vault. Requires a configured wallet with sufficient share balance.

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": {
      "vaultAddress": "<vaultAddress>",
      "shares": "<shares>"
    },
    "name": "factor_withdraw"
  }
}

Input Schema

NameRequiredDescriptionDefault
sharesYesAmount of shares to redeem in base units (wei)
passwordNoWallet password if the wallet is encrypted
vaultAddressYesThe vault contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations present, the description carries the full behavioral burden; it does disclose a genuine precondition (wallet must be configured and hold sufficient shares), which the schema does not. It omits other material traits for a financial mutation: that this submits an on-chain transaction, irreversibility of the redemption, gas/fee implications, and approval requirements.

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?

Two short sentences, action first and precondition second, with no filler. Every sentence contributes information an agent needs before calling.

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 three-parameter mutation tool with no annotations and no output schema, the description covers purpose and preconditions but leaves the post-call picture unclear (whether a transaction hash or status is returned, typical latency, failure modes). Adequate but with clear gaps given the tool's complexity.

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 shares (base units/wei), vaultAddress, and password are already documented in the schema. The description adds no syntax, unit, or sequencing detail beyond that, so the baseline of 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?

Names a specific verb and resource ('Execute a withdrawal (redeem shares) from a Factor Pro vault'), which distinguishes it from lending and Hyperliquid withdrawal siblings by scoping to Factor Pro vaults. It does not explicitly name an alternative, but the resource scope is concrete enough to select on.

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?

Usage is implied by the stated preconditions (configured wallet, sufficient share balance), which is useful context for when the call will succeed. However, it never says when to prefer this over siblings such as factor_preview_withdraw or factor_lend_withdraw, nor what to do if the balance check fails.

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