Skip to main content
Glama

OneQAZ Trading Intelligence

get_trade_outcomes_bulk

Read-onlyIdempotent

Purpose: Cursor-paginated bulk export of the prediction -> trade -> outcome chain — paper trades with realized P&L, each linked (best-effort, same-symbol 2h window) to the signal prediction that preceded entry. Built for pipeline consumers who need offline backtesting data, not conversational snippets. Triggers: "give me your full trade history for backtesting", "bulk export trades", "예측이 실제 매매 성과로 이어졌는지 원데이터로 검증하고 싶다", "download outcomes". When to call: offline verification, periodic ingestion into a research pipeline, or auditing whether signals translate into realized outcomes. Prerequisites: none. For the prediction ledger itself use get_resolved_predictions. Next steps: follow next_cursor until has_more=false; get_resolved_predictions to cross-check linked predictions against the tamper-evident ledger. Caveats: linkage is temporal matching, NOT a foreign key (see meta.linkage). Paper trading only — envelope carries the standard disclaimer once per page. Output: full_data { market, trades[] {id, symbol, action, entry/exit price+ts, profit_loss_pct, holding_duration, entry_signal_score, regime fields, policy_version, sizing fields, linked_prediction{...}|null}, count, linked_prediction_count, next_cursor, has_more, meta }.

Args: market: "crypto" (default) / "kr_stock" / "us_stock" cursor: last trade id from previous page (0 = start) limit: page size (max 500) days: exit-time window in days (max 120)

Disclaimer: Information only, not investment advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
limitNo
cursorNo
marketNocrypto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, and the description adds important non-obvious behavior: the linkage is best-effort temporal matching, not a foreign key; paper trading only; a standard disclaimer per page; and pagination requires following next_cursor until has_more=false. No contradiction with annotations.

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

Conciseness4/5

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

The description is structured with clear labels (Purpose, Triggers, When to call, etc.) and stays on-topic, but the detailed 'Output:' block overlaps with the existing output schema, adding length. Still, every section contributes operational guidance, so the redundancy is mild.

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?

For a paginated bulk export with temporal-linkage caveats, the description covers purpose, triggers, parameter limits, pagination mechanics, linkage fidelity, disclaimer behavior, and a next-step cross-check. Output schema exists, but the description still provides enough context for safe offline use.

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?

Schema description coverage is 0%, so the description must carry parameter semantics. The Args section explains market values, cursor semantics as 'last trade id from previous page (0 = start)', limit max 500, and days as exit-time window max 120 — going well beyond the bare schema defaults.

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 opens with a specific verb phrase 'Cursor-paginated bulk export of the prediction -> trade -> outcome chain' and names paper trades with realized P&L, making it distinct from siblings like get_trade_history and get_resolved_predictions. It explicitly says it is for pipeline consumers, not conversational snippets.

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?

It provides explicit trigger phrases, a 'When to call' list (offline verification, periodic ingestion, auditing), and a direct alternative for the prediction ledger via get_resolved_predictions. It also excludes conversational use by saying 'not conversational snippets.'

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.