Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_set_price_deviation_allowance

Set a Factor Pro vault's cumulative price deviation allowance in basis points so price movement thresholds block operations; restricted to vault owner or risk manager.

Instructions

Set the cumulative price deviation allowance for a Factor Pro vault. This controls how much price deviation is tolerated before operations are blocked. Value is in basis points (0-10000). Only callable by vault owner or risk manager.

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>",
      "allowanceBps": "<allowanceBps>"
    },
    "name": "factor_set_price_deviation_allowance"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.9/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 behavioral burden; it does disclose the key effect (operations blocked past the threshold) and an authorization requirement, which is useful. However, it omits whether the value overwrites or accumulates ("cumulative" is ambiguous), whether changes are reversible, and what happens if the new allowance is below current deviation.

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?

Four short sentences, front-loaded with the action and scoping statement, followed by semantics, units, and permissions. No filler, no duplication.

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 privileged mutation tool with no annotations and no output schema, the description covers purpose, units, effect, and authorization, which is reasonable. It still leaves gaps on mutation semantics (overwrite vs. accumulate), failure modes, and confirmation of what is returned on success.

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 already carry documentation. The description restates the basis-point range for allowanceBps but adds no syntax or format detail beyond the schema, and says nothing about the optional password parameter. Baseline 3 applies.

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 (Set) and resource (cumulative price deviation allowance) scoped to a Factor Pro vault, which distinguishes it from the many other factor_set_* parameter tools (fees, caps, risk manager). An agent can identify the exact state being changed 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 Guidelines4/5

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

Explains the operational meaning of the parameter (how much price deviation is tolerated before operations are blocked) and states who may call it (vault owner or risk manager). It does not compare against alternatives or state when not to call, but the surrounding context is clear.

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