Skip to main content
Glama

Save today's trading plan

save_daily_plan

Create or update the user's Daily Trading Plan for TODAY (UTC date — the same day the place-order no_plan guard checks). Step 2 of the /routine. Typical flow: read the 4-timeframe bias per pair from TradingView (get-symbol-data-batch with Recommend.All|15/60/240 + Recommend.All, ADX, Stoch), keep pairs aligned on all 4 timeframes that are not at an oscillator extreme, then save them here with a key level (pullback entry zone / invalidation). Pairs are MERGED into an existing plan by symbol (the user's own pairs are kept); other fields are only changed when passed. Never ticks the user's self-check boxes. Show the user the plan you saved. Requires a personal SocialForex API token. Create one at /mt5 (section "Connect an AI assistant (MCP)") and add it to the MCP client as header Authorization: Bearer sfmcp_....

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": {
      "symbolPlans": "<symbolPlans>"
    },
    "name": "save_daily_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
maxTradesNo
newsToAvoidNo
symbolPlansYes
sessionFocusNo
maxRiskPercentNoMax total risk % of equity for the day

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare it is a non-read-only, non-destructive local write; the description goes far beyond that with merge semantics ('Pairs are MERGED into an existing plan by symbol; other fields are only changed when passed'), an explicit exclusion ('Never ticks the user's self-check boxes'), and the auth requirement including the exact header format. That is exactly the kind of destructive/partial-update context an agent needs before calling a mutation 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?

Front-loaded with the core write semantics, then the routine context, then the merge/auth constraints — the ordering is sensible and nearly every sentence carries operational information. It is dense and longer than most, but the length is mostly justified; the MCP token setup instructions are the one block that could be deferred to an error message.

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 a mutation tool with no output schema and low schema coverage, the description covers the hard parts: merge vs. overwrite behavior, what is left untouched, the date semantics that tie it to order placement, and auth. It falls short only on the un-narrated scalar fields (maxTrades, maxRiskPercent, sessionFocus) and the plan-size limit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17% across 6 parameters, so the description must carry the load and largely does not. It conveys symbol-level concepts (bias from the 4TF read, keyLevels as pullback entry zone / invalidation) but says nothing about maxTrades, maxRiskPercent, notes, newsToAvoid, or sessionFocus, nor about the 12-item cap on symbolPlans.

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

Purpose5/5

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

States a specific verb and resource with its exact scope: 'Create or update the user's Daily Trading Plan for TODAY (UTC date)'. It also ties the resource to the downstream `no_plan` guard, so an agent knows precisely which object this writes and why the date matters.

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

Usage Guidelines5/5

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

Explicitly places itself as 'Step 2 of the /routine' and prescribes the upstream flow (`get-symbol-data-batch` with Recommend.All|15/60/240, ADX, Stoch, keeping pairs aligned on all 4 timeframes). It gives a concrete inclusion criterion (skip pairs at an oscillator extreme) and a post-condition ('Show the user the plan you saved'), leaving little to infer.

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.