Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_execute_manager

Execute multi-step DeFi strategies on a vault as its manager, including swaps, lending, and borrowing. Provide the vault address and ordered protocol actions to run operations within the vault.

Instructions

Execute a strategy on a vault as a manager. This allows swapping, lending, borrowing and other DeFi operations within the vault.

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>",
      "steps": "<steps>"
    },
    "name": "factor_execute_manager"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYesArray of strategy steps to execute
passwordNoWallet password if encrypted
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 provided, so the description carries the full burden of behavioral disclosure. It mentions manager execution and DeFi operations, but does not explain authorization requirements, irreversibility of financial actions, atomicity of the steps array, slippage or failure behavior, or what happens if a step fails. For a high-risk execution tool, this leaves major behavioral questions unanswered.

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 two sentences, front-loaded with the core action, and contains no filler. The second sentence efficiently adds scope by naming the DeFi operations available. It could be slightly more structured, but it is appropriately 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?

This is a complex execution tool with nested strategy steps and no annotations or output schema. The description gives only a high-level purpose and examples of operations, leaving out critical context such as manager permission requirements, step ordering, atomicity, and failure handling. Relative to the tool's complexity, the description is incomplete.

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 coverage is 100%, so the schema already documents vaultAddress, steps, password, and the nested step fields. The description does not add syntax, ordering, or semantic details beyond what the schema provides. The baseline of 3 is appropriate because the schema does the heavy lifting.

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 a specific verb and resource: execute a strategy on a vault as a manager. It also lists representative DeFi operations (swapping, lending, borrowing), making the tool's domain clear. It does not explicitly distinguish this from sibling strategy or vault-management tools, but the core purpose is unambiguous.

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?

The phrase 'as a manager' implies the caller must hold a manager role, and the listed operations suggest when this tool is appropriate. However, there is no explicit guidance on when to use this tool versus alternatives like direct deposit, flashloan, or strategy-management tools, nor are prerequisites or exclusions stated.

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