Skip to main content
Glama

Prepare a fund launch

polypad_prepare_fund_create
Read-only

Prepares creating a fund from a published template (Phase 6 factory by default). Give templateId, or list the assets wanted and it matches a template, or tells you honestly that none can hold them. Returns the unsigned createFund transaction, what the manager must mint next, and a signing link.

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": {
      "from": "<from>",
      "name": "<name>",
      "symbol": "<symbol>"
    },
    "name": "polypad_prepare_fund_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoAttribution tag for traffic measurement. Default "grok".
fromYesThe wallet address that will sign (0x...). Never a private key. Omit it when a walletToken is passed — the wallet is resolved from the token instead.
nameYesFund name, up to 64 bytes.
assetsNoAsset symbols the fund should hold, used to match a template.
symbolYesFund ticker, up to 16 bytes.
factoryNophase6 (default), phase3, or v3.
imageUriNohttps:// or ipfs:// image for the fund.
returnUrlNoOptional https:// link back to your agent flow. The signing page shows it as a button after the transaction confirms, with ?tx=<hash>&status=confirmed added. Anything that is not an https:// URL is ignored.
minSkinBpsNoManager skin requirement in basis points. 0 means the 5% default.
templateIdNoTemplate id from polypad_list_fund_templates.
entryFeeBpsNoManager entry fee in basis points, 0 to 500. Default 0.
raiseCapEthNoRaise cap in ETH.
raiseCapWeiNoSame in wei.
walletTokenNoA wallet token from /sign?connect=1: connect once, store the token, and pass it instead of from on every prepare call. The wallet is resolved from the token (signature-checked, 90-day expiry). When both are passed they must name the same wallet.
mintPriceEthNoPrice per share in ETH, a decimal such as 0.01.
mintPriceWeiNoSame in wei.
raiseDurationDaysNoRaise length in days, 1 to 30. Default 7.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / factory / description
      Previous value: -"phase6 (default) or phase3."New value: +"phase6 (default), phase3, or v3."
    • changedInput schema / properties / factory / enum
      Previous value: -[
      -  "phase6",
      -  "phase3"
      -]New value: +[
      +  "phase6",
      +  "phase3",
      +  "v3"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds what the agent would otherwise not know — that it returns an unsigned createFund transaction, a signing link, and the next required mint, and that asset matching can legitimately fail rather than fabricate a template. It does not discuss wallet/token resolution or the signing token's expiry, though those are documented in the schema property descriptions rather than here.

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?

Three tight sentences with the core action front-loaded and the return shape last. The middle clause ('or tells you honestly that none can hold them') is slightly colloquial but carries a real behavioral warning, so it still earns its place.

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?

With 17 parameters at full schema coverage and no output schema, the description's main burden is describing the return, which it does (unsigned tx, next mint, signing link) alongside the failure case for template matching. Minor gaps remain around what happens when multiple templates match or what must exist before calling, but nothing blocking for correct invocation.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real cross-parameter semantics the schema cannot express: templateId and assets are alternative selection paths, and the assets path may legitimately return no match. That interaction is the main ambiguity in a 17-parameter tool and the description resolves it.

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?

The description gives a specific verb and resource — 'prepares creating a fund from a published template' — plus a default (Phase 6 factory), which is enough to distinguish it from prepare_token_launch or prepare_fund_mint by resource alone. It stops short of naming a sibling to contrast against, so a 4 rather than a 5.

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 does explain the two input modes (pass templateId, or pass assets and let it match), which is genuine when-to-use guidance for the branches. It gives no explicit when-not guidance, no prerequisite stating that a template must be published/listed first, and no pointer to prepare_fund_mint other than the vague 'what the manager must mint next'.

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.