Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_vault_templates

Guides Factor Protocol vault creation by returning live vault-type and token questionnaires, then generates a final template from selected strategy and deposit/withdraw tokens.

Instructions

ALWAYS call this with NO parameters first when creating a vault. Returns a guided questionnaire with vault types and available tokens fetched live from the chain. You MUST present the questions to the user, collect their answers, then call this tool again with vaultType, strategyTokens, and depositWithdrawTokens to get the final template. Do NOT skip the questionnaire even if the user mentions a specific protocol or token — always let them see the options and confirm. The only exception is if you are resuming a previous flow where the user already answered the questions.

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_vault_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaultTypeNoGUIDED MODE: Type of vault to create. If not provided (and no denominator), returns a guided questionnaire with available options.
denominatorNoDIRECT MODE: Filter by denominator token. If not provided, returns all available templates for the current chain.
strategyTokensNoGUIDED MODE: Token addresses needed for the vault strategy (from questionnaire step 2).
lendingProtocolNoDIRECT MODE: Set this when the task involves lending or supplying. Each protocol has different token designs read from the tokenlist.
depositWithdrawTokensNoGUIDED MODE: Token addresses users can deposit/withdraw (from questionnaire step 3). Must be a subset of strategyTokens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses the two-phase flow, that options are fetched live from the chain, and that the first call returns questions rather than a template. It does not state the safety profile (that it is a read-only lookup with no side effects) or anything about response size or latency, which leaves one meaningful gap for a no-annotation tool.

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?

The guidance is front-loaded with the most important rule (no parameters first) and moves in workflow order through the exception. There is some redundancy between 'ALWAYS call this with NO parameters first' and the later 'Do NOT skip the questionnaire' sentences, which restate the same constraint at length.

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 5-parameter, no-annotation tool with no output schema, the description covers the call sequence and what the first response contains well enough to drive correct invocation. It stops short of describing the questionnaire's structure (how many steps, what the options look like), which matters slightly since no output schema exists to explain the return value.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description nevertheless adds sequencing semantics the schema lacks by tying vaultType, strategyTokens and depositWithdrawTokens together as the second-step call. The denominator/lendingProtocol direct-mode parameters are not mentioned in the description, so it does not fully cover the parameter set beyond the schema.

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 uses a specific verb+resource combination: it returns a guided questionnaire or template for creating a vault, with vault types and tokens fetched live from the chain. It also distinguishes its two operating modes (guided questionnaire vs. direct template list). It does not explicitly name a sibling such as factor_create_vault as the downstream step, which keeps it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It gives explicit, prescriptive guidance: ALWAYS call with no parameters first, present the questions to the user, then re-call with vaultType/strategyTokens/depositWithdrawTokens. It also states a when-NOT rule (do not skip the questionnaire even if the user names a protocol or token) and a single explicit exception for resuming a prior flow.

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