Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_pendle_lp

Add or remove liquidity in Pendle markets through a Factor vault and collect fees on Arbitrum or Ethereum. Use slippage limits and token amounts to manage LP positions.

Instructions

Pendle LP operations through a Factor vault. Add/remove liquidity to Pendle markets and collect fees. Available on Arbitrum and 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>",
      "action": "<action>",
      "marketAddress": "<marketAddress>"
    },
    "name": "factor_pendle_lp"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesPendle LP action
amountNoAmount in base units (wei) or "all". Required for addLiquidity and removeLiquidity.
minLpOutNoMinimum LP tokens out for addLiquidity (slippage). Default: "0"
passwordNoWallet password if encrypted
minTokenOutNoMinimum tokens out for removeLiquidity (slippage). Default: "0"
approxParamsNoApproximation parameters from the Pendle API. Required for addLiquidity.
tokenAddressNoToken address for add/remove liquidity
vaultAddressYesThe vault contract address
marketAddressYesThe Pendle market 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?

With no annotations provided, the description carries the full burden of behavioral disclosure. It implies mutation (add/remove/collect) but does not explain permissions, approval requirements, slippage implications, or whether operations are irreversible, leaving significant gaps for a write-capable tool.

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?

The description is short, front-loaded with the core purpose, and contains no unnecessary wording. It efficiently states the action scope and supported networks.

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 schema is rich with full parameter descriptions and no output schema, so the description need not repeat parameter details. However, for a multi-action mutation tool without annotations, it lacks usage guidance and safety context, leaving it only moderately complete.

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 the schema already documents all 9 parameters including action enums, amounts, slippage, and required Pendle approximation parameters. The description does not add meaning beyond what the schema provides, making the baseline score appropriate.

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?

The description states specific actions—add/remove liquidity and collect fees—for Pendle LP operations through a Factor vault, and notes network availability. It is clear what the tool does, but it does not explicitly distinguish itself from siblings like factor_lp_add_liquidity or factor_swap_pendle.

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?

There is no guidance on when to use this tool versus the closely named sibling tools, nor any exclusions or prerequisites. The description only states what operations are supported and on which networks.

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