Skip to main content
Glama
mnemox-ai

TradeMemory Protocol

by mnemox-ai

Get Strategy Performance

get_strategy_performance
Read-onlyIdempotent

Retrieve aggregate performance stats per trading strategy, filtered by symbol or strategy name, to evaluate which strategies work and which need adjustment.

Instructions

Get aggregate performance stats per strategy.

Use this to evaluate which strategies are working and which need adjustment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNoFilter by symbol. Returns all symbols if omitted.
strategy_nameNoFilter by strategy name. Returns all strategies 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 strategies if omitted."
    • addedInput schema / properties / symbol / description
      Added value: +"Filter by symbol. Returns all symbols if omitted."
  2. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety and repeatability profile is fully covered. The description adds only that results are aggregated per strategy, which is modest added value over the structured fields; it says nothing about caching, freshness, or scope of the aggregation.

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, with the core purpose front-loaded before the evaluative use case. Every word earns its place.

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?

With an output schema present, return-value detail is unnecessary, and the two optional filters are covered by the schema. The remaining gap is the absence of any indication of metric coverage (e.g., which stats are aggregated) or comparison semantics, but the definition is adequate for correct invocation.

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%, so both filters (symbol, strategy_name) are already fully documented in the schema, including their default-all behavior. The description adds no syntax or semantics beyond that, so the baseline 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 states a specific verb and resource: 'Get aggregate performance stats per strategy.' An agent immediately knows this returns rolled-up per-strategy metrics. It does not, however, distinguish itself from sibling strategy tools like validate_strategy or evolution_run_backtest, 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 Guidelines3/5

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

'Use this to evaluate which strategies are working and which need adjustment' implies the use case but gives no when-not guidance, no prerequisites, and does not name an alternative tool for related needs. Usage is inferable rather than explicit.

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