Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_lp_collect_fees

Collect accumulated fees from a concentrated liquidity position through a Factor vault, supporting Uniswap V3 positions on Ethereum.

Instructions

Collect accumulated fees from 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>",
      "tokenId": "<tokenId>"
    },
    "name": "factor_lp_collect_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
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?

No annotations are supplied, so the description carries the full burden. It does not disclose that this is a write/mutating operation, whether approvals or gas are required, where the collected fees are sent (vault vs. wallet), or whether the position is altered. Only the protocol/chain scope is added.

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 the protocol/chain support placed as a secondary constraint. Nothing is wasteful; only minor tightening is possible.

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?

For a mutating, four-parameter tool with no annotations and no output schema, the description omits what the call returns, where fees land, and any side effects. The protocol scope is a useful start but leaves the agent without enough to invoke it confidently.

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, tokenId, protocol, password) are already documented in the schema. The description adds no syntax, format, or constraint detail beyond that, so the 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 ('Collect accumulated fees from a concentrated liquidity position') plus the mechanism ('through a Factor vault') and supported protocol chain scope ('Uniswap V3 (Ethereum)'). That is enough to distinguish it from sibling position tools like factor_lp_remove_liquidity, though it does not name any sibling explicitly.

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 only implied: the agent can infer this is the tool for harvesting accrued fees rather than withdrawing principal, but there is no explicit 'use this when / not when', no stated prerequisites (e.g. position must have accrued fees), and no named alternative for scenarios where liquidity removal is intended.

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