Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_set_max_cap

Set a Factor Pro vault's maximum deposit cap in wei, or use 0 for no cap. Restricted to the vault owner.

Instructions

Set the maximum deposit cap for a Factor Pro vault. The cap is in the vault denominator token base units (wei). Set to 0 for no cap. 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>",
      "maxCap": "<maxCap>"
    },
    "name": "factor_set_max_cap"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxCapYesMaximum vault cap in base units (wei). Use "0" for no cap.
passwordNoWallet password if encrypted
vaultAddressYesThe vault contract address

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 supplied, the description carries the full load and does disclose key behavior: this is an owner-gated mutation and 0 is the sentinel for 'no cap'. It does not say whether the cap takes effect immediately, whether it can be set below current deposits, or what a successful call returns.

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?

Four short sentences with no filler, and the core action plus unit convention are front-loaded before the permission note. Slight redundancy with the schema's maxCap description is the only waste.

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

Completeness5/5

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

For a three-parameter mutation with no annotations and no output schema, the description covers the essentials an agent needs: what it changes, the unit convention, the no-cap sentinel, and the authorization requirement. Remaining gaps (return value, effect timing) are minor for this tool class.

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 the wei units and "0" sentinel for maxCap. The description restates those same facts rather than adding new meaning (e.g., how maxCap interacts with existing deposits), 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?

States a specific verb ('Set') and resource ('maximum deposit cap for a Factor Pro vault'), which clearly separates it from the other factor_set_* tools governing fees, ratios, and risk managers. It stops just short of naming any sibling as an alternative, so an agent must infer the routing itself.

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 gives a precondition ('Only callable by vault owner') and an edge-case instruction ('Set to 0 for no cap'), which is useful context. However, it never states when an agent should choose this tool over related configuration tools, nor any 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