Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_save_vault_metadata

Saves or updates vault display metadata such as name, description, and logo on the Factor Studio Stats API for the discover page; include a strategy hash to update existing entries.

Instructions

Save or update vault display metadata (name, description, logo) on the Factor Studio Stats API. This information appears on the discover page. Upload a logo image first via factor_upload_ipfs, then pass the IPFS hash as logoCID. Include hash to update existing metadata.

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

Input Schema

NameRequiredDescriptionDefault
hashNoStrategy hash from a previous save. Include this to update existing metadata instead of creating a new entry.
nameYesDisplay name for the vault (shown on discover page)
statusNoVault status: "draft", "live", or "deployed". Default: "live".
logoCIDNoIPFS hash for the vault logo (upload via factor_upload_ipfs first)
passwordNoWallet password if the wallet is encrypted
descriptionNoVault description/strategy explanation
vaultAddressYesThe vault contract address
depositAssetAddressesVisibilityNoToken addresses visible as deposit options on the UI
withdrawAssetAddressesVisibilityNoToken addresses visible as withdraw options on the UI

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A3.8/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 discloses the write target (Stats API) and the downstream effect (discover page visibility), but omits auth/password requirements, whether updates overwrite or merge existing fields, error behavior, and whether setting status to 'live' has consequences.

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 core action and effect, followed by the two dependency notes an agent actually needs. No filler or redundant restatement of the schema.

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 9-param write tool with no annotations and no output schema, the description covers the essential workflow and cross-tool dependency. It's slightly thin on the non-obvious fields (status, visibility arrays) and post-call behavior, but the schema handles field-level detail.

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 coverage is 100%, so the parameter descriptions already document each field thoroughly; the baseline of 3 applies. The description adds useful cross-tool meaning for logoCID (upload first) and hash (update vs create), but leaves the visibility arrays, status enum values, and password param 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 and resource: save or update vault display metadata (name, description, logo) on the Stats API, plus the user-visible effect on the discover page. It's clear what the tool does, though it doesn't differentiate itself from close siblings like factor_save_profile or factor_save_strategy beyond the 'vault' scope.

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 concrete operational ordering: upload the logo via factor_upload_ipfs first and pass the resulting hash as logoCID, and include hash to update rather than create. This covers the create-vs-update decision well, but says nothing about when to prefer this over factor_save_profile or what prerequisites (wallet auth, existing vault) apply.

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