Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_set_withdraw_fee

Sets the withdraw fee in basis points for a Factor Pro vault, callable only by the vault owner.

Instructions

Set the withdraw fee for a Factor Pro vault. Fee is in basis points (0-10000, where 10000 = 100%). 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>",
      "feeBps": "<feeBps>"
    },
    "name": "factor_set_withdraw_fee"
  }
}

Input Schema

NameRequiredDescriptionDefault
feeBpsYesWithdraw fee in basis points (0-10000, where 100 = 1%)
passwordNoWallet password if encrypted
vaultAddressYesThe vault contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose the owner-only authorization gate and the valid bps range, which are genuinely useful behavioral facts, but it says nothing about whether the change is reversible, whether it affects existing positions, or whether it is an on-chain transaction requiring gas.

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 short sentences, front-loaded with the action and target, followed by the constraint. No filler or redundancy.

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 mutation tool with no annotations and no output schema, the essentials (target, unit, authorization) are covered, but the agent still lacks call-time behavior such as transaction semantics and consequences of changing the fee. Adequate but with clear gaps.

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 baseline is 3. The description restates the bps range and scale (10000 = 100%), which only duplicates the schema's own note that 100 = 1%; it adds no format, validation, or example detail beyond structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Set the withdraw fee for a Factor Pro vault'), which cleanly separates it from the sibling fee tools (deposit fee, management fee, performance fee, fee receiver). An agent can route to it without opening the schema.

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 description adds an important precondition ('Only callable by vault owner'), which is effectively a when-you-may-use rule. However, it never says when to prefer this over other fee-setting tools or what happens if the fee is already set; usage context is implied rather than explicit.

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