Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_save_strategy

Save or update a strategy on the Factor Studio Stats API using a configured wallet for signing, with optional vault linking and hash-based updates.

Instructions

Save or update a strategy on the Factor Studio Stats API. Requires a configured wallet for signing. The strategy field contains the strategy data (canvas array or steps array). If vault_address is provided, type defaults to "pro-vault" and position_address is set to the same vault_address. Include hash to update an existing strategy.

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": {
      "name": "<name>"
    },
    "name": "factor_save_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashNoStrategy hash. Include this to update an existing strategy instead of creating a new one.
nameYesName of the strategy
typeNoStrategy type (e.g., "pro-vault", "swap"). Auto-set to "pro-vault" if vault_address is provided.
statusNoStrategy status (e.g., "draft"). Default: "draft".
passwordNoWallet password if the wallet is encrypted
strategyNoStrategy data. Can be an object with a canvas array, or an array of strategy steps.
descriptionNoDescription of the strategy
vault_addressNoVault address to associate with the strategy. Also sets position_address to the same value.

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, the description carries the full behavioral burden. It usefully discloses the signing/wallet requirement and the side effect where vault_address silently sets type and position_address, but says nothing about what happens to an existing strategy on update (overwrite semantics), whether the operation is reversible, or what a failed save looks like.

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, front-loaded with the action and the prerequisite, then the field behaviors. Some sentences duplicate schema text (hash, vault_address) rather than adding new information, but there is little waste.

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 an 8-parameter mutation tool with a nested object and no annotations or output schema, the description covers inputs reasonably but omits what the call returns, which matters here since a returned hash is likely needed to update later. The nested strategy payload is also under-explained relative to its complexity.

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 strategy, hash, and vault_address semantics but adds no format details beyond the schema, and the nested strategy payload shape is left entirely to 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?

States a specific verb+resource: 'Save or update a strategy on the Factor Studio Stats API', and distinguishes the create vs update path via the hash field. It does not explain why an agent would pick this over related save tools (e.g. factor_save_profile, factor_save_vault_metadata), but the resource noun makes the distinction largely self-evident.

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?

Gives clear conditional guidance: include hash to update instead of create, and vault_address triggers pro-vault type plus position_address. It also states the prerequisite of a configured wallet. It does not cover failure cases or when a caller should prefer a different save tool, but the when-to-use context is solid.

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