Skip to main content
Glama

SignalForge AI SFConnect

send_signal

Submit a trading signal to YOUR EA (phase 2). dry_run=true (default) only validates and previews the payload without sending anything. Sending live (dry_run=false) needs a key with the trade scope (read keys get scope_required). Requires a plan with trading; lot 0 = EA sizing; symbol and action are validated server-side. Cap: 10/min. Pass idempotency_key when retrying: the same key within 24 h is not sent twice (duplicate: true). closebuy/closesell are non-directional aliases: they close ALL positions of the symbol; use close with side for one direction.

Input Schema

NameRequiredDescriptionDefault
slNoRead in the account's SL/TP mode (Pips by default): a distance, not a price, unless sltp_mode is price. On modify the distance runs from the current price, -1 removes the level and 0 leaves it as it is.
tpNoRead in the account's SL/TP mode (Pips by default): a distance, not a price, unless sltp_mode is price. On modify the distance runs from the current price, -1 removes the level and 0 leaves it as it is.
lotNo0 = the EA sizes from account risk
tp1No
tp2No
tp3No
tp4No
tp5No
sideNobuy/sell (directional close or cancel filter)
priceNoEntry price (pendings/replace)
actionYes
sl_pctNoStop loss as % of the entry price (0-50)
symbolYes
tp_pctNoTake profit as % of the entry price (0-50)
commentNo
dry_runNo
percentNoPartial close percent (close)
trailingNo
tsl_distNoTrailing distance from the price, in points. Left out = the account's value. Needs tsl_trigger.
tsl_stepNoMinimum move of the stop before it is updated, in points. Left out = the account's value. Needs tsl_trigger.
breakevenNo
entry_pctNo
sltp_modeNoprice = sl and tp of THIS signal are absolute prices, whatever the account's SL/TP mode says. On entries it needs EA v4.06 or newer; on modify, any EA.
account_idNoYour account id (the id returned by accounts)
entry_pipsNo
order_typeNoPending type filter (cancel/replace)
tsl_triggerNoTrailing for the position this signal opens: profit in points at which it starts. Greater than 0. Entries only; a modify cannot change it.
idempotency_keyNoOptional; same key within 24 h = not sent again

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the minimal annotations, the description discloses the dry-run preview behavior, live auth scope requirements, plan prerequisite, server-side validation, a 10/min rate cap, and 24-hour idempotency duplicate semantics. It also clarifies the destructive scope of closebuy/closesell, which is exactly the kind of behavioral context an agent needs before invoking a trading tool.

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?

The description is dense and front-loads the core purpose before moving into operational constraints. It is efficient and mostly earns its length, but the single-paragraph form makes several independent rules harder to scan than they could be.

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 28-parameter mutation tool with no output schema and partial schema coverage, the description covers operational safety and key side effects well. It does not fully explain the action enum, many numeric parameters, or what a successful response contains beyond the duplicate indicator, so it remains incomplete for the tool's complexity.

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?

The description adds important meaning for dry_run, lot, idempotency_key, close aliases, and symbol/action validation. However, with 28 parameters and only 54% schema description coverage, many parameters such as tp1–tp5, trailing, breakeven, entry_pct, and entry_pips, as well as most action enum values, remain unexplained by either the schema or the description.

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 states a specific verb and resource: submit a trading signal to YOUR EA. That clearly separates it from read-oriented siblings such as accounts, ea_status, recent_signals, and signal_detail, though it does not explicitly name those siblings.

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?

It gives explicit operating conditions: dry_run=true previews only, live sending needs a trade-scoped key, and a trading plan is required. It also explains when to use idempotency_key and when to prefer close with side over closebuy/closesell, though most other action choices are not similarly explained.

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