Skip to main content
Glama

Tx: create a manager

prepare_create_manager
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. LPManagerFactory.createManagerNondeterministic on Base, Arbitrum, Unichain or Ethereum; from pays its gas. To create without gas of your own on Base, Arbitrum or Unichain, use quote_create_manager → create_manager instead (Envelop's relayer, paid in USDC; mainnet has no relayer). Anyone may send it; the manager NFT goes to owner. Either strategy (a Think Tank id: its template fixes product and pools) or product + pools. The pool set is fixed forever; the chain's price oracle is wired in. The new address is the proxy of the factory's EnvelopV2Deployment event in the receipt.

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>",
      "owner": "<owner>",
      "from": "<from>"
    },
    "name": "prepare_create_manager"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesWho sends (and pays gas for) the transaction; any address — the factory is permissionless and the NFT still goes to `owner`
nameNoDisplay name, up to 31 UTF-8 bytes
ownerYesWho receives the manager NFT. Explicit on purpose: a smart account on one chain may not exist on another
poolsNoWithout `strategy`: the manager's pool set, 1–32, fixed forever at creation
chainIdYesEVM chain id: 8453 Base, 42161 Arbitrum, 130 Unichain (1 = Ethereum mainnet, your gas)
productNoWithout `strategy`: which manager
strategyNoA Think Tank strategy id (think-tank/<slug>) — its manager template supplies product and pools; chainId must be the strategy's chain

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / strategy / description
      Previous value: -"A Think Tank strategy id (think-tank/<slug>) — its manager template supplies product, chain and pools"New value: +"A Think Tank strategy id (think-tank/<slug>) — its manager template supplies product and pools; chainId must be the strategy's chain"
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

The description discloses key behavior beyond annotations: the server signs nothing, the sender pays gas, the output includes an eth_call simulation, warnings, and next, and the manager NFT goes to owner. It also explains that anyone may send the transaction, the pool set is fixed forever, the oracle is wired in, and the new address is derived from the factory event.

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?

The description is dense but front-loaded, starting with the return value and the no-signing model before moving into alternatives and creation details. Some sentences pack multiple semicolon-separated facts, but nearly every clause carries useful operational meaning.

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?

With no output schema, the description adequately explains the returned unsigned transaction fields, the simulation result, warnings, and next. It also covers the main behavioral caveats an agent needs to route between direct signing and the relayer alternative.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema has 100% description coverage, the description adds important cross-parameter meaning: strategy is a Think Tank id whose template fixes product and pools, while otherwise product and pools must be supplied. It also clarifies that from pays gas, owner receives the NFT, and chainId must match the strategy chain.

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 states the specific operation: returns an unsigned transaction for LPManagerFactory.createManagerNondeterministic to create a manager. It also distinguishes this preparation tool from the relayer path via quote_create_manager → create_manager.

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

Usage Guidelines5/5

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

Usage is explicit: use this when the sender signs and sends with their own wallet and pays gas, and use quote_create_manager → create_manager when creating without gas on Base, Arbitrum, or Unichain. It also states that mainnet has no relayer and explains the strategy versus product+pools input choice.

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