Skip to main content
Glama
hamzafaiz17

TradeZylo MCP Server

by hamzafaiz17

get_edge_by_market

Compare trading edge and profitability by market type: Forex, Crypto, Stocks, Futures, PSX. Returns win rate, avg PnL, profit factor, and trade count per asset class.

Instructions

[ASSET CLASS & MARKET EDGE] Compare trading edge and profitability broken down by market type: Forex vs Crypto vs Stocks vs Futures vs PSX. Returns win rate, average PnL, profit factor, and trade count per asset class.

Best for: Evaluating which market/asset class is most profitable. NOT for: Long vs Short trade direction (use get_edge_by_direction instead!).

Example questions:

  • "Which market is my most profitable — Forex, Crypto, or Stocks?"

  • "Meri crypto trades forex se behtar hain ya buri?"

  • "Where do I have the strongest trading edge across different markets?"

  • "Should I stop trading crypto and focus only on forex?"

  • "Show my win rate and profit factor by asset class"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoAccount name (e.g. "FTMO 2 Step", "01") or account ID to filter by
date_toNoISO date YYYY-MM-DD — end of analysis window
date_fromNoISO date YYYY-MM-DD — start of analysis window
account_idNoLimit analysis to a specific account ID directly
market_typeNoFilter by market: FOREX, CRYPTO, STOCKS, FUTURES

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden; it does disclose the return fields (win rate, average PnL, profit factor, trade count). However, it omits any auth/permission notes, whether the read is scoped to an account by default, or how multi-account aggregation behaves, leaving meaningful gaps for a no-annotation tool.

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

Conciseness3/5

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

The header plus 'Best for/NOT for' structure is well front-loaded, but five example questions (including one in Hindi/Urdu) are surplus and border on padding. Core content is efficient; the example block is bloated.

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 no output schema, the description appropriately enumerates the returned metrics and all parameters are optional/covered, so an agent can call it correctly. It lacks only minor details such as default date-window behavior when date_from/date_to are omitted.

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 the five parameters are already documented in the schema, establishing a baseline of 3. The description adds little parameter-level meaning, and its market list ('PSX') even diverges from the schema enum values (FOREX, CRYPTO, STOCKS, FUTURES), a minor inconsistency.

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?

States a specific verb ('Compare trading edge and profitability') and resource ('broken down by market type: Forex vs Crypto vs Stocks vs Futures vs PSX'), then names returned metrics. It explicitly differentiates itself from the sibling get_edge_by_direction.

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

Usage Guidelines5/5

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

Provides explicit 'Best for' and 'NOT for' sections, routing the agent to get_edge_by_direction for trade-direction questions. The when-to-use vs when-not-to-use distinction is unambiguous.

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