Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

segnals_create_strategy

Create a fully configured trading strategy with bot and config, previewing and validating the setup before confirming. The bot starts stopped, so you review before trading.

Instructions

Create a fully configured trading strategy (bot + config). Requires scope: write:strategies.

TWO-STEP CONFIRMATION: Call without confirm to preview and validate. Call with confirm: true to create. This orchestrates: create bot → apply full config. The bot starts in 'stopped' state. IMPORTANT: Never include exchange API keys/secrets in the config.

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": {
      "exchange": "<exchange>",
      "name": "<name>",
      "config": "<config>"
    },
    "name": "segnals_create_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesStrategy name
configYesStrategy configuration, nested as segnals_get_bot shows it, e.g. { TRADING_PARAMS: { LEVERAGE: 3 }, STOP_LOSS: { VALUE_PCT: 2 } }. Settings it does not name keep the platform default.
accountNoThe account to act on. Optional: this program holds one account, "default".
confirmNoSet to true to execute after previewing
exchangeYesExchange for the strategy

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / account
      Added value: +{
      +  "description": "The account to act on. Optional: this program holds one account, \"default\".",
      +  "type": "string"
      +}
    • changedInput schema / properties / config / description
      Previous value: -"Full strategy configuration"New value: +"Strategy configuration, nested as segnals_get_bot shows it, e.g. { TRADING_PARAMS: { LEVERAGE: 3 }, STOP_LOSS: { VALUE_PCT: 2 } }. Settings it does not name keep the platform default."
    • addedInput schema / properties / config / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the required write:strategies scope, the two-step preview/commit protocol, the orchestration order, and the resulting bot state ('stopped'). It also warns against embedding exchange API keys/secrets in config, a genuine safety behavior an agent would not otherwise infer. Remaining gaps are failure/validation-error behavior and whether re-creating with a duplicate name is rejected.

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?

Front-loaded with the verb and resource, then the scope requirement, then the confirmation protocol as a labeled block. Every sentence carries information an agent needs. Minor redundancy: the confirm behavior is stated in the description and echoed in the schema's confirm field, and the ordering of the security warning last is slightly buried.

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?

For a mutating, nested-config orchestration tool with no output schema, the definition covers prerequisites, safety, and lifecycle state but says nothing about what the preview returns (validation errors? a diff?) or what a successful creation returns (bot ID for later control calls). An agent can call it correctly but cannot plan the follow-up step from this description alone.

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 baseline is 3, but the description adds real meaning beyond the schema: it explains that omitting confirm produces a validation preview rather than a creation, which is more than the terse schema note conveys, and it constrains the free-form config object with a security rule about secrets. The nested config example and default-preservation rule live in the schema, not the description, so it does not need to repeat them.

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 ("Create a fully configured trading strategy (bot + config)") and clarifies the composite nature by naming the sub-operations it orchestrates (create bot → apply full config), which implicitly distinguishes it from the lower-level create_bot sibling. It stops short of explicitly contrasting with siblings like segnals_copy_strategy or segnals_create_bot, so it is clear but not fully differentiated.

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 concrete operational guidance for the two-step flow: call without confirm to preview and validate, call with confirm: true to create. That is real when-to-do-what guidance for the main branching decision. It does not say when an agent should prefer this tool over the sibling create_bot plus config-application path, nor any prerequisites beyond the required scope.

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