Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

transactions_create_earn-deposit

Creates a human-approval proposal to deposit an asset from a smart account into its Earn vault, returning previewed vault shares and a sign URL.

Instructions

Create a proposal, for a human signer to approve, that deposits an asset from a smart account into its Earn vault. Specify amount in human-readable asset units (e.g. '100' for 100 USDC). Returns the proposal with the previewed vault shares and a signUrl.

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": {
      "account": "<account>",
      "chainId": "<chainId>",
      "asset": "<asset>",
      "amount": "<amount>"
    },
    "name": "transactions_create_earn-deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoNoOptional memo for the transaction (max 500 chars)
assetYesThe underlying asset of the vault (e.g. the USDC address)
amountYesThe amount in human-readable asset units (e.g., '100' for 100 USDC)
accountYesThe smart account address to create the proposal from (0x-prefixed, 40 hex chars)
chainIdYesThe chain ID where the smart account is deployed and the vault lives (e.g., 1 for Ethereum, 8453 for Base)
propertyNoString key/value overlays for properties; repeatable. Splits on the first '='. Example: --property invoice=INV-42
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.
propertiesNoOptional custom JSON metadata. Total minified ≤ 500 chars. Used as the base; any --property overlays are applied on top. To load from a file, use shell substitution: --properties "$(cat props.json)"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 burden and does well: it discloses that no funds move immediately (a proposal is created), that human approval via signUrl is required, and that previewed vault shares are returned. It omits failure modes, proposal expiry, and any permission requirements, which keeps it short of a 5.

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?

Two sentences, zero filler. The core action and the human-approval constraint come first, followed by the unit convention and the return shape.

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 mutating tool with no annotations and no output schema, the description covers the essential unknowns: that it produces an unexecuted proposal and what that proposal contains. The remaining gap is operational detail (permissions, expiry, error conditions) rather than anything blocking a correct call.

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 eight parameters are already documented in the schema. The description's note about human-readable asset units restates what the amount field already says, adding no new meaning 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?

States a precise verb and resource: create a proposal that deposits an asset from a smart account into its Earn vault. The deposit direction implicitly separates it from transactions_create_earn-withdraw and the auto-earn toggles, but no sibling is named, so an agent must infer the routing itself.

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?

The phrase 'for a human signer to approve' implies this is the first step of a two-stage propose-then-sign flow, which is useful context. However, it never states when to choose this over earn-withdraw or auto-earn-on/off, nor any prerequisites such as vault existence or sufficient balance.

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