Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_deposit

Deposit tokens into a Factor Pro vault, automatically approving them if needed. Requires a configured wallet with sufficient balance.

Instructions

Execute a deposit to a Factor Pro vault. Will automatically approve tokens if needed. Requires a configured wallet with sufficient 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>",
      "assetAddress": "<assetAddress>",
      "amount": "<amount>"
    },
    "name": "factor_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount to deposit in base units (wei)
passwordNoWallet password if the wallet is encrypted
assetAddressYesThe address of the token to deposit
vaultAddressYesThe vault contract address

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?

With no annotations, the description carries the full burden. It usefully discloses a side effect — automatic token approval if needed — and a wallet/balance precondition, which are genuinely valuable. However, it omits whether the deposit is reversible, gas/native-token requirements, slippage or minimum-share protections, and what the call returns.

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?

Three short sentences with no filler, front-loaded with the action and followed by side effect and precondition. Efficient, though the final requirements sentence could be slightly tighter.

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 state-changing deposit with no annotations and no output schema, the definition covers the action, the auto-approval side effect, and the wallet/balance precondition. It still leaves gaps an agent needs: the expected return value (transaction hash, shares minted) and any failure conditions such as approval errors or insufficient allowance.

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 all four parameters (vaultAddress, assetAddress, amount, password) are already documented in the schema. The description adds no extra meaning — it does not clarify that amount is in base units or explain units beyond the schema, so 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?

States a specific verb and resource: 'Execute a deposit to a Factor Pro vault.' This clearly distinguishes it from preview or read-only vault tools in intent, though it does not name which sibling to use instead of it (e.g., factor_preview_deposit) or how it relates to factor_hl_deposit_to_perp.

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?

Gives a prerequisite ('Requires a configured wallet with sufficient balance') but no explicit when-to-use versus alternatives, no guidance on previewing first, and no stated exclusions. Usage is implied by the tool name and prerequisite rather than spelled out.

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