Skip to main content
Glama

Quote: create a manager, gas paid by Envelop's relayer

quote_create_manager

Free. Step 1 of having a manager created WITHOUT gas of your own on Base, Arbitrum or Unichain: Envelop's relayer sends LPManagerFactory.createManagerNondeterministic and the manager NFT goes to owner (explicit — never assumed to be the payer). Either strategy (a Think Tank id) or product + pools. Returns quoteId, the price in USDC (gas × 1.2 × fee + L1 fee, × 1.5, at least $0.10 — usually exactly $0.10), the networks to pay on (USDC on Base or Arbitrum), expiresAt (≈2 minutes), the relayer's address, balance and how many creations it has gas for on that chain, and payUrl. Refused, with nothing to pay, when the creation would revert or the relayer is out of gas. Next: create_manager(quoteId).

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>"
    },
    "name": "quote_create_manager"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
chainIdYesWhere the manager is created: 8453 Base, 42161 Arbitrum, 130 Unichain (Ethereum mainnet: prepare_create_manager, your own 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.6/5.0
Behavior4/5

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

The description goes well beyond the annotations by explaining the relayer transaction, NFT ownership, price formula, quote expiration, refusal conditions, and relayer gas/balance checks. It does not contradict the non-read-only, non-destructive, non-idempotent annotations, but it also does not explicitly discuss repeated quote creation or quote uniqueness.

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 front-loaded with the key point ('Free') and step context, then moves through inputs, outputs, and next steps. It is information-dense but somewhat packed into one long paragraph, and the detailed pricing formula is useful but heavy.

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?

Although there is no output schema, the description enumerates the relevant return fields including quoteId, price, payable networks, expiration, relayer details, and payUrl. It also covers when the quote is refused and what to do next, making it complete for this six-parameter quote-generation tool.

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

Parameters4/5

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

With 100% schema description coverage, the schema already documents each parameter thoroughly. The description adds useful semantics by clarifying that owner is never assumed to be the payer and that callers should provide either strategy or product plus pools.

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 a specific action: generate a quote for creating a manager through Envelop's relayer without user gas. It distinguishes this from direct creation by naming the next step, create_manager(quoteId), and the schema's chainId parameter names prepare_create_manager for Ethereum mainnet.

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?

It clearly identifies this as step 1 and says to call create_manager(quoteId) next. It also explains the no-gas context on Base, Arbitrum, and Unichain, while the chainId schema description routes mainnet users to prepare_create_manager with their own gas.

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