Skip to main content
Glama

OneQAZ Trading Intelligence

get_performance_metrics

Read-onlyIdempotent

Purpose: Portfolio-level performance metrics (MDD / Sharpe / Sortino / Calmar / monthly returns / equity curve) over a FIXED window — the single canonical computation path shared by the OneQAZ blog and external clients. Triggers (casual questions too): "what's the max drawdown?", "MDD 얼마야?", "샤프 비율 보여줘", "monthly returns table?", "트랙레코드 지표", "에쿼티 커브 데이터". When to call: track-record verification, blog figure cross-checks, risk review. Prerequisites: none. Next steps: get_trade_history for the underlying trades, analyze_trades for breakdowns. Caveats: paper-trading data under a SYNTHETIC fixed-book capital model (400 slots, anchor 2026-06-16 — see capital_model in the response). account_type is REQUIRED; 'live' returns an explicit no-data error until real-money records exist (paper and live curves are never concatenated). Fixed window → same inputs always reproduce the same numbers (as-of verifiable).

Args: market: coin | kr | us | all (aliases crypto/kr_stock/us_stock accepted). 'all' = fixed 1/3 allocation across the three books. account_type: REQUIRED. 'paper' (simulated) or 'live' (real — not yet available). window_start: ISO date (YYYY-MM-DD). Default 2026-06-16 (public track-record anchor). window_end: ISO date. Default today (KST). include_daily_curve: include per-day equity curve rows (default false).

Disclaimer: Information only, not investment advice. Simulated performance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketYes
window_endNo
account_typeYes
window_startNo
include_daily_curveNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A5/5.0
Behavior5/5

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

Even though annotations already declare readOnlyHint, openWorldHint, and idempotentHint, the description adds substantial behavioral context: paper-trading data under a synthetic fixed-book capital model, the requirement for account_type, the behavior of 'live' returning an explicit no-data error, and that the fixed window ensures reproducibility. There is no contradiction with the annotations.

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 long but logically structured with Purpose, Triggers, When to call, Prerequisites, Next steps, Caveats, Args, and Disclaimer. Every section adds distinct value; the length is appropriate for the tool's complexity and the critical caveats about the synthetic capital model.

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

Completeness5/5

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

The description provides a complete operational picture: fixed-window semantics, data source caveats, authentication-like requirement (account_type), reproducibility, and linkage to sibling tools. Given the output schema exists and the description covers all input semantics and edge cases, no critical context is missing.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, but the Args section fully documents all five parameters: market with aliases and the 'all' 1/3 allocation, account_type as required with paper/live semantics, window_start defaulting to 2026-06-16, window_end defaulting to today KST, and include_daily_curve meaning. This entirely compensates for the schema's lack of descriptions.

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?

The description clearly identifies the tool as providing portfolio-level performance metrics (MDD, Sharpe, Sortino, Calmar, monthly returns, equity curve) over a FIXED window, and explicitly states it is the single canonical computation path for OneQAZ blog and external clients. This distinguishes it from sibling tools like get_trade_history and analyze_trades, which cover underlying trades and breakdowns.

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?

The description gives explicit triggers ('what's the max drawdown?', 'MDD 얼마야?'), specific when-to-call scenarios (track-record verification, blog figure cross-checks), prerequisites (none), and next steps (get_trade_history, analyze_trades). It also clarifies exclusions, such as 'live' account returning a no-data error until real records exist.

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.

TDQS

A4.3/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but there are overlapping areas such as get_feature_governance_state vs get_feature_governance_status_tool and the convenience wrappers for losing/winning positions/trades. Descriptions clarify relationships well, so confusion is limited.

Naming Consistency4/5

The vast majority follow a consistent 'get_' prefix with descriptive nouns, but inconsistencies exist: some tools have '_tool' suffix (e.g., get_macro_causality_graph_tool) while similar ones do not, and governance tools use 'state' vs 'status_tool'. Overall, the pattern is predictable.

Tool Count2/5

39 tools is excessive for the apparent scope. Many are redundant convenience wrappers (get_losing_positions, get_winning_trades, etc.) that duplicate filters on other tools, and there are near-duplicate governance tools. The count could be significantly consolidated.

Completeness5/5

The tool surface is remarkably comprehensive, covering signals, trades, predictions, positions, macro relationships, news causality, strategies, structure, governance, and ledger integrity. There are no obvious functional gaps, and the tools form a well-integrated evidence chain.