Skip to main content
Glama

My trading routine progress

get_trading_routine
Read-only

Where the user is in their 5-step trading routine today (shown on /routine): 1) weekly backtest of the setup (pairs that passed), 2) today's daily trading plan, 3) active price alerts on the plan's pairs, 4) today's MT5 orders checked for missing SL / off-plan / off-playbook pairs / over risk budget, 5) last weekly review. Each step has state done | warn | todo | idle and nextStep names what to do next. Call it at the start of a trading session and only propose trades on steps.measure.passedSymbols when that list is non-empty. Read-only. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_trading_routine"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds substantial context beyond them: the step state vocabulary (done | warn | todo | idle), the presence of a nextStep field, and full auth requirements including how to create a SocialForex token at /mt5 and the exact Authorization header format. This is exactly the operational detail an agent needs before calling.

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-loads the identity and the five-step enumeration, then moves to call timing, the gating rule, and auth. It is dense but each clause carries operational value; the auth instructions are slightly verbose but arguably necessary for first-time use.

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

Completeness5/5

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

No output schema exists, so the description must convey the return shape, and it does: step states, nextStep, and the key passedSymbols list. Combined with auth requirements and call timing, an agent has everything needed to invoke and interpret this tool correctly.

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?

With zero parameters the baseline is 4, and the description adds value by naming the returned field steps.measure.passedSymbols even though no output schema exists. It does not fully document the shape of each step object, so it stays at baseline rather than exceeding it.

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 (returns the user's position in a 5-step trading routine) and enumerates the five steps, making the scope unambiguous. It does not explicitly differentiate itself from nearby siblings such as get_growth_plan or record_backtest_result, so it stops short of a 5.

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 explicit timing guidance ('call it at the start of a trading session') plus a hard gating rule (only propose trades on steps.measure.passedSymbols when non-empty). No when-not-to-use or named alternative is given, keeping it at 4.

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