Skip to main content
Glama

Owner tx: deposit into a manager

prepare_deposit
Read-only

Returns an UNSIGNED transaction {chainId, to, data, value} plus simulation — an eth_call of exactly it from from (ok, or the revert decoded by name) — warnings and next. This server signs nothing: the sender signs and sends it with their own wallet and pays the gas. A plain transfer to the manager (an ERC-20 transfer, or a native value send) — managers do not pull, so there is no approve. Amount in raw base units. The funds land idle; an operator or the owner then allocates them into positions.

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": {
      "chainId": "<chainId>",
      "manager": "<manager>",
      "token": "<token>",
      "amount": "<amount>",
      "from": "<from>"
    },
    "name": "prepare_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesThe wallet the funds come from — anyone may fund a manager, only the owner may take funds out
tokenYesToken to deposit; 0x0000000000000000000000000000000000000000 for the native coin
amountYesRaw base units as a decimal string (USDC 1.5 = "1500000"), never a decimal
chainIdYesEVM chain id: 8453 Base, 42161 Arbitrum, 130 Unichain (1 = Ethereum mainnet, your gas)
managerYesManager NFT contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries most of the burden and does it well: it discloses that the server signs nothing, the sender signs/sends and pays gas, and that the response includes a simulation (an eth_call from `from`, with reverts decoded by name) plus warnings and next. The one residual gap is that readOnlyHint on a tool producing a signed-ready transaction is not reconciled in words, though 'this server signs nothing' effectively explains it.

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?

Front-loaded with the return shape and the unsigned/simulation behavior, then the transfer semantics, then the downstream allocation step. Dense and mostly earning its words, though the em-dash-heavy phrasing packs several ideas per sentence and could be split for faster scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description fully specifies the return shape and its companion fields (simulation, warnings, next), plus the gas and signing responsibility split. For a five-parameter transaction-preparation tool with only two annotations, nothing an agent needs to call or interpret it is missing.

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 are already documented, and the description adds only the raw-base-units reminder for amount, which the schema itself also states with an example. The 'anyone may fund a manager' nuance lives in the schema's `from` description, not in the tool description.

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?

The description names a specific action and resource ('A plain transfer to the manager... ERC-20 transfer, or a native value send') and immediately states the returned artifact: an UNSIGNED transaction {chainId, to, data, value}. It also rules out a tempting alternative workflow by noting managers do not pull, so no approve step exists, which separates it cleanly from prepare_withdraw and from any approve-based flow.

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?

It describes the workflow position (funds land idle, then an operator or owner allocates into positions) and implicitly when to use it, but never states explicit when-not conditions or names an alternative tool. An agent must infer that prepare_withdraw is the inverse case rather than being told.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources