Developer-tools MCP server

tradememory-protocol

Version history of discovered tools, schemas, and declared agent authority.

View watchlist

DistributionDistribution: PyPI
Packagetradememory-protocol
Latest analyzed version0.5.6
Current tool count20
Latest analysisNov 16, 2026
Package source

OBSERVED INTERFACE

Capability surface

Modelara’s observed declarations are shown separately from its derived effect classifications.

3 releases analyzed0.5.4 → 0.5.6Latest: 0.5.6
  • read9
  • write11
  • destructive0
  • unknown0

Unknown means Valyd could not determine the capability's effect confidently from the declared interface and static evidence. It is not treated as safe.

Package
tradememory-protocol@0.5.6
Registry
pypi
Published
Oct 2, 2026
Integrity
sha256-sqOTORPZSnjMHI67EFp2zGUtKihTgP6RPdwH/gYO2rc=
Analyzer
modelara v0.1.8 · policy not recorded
Repository
https://github.com/mnemox-ai/tradememory-protocol

20 capabilities

CapabilityTypeDerived effectFirst observed in Valyd coverageLast changed
check_active_plansmnemox-ai-tradememory-protocol:tool:check_active_plans
Observed interface and hashes

Check active trading plans against current market context. Queries all active prospective plans, expires any past their expiry date, and matches remaining plans against the provided context.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "context_atr_d1": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Current ATR(14) on D1 in dollars"
    },
    "context_regime": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Current market regime (trending_up/trending_down/ranging/volatile)"
    }
  },
  "type": "object"
}
sha256:328a3c156815b3a80caaacee2a70735f7aff57940e7f6496d6359c09ec180607

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:0be0c96e86f73fe71d3321757c45ee93777292d9b8c788c444104a4ec4e34048

Interface hash: sha256:a050242ffc0bc2357a8b6fcb8fd5c5591758236aeeee66cab349e8d073664e41

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/check_active_plans",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "check_active_plans"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:2908d3faeb67a57283e6d9a3345d8c23c87ae8174ed1c7decf68802bc82ad5ab"
}
toolwrite0.5.40.5.6
check_trade_legitimacymnemox-ai-tradememory-protocol:tool:check_trade_legitimacy
Observed interface and hashes

Check if the agent has sufficient data and confidence to trade. Call this before making any trade decision. Evaluates sample size, memory quality, regime experience, streak state, and drawdown to determine whether the agent has earned the right to trade at full size.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "current_atr_d1": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Current ATR(14) on D1 in dollars (informational)."
    },
    "current_regime": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Current market regime (trending_up/trending_down/ranging/volatile)."
    },
    "strategy_name": {
      "description": "Strategy to evaluate (e.g. \"VolBreakout\").",
      "type": "string"
    },
    "symbol": {
      "default": "XAUUSD",
      "description": "Trading instrument (default \"XAUUSD\").",
      "type": "string"
    }
  },
  "required": [
    "strategy_name"
  ],
  "type": "object"
}
sha256:a14e0887ed47a52c29afc2a03142467db01fb85c287e30b302391142f4a230c6

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:9e8ee7d2df7f35875c2a84b8a365b1148bf88d1bc1afa3908f879ff3fa9c3b90

Interface hash: sha256:6400388f18dbd2ddf175d67e399c904fda8de20d9a2ec1f8a0ebe62c9e77ae3b

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/check_trade_legitimacy",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "check_trade_legitimacy"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:1a8104a69aada73fd04241d8c8f429d941811030a2398210ac0902dae67f4883"
}
toolwrite0.5.40.5.6
compute_dqsmnemox-ai-tradememory-protocol:tool:compute_dqs
Observed interface and hashes

Compute Decision Quality Score before executing a trade. Evaluates the quality of the decision *process* (not outcome) across 5 factors: regime match, position sizing vs Kelly, process adherence (OWM similarity), risk state, and historical pattern.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "context_atr_d1": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ATR(14) on D1 in dollars."
    },
    "context_regime": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Market regime (trending_up/trending_down/ranging/volatile)."
    },
    "direction": {
      "description": "Intended direction (\"long\" or \"short\").",
      "type": "string"
    },
    "market_context": {
      "default": "",
      "description": "Description of current market conditions.",
      "type": "string"
    },
    "proposed_lot_size": {
      "default": 0.1,
      "description": "Planned position size in lots (default 0.1).",
      "type": "number"
    },
    "strategy_name": {
      "description": "Strategy being considered (e.g. \"VolBreakout\").",
      "type": "string"
    },
    "symbol": {
      "description": "Trading instrument (e.g. \"XAUUSD\").",
      "type": "string"
    }
  },
  "required": [
    "symbol",
    "strategy_name",
    "direction"
  ],
  "type": "object"
}
sha256:fb9f085997b8e0a1588105dbd136bc1a4b9298713b788b25a719bba461d4649c

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:8c64b1f91e1d2be97ba598bc73616d8c10ca57240bd45c64c55d7049ba5cd2cb

Interface hash: sha256:f07a03a326776e785b2a7eecd389748088a3b9d2e1afd6df3aa7979293cc799d

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/compute_dqs",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "compute_dqs"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:4fcbc61ec27f85889963b2912a02e308573266a6cd971e3ea5f454efb4d3b7c6"
}
toolwrite0.5.40.5.6
create_trading_planmnemox-ai-tradememory-protocol:tool:create_trading_plan
Observed interface and hashes

Create a prospective trading plan that activates when conditions are met. Stores a rule-based plan in prospective memory. The plan stays active until triggered, expired, or manually cancelled.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "expiry_days": {
      "default": 30,
      "description": "Days until plan expires (default 30)",
      "type": "integer"
    },
    "planned_action": {
      "description": "JSON string describing what to do (e.g. '{\"type\": \"skip_trade\"}')",
      "type": "string"
    },
    "priority": {
      "default": 0.5,
      "description": "Priority 0-1, higher = checked first (default 0.5)",
      "type": "number"
    },
    "reasoning": {
      "description": "Why this plan was created",
      "type": "string"
    },
    "trigger_condition": {
      "description": "JSON string describing when to trigger (e.g. '{\"regime\": \"ranging\"}')",
      "type": "string"
    },
    "trigger_type": {
      "description": "Type of trigger (e.g. \"market_condition\", \"drawdown\", \"time_based\")",
      "type": "string"
    }
  },
  "required": [
    "trigger_type",
    "trigger_condition",
    "planned_action",
    "reasoning"
  ],
  "type": "object"
}
sha256:76edd11c443eb68b60af9b384d230a530bb74582b7081b06cbbfb88727897b73

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:b5ae2a9c5c718e53458a3dc799c428548856638866d5eb1949bc332358b74196

Interface hash: sha256:a3bbef7680c967464eda333dffee1ef4f5ff3ce822a712a47086efcc9a5d3576

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/create_trading_plan",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "create_trading_plan"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "false",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:71918033e2e29d93fce4ef9799b801f380ac818b5b0739224d2297765ec96596"
}
toolwrite0.5.40.5.6
evolution_discover_patternsmnemox-ai-tradememory-protocol:tool:evolution_discover_patterns
Observed interface and hashes

Discover trading patterns from market data using LLM analysis. Uses Claude to analyze OHLCV data and generate candidate trading patterns with entry/exit conditions. Each pattern can be backtested afterward.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "count": {
      "default": 5,
      "description": "Number of patterns to generate (default 5)",
      "type": "integer"
    },
    "days": {
      "default": 90,
      "description": "Days of history to analyze (default 90)",
      "type": "integer"
    },
    "symbol": {
      "description": "Trading pair (e.g. \"BTCUSDT\")",
      "type": "string"
    },
    "temperature": {
      "default": 0.7,
      "description": "LLM creativity 0-1 (default 0.7, higher = more diverse)",
      "type": "number"
    },
    "timeframe": {
      "default": "1h",
      "description": "Bar timeframe — \"5m\", \"15m\", \"1h\", \"4h\", \"1d\"",
      "type": "string"
    }
  },
  "required": [
    "symbol"
  ],
  "type": "object"
}
sha256:53a8cb63dcc29046242d72e4e4314f84754b4647b888fa72ca496197ae6a568f

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:f6a32980d324e2f078fd7e21084252616cd6efdc0a3c8d01002070142fe4c34c

Interface hash: sha256:5fecd09753d8e9c30bb8ccd6fe0a6c6742c7b11041fb1ac9f3ea1b5c54078153

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/evolution_discover_patterns",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "evolution_discover_patterns"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "false",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:7e39a840a464eeb256d954581bb4c0392644526a22685fafb12182bf6c7c1960"
}
toolwrite0.5.40.5.6
evolution_evolve_strategymnemox-ai-tradememory-protocol:tool:evolution_evolve_strategy
Observed interface and hashes

Run full evolution loop — generate, backtest, select, eliminate. Multi-generation strategy evolution: generates candidate patterns via LLM, backtests on in-sample data, validates survivors on out-of-sample data, eliminates weak hypotheses. Returns graduated strategies and graveyard.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "days": {
      "default": 90,
      "description": "Days of history to use (default 90)",
      "type": "integer"
    },
    "generations": {
      "default": 3,
      "description": "Number of evolution generations (default 3)",
      "type": "integer"
    },
    "population_size": {
      "default": 10,
      "description": "Hypotheses per generation (default 10)",
      "type": "integer"
    },
    "symbol": {
      "description": "Trading pair (e.g. \"BTCUSDT\")",
      "type": "string"
    },
    "timeframe": {
      "default": "1h",
      "description": "Bar timeframe — \"5m\", \"15m\", \"1h\", \"4h\", \"1d\"",
      "type": "string"
    }
  },
  "required": [
    "symbol"
  ],
  "type": "object"
}
sha256:cbe699940c5a6fc7690b13d79a6055e8590c79bb1b19ce8fb35c286153babb33

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:b1371ef25d2a88b0e2ca7b7a34d6e83ec821ff9b9237093f75515b1783687625

Interface hash: sha256:5d6955f344e0cf61bab8d44e2c261ae9b671d217bd31cba51a75f0640586362d

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/evolution_evolve_strategy",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "evolution_evolve_strategy"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "false",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:9e0f5371ff0ff8de7e8afd077b3c3129abe0c55ae9d5abdcbd238efa151fcecd"
}
toolwrite0.5.40.5.6
evolution_fetch_market_datamnemox-ai-tradememory-protocol:tool:evolution_fetch_market_data
Observed interface and hashes

Fetch OHLCV market data from Binance for evolution analysis. Downloads historical price bars for backtesting and pattern discovery. Use this before discover_patterns or run_backtest to get data.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "days": {
      "default": 90,
      "description": "Number of days of history to fetch (default 90)",
      "type": "integer"
    },
    "symbol": {
      "description": "Trading pair (e.g. \"BTCUSDT\", \"ETHUSDT\")",
      "type": "string"
    },
    "timeframe": {
      "default": "1h",
      "description": "Bar timeframe — \"5m\", \"15m\", \"1h\", \"4h\", \"1d\"",
      "type": "string"
    }
  },
  "required": [
    "symbol"
  ],
  "type": "object"
}
sha256:4ff7a73a6cced600d4e4c2d1cc2977fe419bd734fede57b733a49292dbf1c202

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:28caf952e31d6d3310fa65be54a36efa52f2bb9d054354d15291fc3f05386165

Interface hash: sha256:07ce60a6f6a7e5a1b27f7f427ed156cbb0c73e8e868ff3760404e3705ca47a32

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/evolution_fetch_market_data",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "evolution_fetch_market_data"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:7bc53f2ba7f75c626994df8d657b150b0aa2f25a673f5a68d8ade8aae82c0858"
}
toolwrite0.5.40.5.6
evolution_get_logmnemox-ai-tradememory-protocol:tool:evolution_get_log
Observed interface and hashes

Get the log of past evolution runs from this session. Returns a list of all evolution runs with their results, including graduated strategies, graveyard, token usage, and backtest counts. Data is in-memory (resets on server restart).

Input schema

{
  "additionalProperties": false,
  "properties": {},
  "type": "object"
}
sha256:fc182e1a69a66dadc6c6ee98df9606d1d4fd90fb51b082083aaa8c230cb4765c

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:c19515ab2f9e0dac13ee95f239431382ee9f24c3c4ba5b796f8874d336f574e6

Interface hash: sha256:7fee86e00090804438776f64a7eee1fe3867ccfcb2ac9c517d2d5e5b8687b534

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/evolution_get_log",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "evolution_get_log"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:77e9e1fb689835045e337d0da0a6679e8818f1c4aadbc26a7fe9d18b1bd2f275"
}
toolread0.5.40.5.6
evolution_run_backtestmnemox-ai-tradememory-protocol:tool:evolution_run_backtest
Observed interface and hashes

Backtest a candidate pattern against historical OHLCV data. Takes a pattern dict (from discover_patterns) and runs a vectorized backtest. Returns fitness metrics: Sharpe ratio, win rate, trade count, max drawdown, total PnL.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "days": {
      "default": 90,
      "description": "Days of history to backtest against (default 90)",
      "type": "integer"
    },
    "pattern_dict": {
      "additionalProperties": true,
      "description": "CandidatePattern as dict (from discover_patterns output)",
      "type": "object"
    },
    "symbol": {
      "default": "BTCUSDT",
      "description": "Trading pair (e.g. \"BTCUSDT\")",
      "type": "string"
    },
    "timeframe": {
      "default": "1h",
      "description": "Bar timeframe — \"5m\", \"15m\", \"1h\", \"4h\", \"1d\"",
      "type": "string"
    }
  },
  "required": [
    "pattern_dict"
  ],
  "type": "object"
}
sha256:61de1d0f9ff341a43aaee689f4e64ccd430e9e432a98ccf00148e7a833071f18

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:5e6e0fd0aebf69612be02746562d8270f45695e535126e5646458c7f71f7a194

Interface hash: sha256:11d6c79c3c4924cd7f0d1dd89b9198639a370bed82377e0ea1544b2c20a18cc8

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/evolution_run_backtest",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "evolution_run_backtest"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:f529b0ee061cb8dca1a4dcf298f45d606a3160f6c02c8206861bdea006bae89e"
}
toolwrite0.5.40.5.6
export_audit_trailmnemox-ai-tradememory-protocol:tool:export_audit_trail
Observed interface and hashes

Export Trading Decision Records for audit and compliance review. Provides a complete, tamper-evident record of trading decisions including the memory context (similar trades, beliefs) that informed each decision.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "End date (ISO format, exclusive). E.g., \"2026-04-01\"."
    },
    "limit": {
      "default": 50,
      "description": "Maximum records to return (default 50).",
      "type": "integer"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Start date (ISO format, inclusive). E.g., \"2026-03-01\"."
    },
    "strategy": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Filter by strategy name (e.g., \"VolBreakout\")."
    },
    "trade_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Get a single TDR by trade ID (e.g., \"MT5-7047640363\").\nIf provided, other filters are ignored."
    }
  },
  "type": "object"
}
sha256:a77a6ed0fcdd9e46eb5baa41e2a99ce3b2e722693316b656a3b349e38f3b3f70

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:5465fd4d7998572806fee141314fb4ba596ddc34beb02445814bf7d95e44a7c3

Interface hash: sha256:282577fd6b55e8314e5226bf6b032aad9c5621e8047e0ca41e010659d55fcb4b

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/export_audit_trail",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "export_audit_trail"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:34ffe0ef13e8c450a27523db008ae0aadb687473bfbf80ef9a4aa4a67e3acea3"
}
toolread0.5.40.5.6
get_agent_statemnemox-ai-tradememory-protocol:tool:get_agent_state
Observed interface and hashes

Get the current agent affective state (confidence, risk, drawdown). Returns confidence level, risk appetite, drawdown percentage, win/loss streaks, equity tracking, and a recommended action based on current drawdown severity.

Input schema

{
  "additionalProperties": false,
  "properties": {},
  "type": "object"
}
sha256:fc182e1a69a66dadc6c6ee98df9606d1d4fd90fb51b082083aaa8c230cb4765c

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:fcf404f7c244a046f5ecc0fe4a95faca044fec3255872ecb6727a0175ac9afea

Interface hash: sha256:fae029e2c7043951fcddd1270c3f456935c512a28cd8621b124f3f5388387436

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/get_agent_state",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "get_agent_state"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:4e36378e537e3c392628c7d89d826c8615c489ccf215b41cc8038e1d85b401f7"
}
toolread0.5.40.5.6
get_behavioral_analysismnemox-ai-tradememory-protocol:tool:get_behavioral_analysis
Observed interface and hashes

Get behavioral analysis from procedural memory. Returns aggregate trading behavior stats: hold times, disposition ratio, lot sizing variance, and Kelly criterion comparison.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "strategy_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Filter by strategy name. Returns all if omitted."
    },
    "symbol": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Filter by symbol. Returns all if omitted."
    }
  },
  "type": "object"
}
sha256:bf9fedf1ffdb3631b916a9d7d0ddb4f5bcbf07eed7d1a19fe434dda67b3e1c54

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:43cb27036cd125a2e550ea45665451de31baba84703bc5d43c7525fa8c19e6d3

Interface hash: sha256:0f73dd498e83156cc8204d07d7f1b1112c6939b3d4955be7773807c16a7312ef

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/get_behavioral_analysis",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "get_behavioral_analysis"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:45a264a274d91272a6257ded414e151a9f4b79de1d8c417977d30cf6079af635"
}
toolread0.5.40.5.6
get_daily_rootmnemox-ai-tradememory-protocol:tool:get_daily_root
Observed interface and hashes

Get (or rebuild) the daily Merkle root for a UTC date. The Merkle root summarises every audit_chain entry whose `chained_at` falls inside the UTC day. Verifying this single 32-byte root proves the integrity of every TDR for that day without re-walking each one.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "date": {
      "description": "Date in YYYY-MM-DD format (or full ISO datetime).",
      "type": "string"
    },
    "include_token": {
      "default": false,
      "description": "If True, include a base64-encoded `tsa_token`\nin the response (default False — the token can be large).",
      "type": "boolean"
    },
    "rebuild": {
      "default": false,
      "description": "If True, recompute and overwrite the stored root.",
      "type": "boolean"
    },
    "request_tsa": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Whether to submit the rebuilt root to the configured\nRFC 3161 TSA (default freetsa.org) and store the returned\nTimeStampToken. None (default) follows the TRADEMEMORY_TSA env\nsetting — ON unless set to \"off\". TSA failures are logged but\ndo not abort the rebuild."
    }
  },
  "required": [
    "date"
  ],
  "type": "object"
}
sha256:0e721cefeeb45e1e87de580a64fec8272aea3f5a03984c41b738c81cb14576df

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:b0182e6983f2e0448085fc27f7ff4a695ad2a3d0d5a778632ec485dd02821362

Interface hash: sha256:0d13806b6697776e5c9ab543a602d79e86f2a5f8278d0e8244f2e80875a7b9d7

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/get_daily_root",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "get_daily_root"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "true"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:8ae0014852d69ce0fa0c6c60d750e2834ae1dcc99bbfc6f76e39bd790f4c0dd4"
}
toolwrite0.5.40.5.6
get_strategy_performancemnemox-ai-tradememory-protocol:tool:get_strategy_performance
Observed interface and hashes

Get aggregate performance stats per strategy. Use this to evaluate which strategies are working and which need adjustment.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "strategy_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Filter by strategy name. Returns all strategies if omitted."
    },
    "symbol": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Filter by symbol. Returns all symbols if omitted."
    }
  },
  "type": "object"
}
sha256:d0d9697bafe45ad80a45e70a5472d1c21a8eebecb02fdd3c91a882a246c025a9

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:891d1d65c1560d4b8f5aa2d85211d428e19949c2425a494012177db56257a052

Interface hash: sha256:d93380b72ea855c4e3e85de217d5e3a330d18ab399fbd9479a7a4ecb19416b9f

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/get_strategy_performance",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "get_strategy_performance"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:74d131539d5860682fb78822563ae494e210ecc08146c0bc44f8cf5109a67da8"
}
toolread0.5.40.5.6
get_trade_reflectionmnemox-ai-tradememory-protocol:tool:get_trade_reflection
Observed interface and hashes

Get the full context and reflection for a specific trade. Use this to deep-dive into a particular trade's reasoning and lessons.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "trade_id": {
      "description": "The trade ID to look up",
      "type": "string"
    }
  },
  "required": [
    "trade_id"
  ],
  "type": "object"
}
sha256:7816d257f6fdc0902382a472e065cc19f48daf85d3abb6d6f20541780ce04a31

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:e3049b716250b455352ee3b8ad2c3ab1f0c29670469933476e42aeeae701d9cb

Interface hash: sha256:ba34b551f42e1a8d91bd1958271f30bd7942ca534f4961782ef4d3df5538aa00

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/get_trade_reflection",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "get_trade_reflection"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:14f5b2dc15092347c7c9597df143da85ee326ff5fcf826e8747bf5ee6a555c34"
}
toolread0.5.40.5.6
recall_memoriesmnemox-ai-tradememory-protocol:tool:recall_memories
Observed interface and hashes

Recall memories using OWM outcome-weighted scoring. Queries episodic and semantic memories, scores them by outcome quality, context similarity, recency, confidence, and affective modulation. Returns ranked memories with score breakdown. Use order="losses_first" right before placing a trade: losing trades taken in similar conditions rank first, and the current mood (a losing streak) no longer pushes them down.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "context_atr_d1": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Current ATR(14) on D1 in dollars"
    },
    "context_regime": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Current market regime (trending_up/trending_down/ranging/volatile)"
    },
    "hybrid_alpha": {
      "default": 0.3,
      "description": "Vector vs OWM blend weight [0..1] when hybrid is active.\n0.0 = pure OWM, 1.0 = pure vector. Default 0.3 (OWM-dominant).",
      "type": "number"
    },
    "limit": {
      "default": 10,
      "description": "Max results (default 10)",
      "type": "integer"
    },
    "market_context": {
      "description": "Current market conditions to match against",
      "type": "string"
    },
    "memory_types": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Types to query (default: [\"episodic\", \"semantic\"])"
    },
    "order": {
      "default": "outcome",
      "description": "\"outcome\" (default): better outcomes rank higher (by R\nmultiple, where one was recorded), and at least 20% of the\nresults are losses. \"losses_first\": every losing trade comes\nbefore anything else, the bigger losses in similar conditions\nfirst; the symbol's recent losing trades are searched as well as\nits recent trades. For a pre-trade check.",
      "type": "string"
    },
    "strategy_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional strategy filter"
    },
    "symbol": {
      "description": "Trading instrument (e.g. \"XAUUSD\")",
      "type": "string"
    },
    "use_hybrid": {
      "default": true,
      "description": "If True (default), enable vector + OWM hybrid scoring when\nan embedding backend is available. Falls back to pure OWM silently\nwhen sentence-transformers is not installed.",
      "type": "boolean"
    }
  },
  "required": [
    "symbol",
    "market_context"
  ],
  "type": "object"
}
sha256:7dfeb9982b8608c43b6141e516d9e844966c6917acec26097f82a877bd0833f1

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:8134523066ebfc8cb72c4bbc02dc2c1342626fd63476c3e587c039fd8c49b91e

Interface hash: sha256:933411c5bf49f552aab0ed1f719b90101dd13e79e69670b2894b27913c183630

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/recall_memories",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "recall_memories"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:5c619f646f4c838d5bb1b519fd13f53770ff3b16351cd6a3f512743e4723c5a4"
}
toolwrite0.5.40.5.6
remember_trademnemox-ai-tradememory-protocol:tool:remember_trade
Observed interface and hashes

Store a trade into OWM multi-layer memory with automatic updates. Writes to episodic memory and automatically updates semantic (Bayesian), procedural (running averages + hold time + Kelly), and affective (EWMA confidence/streaks). Also writes to trade_records for backward compatibility.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "confidence": {
      "default": 0.5,
      "description": "Agent confidence level 0-1 (default 0.5)",
      "type": "number"
    },
    "context_atr_d1": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ATR(14) on D1 in dollars"
    },
    "context_regime": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Market regime (trending_up/trending_down/ranging/volatile)"
    },
    "direction": {
      "description": "\"long\" or \"short\"",
      "type": "string"
    },
    "entry_price": {
      "description": "Entry price of the trade",
      "type": "number"
    },
    "entry_timestamp": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO format entry time. Used to compute hold duration."
    },
    "exit_price": {
      "description": "Exit price of the trade",
      "type": "number"
    },
    "exit_timestamp": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO format exit time. Used to compute hold duration."
    },
    "lot_size": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Position size (lots, shares or contracts). Without it,\npatterns such as sizing up after a losing streak cannot be seen."
    },
    "market_context": {
      "description": "Description of market conditions",
      "type": "string"
    },
    "max_adverse_excursion": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Maximum adverse excursion during the trade"
    },
    "pnl": {
      "description": "Profit/loss in account currency",
      "type": "number"
    },
    "pnl_r": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "P&L as R-multiple (risk units). Improves OWM scoring quality."
    },
    "reflection": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Lessons learned from this trade"
    },
    "strategy_name": {
      "description": "Strategy used (e.g. \"VolBreakout\")",
      "type": "string"
    },
    "symbol": {
      "description": "Trading instrument (e.g. \"XAUUSD\")",
      "type": "string"
    },
    "timestamp": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "ISO format timestamp. Defaults to now (UTC)."
    },
    "trade_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional custom ID. Auto-generated if omitted."
    }
  },
  "required": [
    "symbol",
    "direction",
    "entry_price",
    "exit_price",
    "pnl",
    "strategy_name",
    "market_context"
  ],
  "type": "object"
}
sha256:d59ef40e8d7118b78a9f19dece4ee6d34a72756a7fe38be02dbd016ebea44542

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:15bce1cc84851f56bebe19b72c2cddeb98b6b1230dbeace3f63abe6f072140d9

Interface hash: sha256:78b2d2b112f55e0e454adcb1abf37e95a43c1eadf1616b5e22f29de79176d3e4

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/remember_trade",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "remember_trade"
  },
  "declared": {
    "read_only": "false",
    "destructive": "false",
    "idempotent": "false",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "false",
    "retry_safe": "false"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:74ff089de45521c866fb208996388fafa5ba11b4a9ddb8e2fe23581873ba6ab8"
}
toolwrite0.5.40.5.6
validate_strategymnemox-ai-tradememory-protocol:tool:validate_strategy
Observed interface and hashes

Validate a trading strategy using statistical tests (DSR + Walk-Forward + Regime + CPCV). For educational and research purposes only. Not financial advice. Upload a trade log CSV (QuantConnect format) or daily returns CSV. The tool runs four statistical tests: 1. Deflated Sharpe Ratio (DSR) — detects overfitting from multiple testing 2. Walk-Forward Validation — checks out-of-sample consistency 3. Regime Analysis — performance across bull/bear/crisis markets 4. CPCV — cross-validated Sharpe stability across time periods

Input schema

{
  "additionalProperties": false,
  "properties": {
    "file_path": {
      "description": "Absolute path to the CSV file on your local machine.",
      "type": "string"
    },
    "format": {
      "default": "quantconnect",
      "description": "CSV format — \"quantconnect\" for trade logs (columns: Entry Time, Exit Time,\n    Direction, Entry Price, Exit Price, Quantity, P&L, Fees, IsWin) or\n    \"returns\" for daily returns (columns: date,return or single column of returns).",
      "type": "string"
    },
    "num_strategies": {
      "default": 1,
      "description": "How many strategies you tested before picking this one.\n            Higher M = stricter DSR threshold (corrects for selection bias).",
      "type": "integer"
    },
    "strategy_name": {
      "default": "",
      "description": "Name of the strategy (for the report).",
      "type": "string"
    }
  },
  "required": [
    "file_path"
  ],
  "type": "object"
}
sha256:87315a6a2d28986989291975398140b0ad5c0e0ea10a5062e8b4d977bb1506c7

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:64279a4ede7d17279d227f0fedea85b05259fadaafef097a14b68a612242a325

Interface hash: sha256:f9891a161b17411e356909e26f01ed56d1b995a7b097245ef122af65871c380a

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/validate_strategy",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "validate_strategy"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:e1c2d7c31e7b6f0948be6364da53d25fc88974dd50bde8ed886b8de139eebc19"
}
toolread0.5.40.5.6
verify_audit_chainmnemox-ai-tradememory-protocol:tool:verify_audit_chain
Observed interface and hashes

Verify the integrity of the audit chain. Walks the chain from `from_seq` (default: 1, the genesis record) to `to_seq` (default: latest), checking that every record's `prev_hash` matches the previous record's `data_hash`, and that each `data_hash` equals SHA256(prev_hash || content_hash). Returns a dict with `verified`, `checked_count`, `first_break_at`, `reason`. A `first_break_at` of None with `verified=True` means the chain is intact across the verified range.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "from_seq": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Starting sequence_num (inclusive). None = from beginning."
    },
    "to_seq": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Ending sequence_num (inclusive). None = through latest."
    }
  },
  "type": "object"
}
sha256:f4de49c613a8c23a2a2d5fbea3fba004c78684829c8650e607b14a0e8b318eab

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:8fd8fe3c6304948a1b4d68e0c718ac2d9082e5b28640e8afbdbf5e22e04396bc

Interface hash: sha256:c0f8bb123ee3a5de972ca92cbf420c948fc3b5cb80e2361dc74fa11a1f99da1d

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/verify_audit_chain",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "verify_audit_chain"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:6704c43ac0fb77230242e036e99c01c14f7156b11816137328b4ae1d75505356"
}
toolread0.5.40.5.6
verify_audit_hashmnemox-ai-tradememory-protocol:tool:verify_audit_hash
Observed interface and hashes

Verify the integrity of a Trading Decision Record. Recomputes the SHA256 data_hash from stored inputs and compares with the hash computed at decision time. A mismatch indicates tampering.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "trade_id": {
      "description": "Trade ID to verify (e.g., \"MT5-7047640363\").",
      "type": "string"
    }
  },
  "required": [
    "trade_id"
  ],
  "type": "object"
}
sha256:2905baf225143f79f01f845e6746e6afd7a6b9fdecfbf0b5aaa8e5c6cb24e6b6

Output schema

{
  "additionalProperties": true,
  "type": "object"
}
sha256:7751ca245b89acd7d145f5c7b68cb80458b8d38bfe36a965a332f56bc2525a8c

Description hash: sha256:57d6f92fff2058760a97dca64effacbdf7df257b4897123077e2e51a0bbfd6ea

Interface hash: sha256:d837fe54644a285711631b5d4a5ff1607032ea0b7c480d0b17197683b41ec3a1

Other observed Modelara metadata
{
  "id": "mcp:tradememory-protocol/verify_audit_hash",
  "source": {
    "type": "mcp",
    "server": "tradememory-protocol",
    "operation": "verify_audit_hash"
  },
  "declared": {
    "read_only": "true",
    "destructive": "false",
    "idempotent": "true",
    "open_world": "false"
  },
  "safety": {
    "idempotent": "true",
    "retry_safe": "true"
  },
  "metadata": {
    "mcp.annotations": "present"
  },
  "fingerprint": "sha256:c1d6891ed5ce1562a93f67d023f6fb1bb8b2a65ff8ca968b0f4f62897e7df313"
}
toolread0.5.40.5.6

STATIC COMPARISONS

Release history

2 release transitions
  1. 0 added0 removed2 schema0 write0 destructive0 unknown

    Nov 16, 2026· Pending human review

  2. 0 added0 removed0 schema0 write0 destructive0 unknown

    Nov 16, 2026· Automated static analysis