Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_add_vault_manager

Add a manager address to a Factor Pro vault so authorized managers can execute strategies through executeByManager; only the vault owner can call it.

Instructions

Add a manager address to a Factor Pro vault. Managers can execute strategies (swaps, lending, etc.) on the vault via executeByManager. Only callable by vault owner.

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>",
      "managerAddress": "<managerAddress>"
    },
    "name": "factor_add_vault_manager"
  }
}

Input Schema

NameRequiredDescriptionDefault
passwordNoWallet password if encrypted
vaultAddressYesThe vault contract address
managerAddressYesThe address to add as a vault manager

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two important traits: the owner-only authorization requirement and the privileged capability being granted (executing swaps, lending, etc. on the vault). It omits what happens on duplicates, whether this submits an on-chain transaction, and any revert conditions.

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?

Three short sentences, front-loaded with the action and followed by the consequence and the permission constraint. Every sentence carries information the agent needs, with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description covers the essential decision factors: what changes, who may call it, and what power is conferred. It would be stronger if it stated the return shape or failure modes, but it is sufficient to call the tool correctly.

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 vaultAddress, managerAddress, and password are already documented in the schema. The description adds no format, validation, or conditional detail (e.g., when the optional password is required) beyond what the schema provides, so the baseline of 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?

The description uses a specific verb and resource ("Add a manager address to a Factor Pro vault") and explains the resulting capability via executeByManager, so the agent knows exactly what state change is being made. It stops short of naming the sibling factor_remove_vault_manager as the inverse, but the operation itself 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 Guidelines4/5

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

"Only callable by vault owner" gives a concrete precondition that tells the agent when this call is viable, and the executeByManager note clarifies why one would grant the role. It does not explicitly exclude alternatives or describe behavior when the address is already a manager, so it stops short of full when/when-not 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