Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_set_risk_manager

Assign a risk manager address to a Factor Pro vault so that manager can adjust risk parameters such as price deviation allowance. Owner-only action for vault configuration.

Instructions

Set the risk manager address for a Factor Pro vault. The risk manager can adjust risk parameters like price deviation allowance. 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_set_risk_manager"
  }
}

Input Schema

NameRequiredDescriptionDefault
passwordNoWallet password if encrypted
vaultAddressYesThe vault contract address
managerAddressYesThe address to set as the risk manager

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the authorization prerequisite ('Only callable by vault owner') and the downstream effect of the role. It omits whether an existing manager is overwritten, whether the change is reversible, and whether the optional password parameter triggers an unlock flow — meaningful gaps for an unannotated mutation tool.

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, front-loaded with the action and impact, with the access constraint immediately after. No filler or restated title.

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 small three-parameter mutation with full schema coverage and no output schema, the description covers purpose, effect, and authorization adequately. The missing piece is replacement/reversibility semantics, which would round it out fully.

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 (vaultAddress, managerAddress, password) are already documented in the schema. The description adds no format, validation, or naming detail beyond what the schema provides, so 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?

The description gives a specific verb+resource pair ('Set the risk manager address for a Factor Pro vault') and even explains the risk manager's role (adjusting risk parameters like price deviation allowance). It doesn't explicitly name a sibling to contrast with (e.g. factor_add_vault_manager or factor_set_price_deviation_allowance), so differentiation is implied rather than stated.

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 owner-only restriction is a useful gating condition, and the risk manager's capabilities hint at when this matters. However, there is no guidance on when to use this versus factor_add_vault_manager or factor_set_price_deviation_allowance, and no statement about whether it replaces an existing risk manager.

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