Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_lp_add_liquidity

Add liquidity to an existing Uniswap V3 concentrated liquidity position through a Factor vault on Ethereum, specifying vault, NFT token ID, and token amounts.

Instructions

Add liquidity to an existing 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>",
      "tokenId": "<tokenId>",
      "amount0": "<amount0>",
      "amount1": "<amount1>"
    },
    "name": "factor_lp_add_liquidity"
  }
}

Input Schema

NameRequiredDescriptionDefault
amount0YesAmount of token0 to add in base units (wei)
amount1YesAmount of token1 to add in base units (wei)
tokenIdYesThe NFT token ID of the LP position
passwordNoWallet password if encrypted
protocolYesThe LP protocol to use
vaultAddressYesThe vault contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden yet only says liquidity is added. It does not mention that this is a state-mutating, potentially value-transferring on-chain transaction, nor whether approvals, a password, or vault permissions are required, nor what happens on failure or partial fill.

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 followed by the supported protocol/chain constraint. No filler, though it is arguably too terse for a 6-parameter mutation.

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?

The description covers the action, the vault indirection, and supported protocol/chain, which is the minimum for a write tool. Missing are prerequisite state (existing position must be owned), approval requirements, and any failure behavior, which matter given zero annotations and no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter including amount0/amount1 in base units and the uniswapV3 enum is documented in the schema itself; the description adds the vault-mediated context but no extra per-parameter detail is needed.

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 ('Add liquidity to an existing concentrated liquidity position') and scopes it to a Factor vault on Ethereum/Uniswap V3. The word 'existing' implicitly separates it from create_position and remove_liquidity, but no sibling is named explicitly.

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?

No guidance on when to choose this over factor_lp_create_position or factor_lp_remove_liquidity, and no prerequisites such as token approvals, balances, or NFT ownership of the tokenId. The agent must infer the usage context entirely.

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