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

fd-paper-trading MCP Server

Official

Start Strategy

start_strategy

Starts a live paper-trading run that evaluates strategy signals on each new daily bar and turns them into orders for a paper account. Poll get_strategy_run for STARTING/RUNNING or ERROR status.

Instructions

Start a live paper run of a strategy against a paper account.

The strategy's signals are evaluated on each new daily bar and turned into orders on the account. Poll get_strategy_run for status (STARTING -> RUNNING; ERROR on failure).

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": {
      "strategy_id": "<strategy_id>",
      "account_id": "<account_id>"
    },
    "name": "start_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
riskNoOptional run-level risk overlay for the **live** run — ``stop_loss_pct`` / ``trailing_stop_pct`` (fractions in (0,1)) and ``cooldown_bars`` (int). Honoured on **both tracks**: the runner re-checks the overlay on every new bar (single-symbol) or every processed weight-run bar, including non-rebalance days (weight track), and sells when the stop fires; the config and the per-symbol peaks/cooldown state are snapshotted onto the run, so "this run had a stop" stays answerable afterwards. Omitted = no overlay, identical to before.
account_idYesUUID of the paper account to trade
strategy_idYesUUID of the strategy

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/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 mutation and open-world profile is covered. The description usefully adds the async status lifecycle and the polling follow-up, but says nothing about the non-idempotency consequence (calling twice starts two runs) or how concurrent runs on the same account behave.

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 and followed by the effect and the follow-up call; nothing is decorative. The line break inside the second sentence is slightly awkward but costs nothing.

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?

An output schema exists, so return shapes need not be restated, and the description covers the essential async contract and the poll target. The one remaining gap is whether repeated invocation is safe, which matters given idempotentHint=false and a 3-parameter mutation tool.

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%, and the risk parameter already carries an extensive schema-level explanation of stop_loss_pct, trailing_stop_pct and cooldown_bars. The description contributes no additional parameter meaning, so the baseline 3 applies.

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?

States a specific verb and resource ("Start a live paper run of a strategy against a paper account") and the second sentence clarifies the mechanism (signals evaluated per daily bar, turned into orders). The word "paper" and "live run" implicitly separate it from run_backtest, but no sibling is named explicitly, so an agent must infer the boundary itself.

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 clear operational guidance: poll get_strategy_run for status and describes the STARTING -> RUNNING / ERROR state machine, which tells the agent this is async and must be followed up. It does not say when not to use it (e.g. backtest vs paper run) or how to stop it, so exclusions are absent.

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