Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_upload_ipfs

Upload a profile image or vault logo to IPFS via the Factor Stats API, returning a hash for use in profile and vault metadata fields.

Instructions

Upload a file to IPFS via the Factor Stats API. Use this to upload profile images and vault logos. Provide either a filePath (local file) or base64-encoded content. Returns an IPFS hash that can be used in factor_save_profile (image field) or factor_save_vault_metadata (logoCID field).

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

Input Schema

NameRequiredDescriptionDefault
base64NoBase64-encoded file content. Use this when you have the file content directly instead of a file path.
fileNameNoFile name (required when using base64, optional for filePath — defaults to the file basename)
filePathNoPath to the local file to upload (e.g., "/path/to/image.png")
mimeTypeNoMIME type of the file (e.g., "image/png", "image/jpeg"). Auto-detected from extension if not provided.
passwordNoWallet password if the wallet is encrypted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.9

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden; it does say the file goes to IPFS through the Factor Stats API and that the result is an IPFS hash, which is the key behavioral fact. However, it omits limits and side effects an agent would care about: size caps, whether content is public/immutable once pinned, failure modes, and why an optional wallet password is involved. Adequate but clearly partial for a mutation/network tool.

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?

Three tight sentences, front-loaded with the action and API, then the use case, then the input modes and return value. Every sentence carries information an agent needs; nothing is padding or restated from the title.

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?

With no output schema and no annotations, the description supplies the missing return-value context by naming the IPFS hash and where it is consumed downstream. It leaves the password parameter's role and error behavior unaddressed, which is a real gap for a five-parameter network upload tool, but the core call contract is complete.

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 all five parameters already carry descriptions and the baseline is 3. The description restates the filePath-vs-base64 mutual exclusivity and adds the useful mapping of the returned hash to the image and logoCID fields, but it says nothing extra about fileName, mimeType, or the password parameter beyond what the schema already declares.

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+resource ("Upload a file to IPFS via the Factor Stats API") and immediately scopes it to the concrete artifacts it serves (profile images, vault logos). It also names the two downstream consumers, so an agent can distinguish this from factor_save_profile and factor_save_vault_metadata without opening their schemas.

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 usage context ("Use this to upload profile images and vault logos") and a selection rule between the two input modes ("Provide either a filePath ... or base64-encoded content"). It stops short of stating exclusions or prerequisites, such as when an encrypted wallet password is required, but the intended call context is unambiguous.

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