Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_lp_create_position

Creates a concentrated liquidity position through a Factor vault on Uniswap V3 (Ethereum) using token amounts and tick boundaries.

Instructions

Create a concentrated liquidity position through a Factor vault. Supports Uniswap V3 (Ethereum).

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>",
      "protocol": "<protocol>",
      "token0": "<token0>",
      "token1": "<token1>",
      "amount0": "<amount0>",
      "amount1": "<amount1>",
      "tickLower": "<tickLower>",
      "tickUpper": "<tickUpper>"
    },
    "name": "factor_lp_create_position"
  }
}

Input Schema

NameRequiredDescriptionDefault
feeNoFee tier (e.g., 500, 3000, 10000). Required for Uniswap V3.
token0YesAddress of token0
token1YesAddress of token1
amount0YesAmount of token0 in base units (wei)
amount1YesAmount of token1 in base units (wei)
passwordNoWallet password if encrypted
protocolYesThe LP protocol to use
tickLowerYesLower tick boundary for the position
tickUpperYesUpper tick boundary for the position
vaultAddressYesThe vault contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden for an on-chain mutation that spends tokens. It says nothing about token approvals, gas costs, slippage, whether the password parameter triggers wallet decryption/unlock, or whether the position can be reverted if tick bounds are wrong.

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 short sentences, front-loaded with the action and resource, with zero filler. It is efficient but borders on under-specified rather than merely concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A ten-parameter, eight-required mutation with no annotations and no output schema needs substantially more than two sentences. Missing are approval requirements, wallet/password handling, what the call returns (position id, tx hash), and any preconditions on tick ranges relative to the fee tier.

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 ten parameters (including fee tier, tick bounds, and base-unit amounts) are already documented in the schema, establishing a baseline of 3. The description adds only the protocol/chain restriction and no extra meaning about tick alignment, amount semantics, or the optional password field.

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 ('Create a concentrated liquidity position') plus the execution path ('through a Factor vault'), which separates it from the plain liquidity sibling factor_lp_add_liquidity. It also scopes supported protocol and chain (Uniswap V3, Ethereum), though it never explicitly contrasts itself with factor_hl_open_position.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description supplies a hard constraint (Uniswap V3 on Ethereum only) but no when-to-use vs when-not guidance and no reference to alternatives such as factor_lp_add_liquidity or factor_hl_open_position. An agent must infer that this is the range-bound/position-creating variant on its own.

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