Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_add_adapter

Adds a manager adapter to a Factor Pro vault so it can interact with specific DeFi protocols such as Uniswap, Aave, or Pendle. Use factory addresses to find available adapters.

Instructions

Add a manager adapter to a Factor Pro vault. This allows the vault to interact with specific DeFi protocols (e.g., Uniswap, Aave, Pendle). Use factor_get_factory_addresses to see available adapters.

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>",
      "adapterAddress": "<adapterAddress>"
    },
    "name": "factor_add_adapter"
  }
}

Input Schema

NameRequiredDescriptionDefault
passwordNoWallet password if encrypted
vaultAddressYesThe vault contract address
adapterAddressYesThe adapter contract address to add (e.g., UniswapAdapter, AaveAdapter)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.5/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 whole behavioral burden, and it only states the mechanical effect. It does not say who may call this (vault owner/manager), whether the addition is reversible or how to remove an adapter, whether it costs gas, or what the response contains. The mention of a 'wallet password if encrypted' in the schema hints at signing, but the description never addresses auth or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero padding, with the core action stated first and the how-to-find-inputs pointer second. Every sentence earns its place.

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 small three-parameter mutation with full schema coverage and no output schema, the description covers purpose and input discovery adequately. It remains thin on the mutation's operational context—permissions, reversibility, and failure modes—which matters more here because no annotations backfill that information.

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 three parameters are already documented, including examples for adapterAddress. The description reinforces this by naming concrete adapter types and pointing at factor_get_factory_addresses as the source of valid addresses, but adds no syntax, format, or validation detail beyond the schema.

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 definition gives a specific verb and resource ('Add a manager adapter to a Factor Pro vault') and explains the effect concretely: the vault can then interact with DeFi protocols like Uniswap, Aave, and Pendle. It does not explicitly distinguish itself from lookalike siblings such as factor_add_vault_manager or factor_add_vault_token, leaving the agent to infer the difference from the resource name.

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

Usage Guidelines4/5

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

It routes the agent to a concrete prerequisite source: use factor_get_factory_addresses to discover valid adapters. There is no explicit when-not guidance or note about whether the vault must already exist or the caller must be the owner, so it stops short of full routing guidance.

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