Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_validate_vault_config

Validates vault configuration before deployment by checking that all adapters, assets, and accounting addresses are whitelisted in the factory. Prevents failed setups by flagging unwhitelisted addresses early.

Instructions

Validate vault configuration before deployment. Checks if all adapters, assets, and accounting addresses are whitelisted in the factory.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "factor_validate_vault_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
debtAddressesNoDebt token addresses to validate
ownerAdaptersNoOwner adapter addresses to validate
assetAddressesNoAsset addresses to validate
managerAdaptersNoManager adapter addresses to validate
withdrawAdaptersNoWithdraw adapter addresses to validate
depositAssetAddressesNoDeposit asset addresses to validate
withdrawAssetAddressesNoWithdraw asset addresses to validate
debtAccountingAddressesNoDebt accounting adapter addresses to validate (must match debtAddresses length)
assetAccountingAddressesNoAsset accounting adapter addresses to validate (must match assetAddresses length)

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, the description carries the full burden, and it does convey that this is a non-mutating whitelist check against factory state. However, it does not disclose what happens on failure (exception vs. structured failure list), whether permissions are needed, or what the caller should expect back for a 9-parameter call.

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, zero padding, with the action front-loaded and the specific validation scope immediately following. Nothing here repeats the title or wastes the reader's attention.

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 9-parameter, all-optional tool with no output schema, the definition covers the 'what' but not the 'what comes back' or whether partial submissions are valid. An agent still has to guess at the shape of a validation result and at failure handling.

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 every parameter is already documented, including the length-matching constraint on the accounting address arrays. The description adds nothing beyond that at the parameter level, 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 names a specific verb and resource ('Validate vault configuration') and adds scope: adapters, assets, and accounting addresses whitelisted in the factory. That is enough to distinguish it from the add_/get_ siblings, though it never explicitly contrasts itself with any of them.

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?

'before deployment' gives a clear temporal trigger for when to call this rather than the create/add tools. It stops short of stating exclusions (e.g. whether it is redundant after a successful deployment or whether it can be run against an existing vault).

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