Skip to main content
Glama

Build: create an index

build_create_index
Read-only

Launch a new index fund: the wallet seeds it with the exact amount of each basket token (it must hold them) and receives initialShares shares. The seed amounts set the weights. Returns the approvals and the factory deployment call, plus the new index's predicted address.

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": {
      "wallet": "<wallet>",
      "name": "<name>",
      "symbol": "<symbol>",
      "assets": "<assets>"
    },
    "name": "build_create_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYese.g. "AI Agents Index"
assetsYes
symbolYesticker, 1–12 letters/digits, e.g. "AGENT5"
walletYesthe agent's wallet address — the one that will sign and send the calls
mandateNothe index's investment mandate, shown to buyers
proposerNowho may propose rebalances (default: wallet)
tvlFeePctNomanagement fee in % per year (max 0.2)
mintFeePctNofee on each mint, in % (max 0.5)
feeRecipientNowho receives the fees (default: wallet)
initialSharesNoshares minted for the seed, as a decimal string, e.g. "25" or "0.5"100
auctionMinutesNorebalance auction length

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations only declare readOnlyHint and openWorldHint, so the description carries most of the behavioral burden. It does this well: it says the output is the approvals plus the factory deployment call plus the index's predicted address, which shows that the tool builds transactions rather than executing them and keeps the description consistent with readOnlyHint. It does not mention whether the calls must be signed in a specific order or what happens if the predicted address is already deployed, so that is a minor gap.

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?

Three tight sentences with no filler. The core action and prerequisite come first, followed by the mechanism that sets the weights, and the return payload is stated last. Nothing is repeated, and every sentence provides information.

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?

There is no output schema, so the description rightly explains the return payload: approvals, factory call, and predicted address. Combined with 91% schema coverage on 11 parameters, the agent has enough to call the tool correctly. It does not cover edge cases such as the asset-count limit or fee bounds, but those are documented in the schema.

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 91%, so the schema already documents most parameters. The description adds meaning beyond the schema by explaining that the per-token seed amounts determine the basket weights and that initialShares is tied to those amounts. It also clarifies the seed-and-hold relationship for the wallet parameter. It does not clarify the fee parameters, mandate, or auctionMinutes beyond what the schema already says, but that is acceptable.

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 concrete verb and resource: it launches a new index fund, defines how the wallet seeds the basket with tokens, and describes what the tool returns. An agent can distinguish it from sibling tools that buy, sell, or query indexes. It does not explicitly contrast with register_index or build_buy_index, so it falls just short of 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?

The description states the main prerequisite: the wallet must already hold each basket token. It also states that the wallet receives initialShares shares and that seed amounts set the weights. It does not say when to choose this tool over register_index or other siblings, and it gives no exclusions or failure conditions such as running out of tokens or hitting the 20-asset cap.

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