Skip to main content
Glama

Create strategy

create_strategy

Create a new autotrade strategy preset. After creating, link it to the user via update_autotrade_settings with strategyId to activate it. Make it public to share with the community.

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": {
      "name": "<name>",
      "strategy": "<strategy>"
    },
    "name": "create_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesStrategy name (e.g. "DeFi Blue Chips")
userIdNoThe user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me).
isPublicNoMake discoverable by other users
strategyYesTrading strategy type: VALUE INVESTOR, SWING TRADER, SCALPER, or CUSTOM
allocationNoTarget allocation by asset class
descriptionNoHuman-readable description of what this strategy does
instructionsNoFree-text instructions for Milo when following this strategy
customTickersNoSpecific tokens to focus on

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?

Annotations only say non-read-only and non-destructive; the description adds the crucial behavioral fact that a created strategy is inert until linked to a user, naming the exact follow-up tool and field. That is genuine value beyond the annotations. It does not cover permissions, limits, or what the response contains besides implying an id.

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 short sentences, front-loaded with the action, then the activation workflow. The public-sharing sentence is mildly redundant with the isPublic schema description but still earns a small place as usage rationale.

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?

For an 8-parameter create tool with nested allocation data and no output schema, the description covers the essential workflow gap (activation) that the schema cannot express. It leaves the return shape and optional-parameter behavior unexplained, but the schema carries that load.

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 description coverage is 100%, so parameters are already documented. The description restates isPublic semantics and references strategyId (a return value, not a parameter), but adds no meaning about userId resolution, allocation, instructions, or customTickers.

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?

Clear specific verb+resource: "Create a new autotrade strategy preset" tells an agent exactly what is produced. It implicitly separates this from update_strategy/get_strategy/delete_strategy, though it never names those siblings to sharpen the boundary.

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

Usage Guidelines4/5

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

Gives real context on when and why: creation alone is not activation, and the agent must follow up with update_autotrade_settings using strategyId. Also states the purpose of the public flag. No explicit when-not guidance or mention of update_strategy as the alternative for existing presets.

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.