Skip to main content
Glama
fd-paper-trading MCP Server

fd-paper-trading MCP Server

Official

Create Strategy

create_strategy

Creates a paper-trading strategy from a template or code spec, defining its name, symbol, parameters, and optional description.

Instructions

Create a strategy from a spec.

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

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable strategy name
specYesStrategy spec. Template track: {"kind": "template", "template": "sma_cross", "symbol": "AAPL", "params": {"fast": 10, "slow": 30, "quantity": 5}} Code track (if enabled for your group): {"kind": "code", "symbol": "AAPL", "source": "def on_bar(ctx):\n ..."}
descriptionNoOptional description

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the write/non-destructive profile is covered. The description adds nothing beyond that: it doesn't state that creation is persistent, whether duplicate names are rejected, whether the code track requires group enablement, or what happens on invalid specs. For a mutation tool with open-world behavior, this leaves real behavioral gaps unaddressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and contains no filler, but it is under-specified rather than concise—the brevity comes at the cost of missing information rather than from tight editing. There is no wasted wording, but there is very little structure to speak of.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the schema fully documents the nested spec object. Still, for a tool that writes persistent state with open-world effects and two distinct spec tracks, the description omits prerequisites and behavioral consequences that the structured fields don't cover.

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%, with both required parameters ('name', 'spec') documented in the schema, including the nested template/code track shapes. The description contributes only the phrase 'from a spec', which adds no syntax or constraint detail beyond the schema. Baseline 3 is appropriate when the schema carries the parameter burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Create a strategy') and adds the mechanism ('from a spec'), which slightly exceeds restating the title. However, it does nothing to distinguish this from siblings like update_strategy, run_backtest, or create_account, and it doesn't convey what a 'strategy' is in this system. Purpose is graspable but vague.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus update_strategy (modify existing), start_strategy (activate), or run_backtest (test a spec without persisting). No prerequisites, no mention of which spec track is appropriate, and no exclusions are stated. The agent must infer everything from sibling names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.