Skip to main content
Glama

remember_trade

Store trading data with automatic updates to episodic, semantic, procedural, and affective memory layers for performance analysis and strategy improvement.

Instructions

Store a trade into OWM multi-layer memory with automatic updates.

Writes to episodic memory and automatically updates semantic (Bayesian), procedural (running averages), and affective (EWMA confidence/streaks). Also writes to trade_records for backward compatibility.

Args: symbol: Trading instrument (e.g. "XAUUSD") direction: "long" or "short" entry_price: Entry price of the trade exit_price: Exit price of the trade pnl: Profit/loss in account currency strategy_name: Strategy used (e.g. "VolBreakout") market_context: Description of market conditions pnl_r: P&L as R-multiple (risk units). Improves OWM scoring quality. context_regime: Market regime (trending_up/trending_down/ranging/volatile) context_atr_d1: ATR(14) on D1 in dollars confidence: Agent confidence level 0-1 (default 0.5) reflection: Lessons learned from this trade max_adverse_excursion: Maximum adverse excursion during the trade trade_id: Optional custom ID. Auto-generated if omitted. timestamp: ISO format timestamp. Defaults to now (UTC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
directionYes
entry_priceYes
exit_priceYes
pnlYes
strategy_nameYes
market_contextYes
pnl_rNo
context_regimeNo
context_atr_d1No
confidenceNo
reflectionNo
max_adverse_excursionNo
trade_idNo
timestampNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden and does well by explaining the tool's behavior: it's a write operation ('Writes to episodic memory'), has automatic updates to multiple memory layers, includes backward compatibility, and mentions default values (e.g., confidence default 0.5, timestamp defaults to now). It lacks details on error handling or rate limits, but covers core behavioral traits adequately.

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 appropriately sized and front-loaded with the core purpose in the first sentence. The parameter explanations are detailed but necessary given the 0% schema coverage. Some redundancy exists (e.g., repeating 'default' info), but overall it's well-structured with clear sections.

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?

Given the tool's complexity (15 parameters, write operation, no annotations), the description is highly complete: it explains the tool's purpose, behavior, and all parameters in detail. The presence of an output schema means return values need not be explained, and the description adequately covers the input semantics and operational context.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate fully. It provides detailed semantic explanations for all 15 parameters, including examples (e.g., 'XAUUSD'), clarifications (e.g., 'long' or 'short'), purposes (e.g., 'Improves OWM scoring quality'), and default behaviors (e.g., 'Auto-generated if omitted'). This adds significant value beyond the bare schema.

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?

The description clearly states the specific action ('Store a trade') and resource ('OWM multi-layer memory'), and distinguishes it from sibling tools by specifying it writes to episodic memory and automatically updates semantic, procedural, and affective layers, plus backward compatibility to trade_records. This is more specific than generic storage tools like store_trade_memory.

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

Usage Guidelines3/5

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

The description implies usage context through the parameter explanations (e.g., 'Improves OWM scoring quality'), but does not explicitly state when to use this tool versus alternatives like store_trade_memory or recall_similar_trades. No explicit when-not-to-use guidance or prerequisites are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mnemox-ai/tradememory-protocol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server