Skip to main content
Glama
mnemox-ai

TradeMemory Protocol

by mnemox-ai

Check Active Plans

check_active_plans
Idempotent

Validate active trading plans against current market context, expire stale entries, and match remaining strategies using regime and ATR data.

Instructions

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

TableJSON Schema
NameRequiredDescriptionDefault
context_atr_d1NoCurrent ATR(14) on D1 in dollars
context_regimeNoCurrent market regime (trending_up/trending_down/ranging/volatile)

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 / context_atr_d1 / description
      Added value: +"Current ATR(14) on D1 in dollars"
    • addedInput schema / properties / context_regime / description
      Added value: +"Current market regime (trending_up/trending_down/ranging/volatile)"
  2. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and the description usefully explains why it is not a pure read: it expires plans past their expiry date, a side effect the annotations alone do not spell out. It also clarifies the scope of the write (only plans past expiry) and that matching is done against supplied context, though it does not state what happens to plans whose context fields are null.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, and the operational steps are front-loaded immediately after the one-line purpose statement.

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?

An output schema exists, so return values need not be explained, and the mutation semantics are covered. The remaining gap is that both parameters are optional yet the description never says how the tool behaves when context is omitted, which matters for a matching operation.

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 context parameters (context_atr_d1, context_regime) are documented in the schema with units and an enum-like value list. The description only refers generically to 'the provided context', adding no format or defaulting meaning beyond the schema, so the baseline of 3 applies.

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?

The description gives a specific verb and resource ('Check active trading plans') and then breaks the operation into its three concrete steps: query active prospective plans, expire stale ones, and match against context. It is clearly distinguishable from the read-only siblings like get_strategy_performance, though it never names an alternative tool directly.

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?

Usage is implied by the described lifecycle (query, expire, match), which suggests this is a periodic maintenance/validation call, but there is no explicit statement of when to invoke it versus create_trading_plan or validate_strategy, and no prerequisites or exclusions are given.

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