Skip to main content
Glama

get_trades_for_strategy

Get trade records for a specific strategy by its ID. Use this when the user asks about trades or performance for a particular named strategy.

Input Schema

NameRequiredDescriptionDefault
limitNo
strategy_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral burden. "Get" implies a read operation, but it does not clarify pagination, limit behavior, return shape, or whether the result is read-only in any explicit way.

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?

The description is two sentences and front-loads the core action before giving usage context. There is no wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and no parameter descriptions in the schema, the definition is thin. It does not explain limit semantics, ordering, pagination, or what trade records are returned.

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

Parameters2/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 explain parameter meaning. It indirectly explains strategy_id as the strategy's ID, but it says nothing about the optional limit parameter.

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 trade records for a specific strategy by ID. It clearly scopes the retrieval to one strategy, though it does not explicitly distinguish itself from siblings like list_trades or get_backtest_trades.

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?

It gives a use case: when the user asks about trades or performance for a named strategy. However, it does not name alternatives or exclusions, and mentioning "performance" may overlap with evaluate_strategy.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.