Skip to main content
Glama
mnemox-ai

TradeMemory Protocol

by mnemox-ai

Get Behavioral Analysis

get_behavioral_analysis
Read-onlyIdempotent

Analyze trading behavior from procedural memory: returns hold times, disposition ratio, lot sizing variance, and Kelly criterion comparison to reveal biases.

Instructions

Get behavioral analysis from procedural memory.

Returns aggregate trading behavior stats: hold times, disposition ratio, lot sizing variance, and Kelly criterion comparison.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNoFilter by symbol. Returns all if omitted.
strategy_nameNoFilter by strategy name. Returns all if omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.4
    • addedInput schema / properties / strategy_name / description
      Added value: +"Filter by strategy name. Returns all if omitted."
    • addedInput schema / properties / symbol / description
      Added value: +"Filter by symbol. Returns all if omitted."
  2. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered. The description adds the useful facts that data comes from procedural memory and is pre-aggregated rather than raw trades, but says nothing about computation timing, latency, or whether results are recomputed on call.

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?

Two short sentences with the core action front-loaded and the returned metrics listed compactly. Slightly redundant with the title, and the return-value enumeration duplicates what an output schema presumably already carries.

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?

An output schema exists, so the return enumeration is more than strictly necessary, and annotations handle safety. The remaining gap is routing: with many sibling read/analysis tools, the description never says when this is the right call versus get_strategy_performance or get_trade_reflection.

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?

Schema description coverage is 100% and both optional filter parameters (symbol, strategy_name) are documented in the schema, including the 'returns all if omitted' semantics. The description adds no parameter detail beyond the schema, so the baseline of 3 is correct.

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+resource ('get behavioral analysis from procedural memory') and enumerates the aggregate outputs (hold times, disposition ratio, lot sizing variance, Kelly criterion). It is distinguishable from generic siblings, but it never explicitly contrasts itself with close alternatives such as get_strategy_performance or get_trade_reflection.

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

Usage Guidelines2/5

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

The description contains no when-to-use guidance, no prerequisites, and no named alternatives. An agent must infer that this tool is for post-hoc behavioral diagnostics rather than performance review, which is exactly the gap that sibling tools get_strategy_performance and get_trade_reflection occupy.

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