Skip to main content
Glama
Factor MCP Server

Factor MCP Server

Official
by FactorDAO

factor_preview_deposit

Preview the shares you would receive from a Factor Pro vault deposit before submitting; read-only simulation using vault, asset, amount, and optional user address.

Instructions

Preview a deposit to a Factor Pro vault. Returns expected shares to receive. This is a read-only operation.

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>",
      "assetAddress": "<assetAddress>",
      "amount": "<amount>"
    },
    "name": "factor_preview_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount to deposit in base units (wei)
userAddressNoAddress to check balance for. If not provided, uses the active wallet.
assetAddressYesThe address of the token to deposit
vaultAddressYesThe vault contract address

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?

No annotations are supplied, so the description carries the full disclosure burden. It does disclose two genuinely useful traits — the operation is read-only and returns expected shares — but it says nothing about failure modes (invalid vault, unsupported asset, zero-liquidity vault), whether values reflect current on-chain state, or how share decimals should be interpreted.

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 short sentences, zero filler, with the core action front-loaded and the only caveat (read-only) at the end. Every sentence contributes distinct information.

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 4-parameter read-only preview with fully documented parameters, the description covers purpose, return value, and safety profile adequately, so no output schema is needed. The remaining gap is behavioral edge cases on invalid inputs, which is a minor omission at this complexity level.

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 including amount in wei, assetAddress, vaultAddress, and the optional userAddress fallback to the active wallet is already documented. The description adds nothing beyond the schema, which is the expected baseline when the schema does the heavy lifting.

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 ("Preview a deposit to a Factor Pro vault") plus the return value ("expected shares"), which distinguishes it from the sibling execution tool factor_deposit by implication. It does not explicitly name factor_preview_withdraw or factor_preview_transaction as alternatives, so differentiation is inferred rather than declared.

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

Usage Guidelines3/5

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

"Preview" implies this is a simulation step to be run before an actual deposit, giving implicit when-to-use context. However, there is no explicit statement such as "call this before factor_deposit to check slippage" and no exclusion conditions (e.g., when the vault does not hold the asset).

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